{"action":"created","issue":{"url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/447","repository_url":"https://api.github.com/repos/sudar/Arduino-Makefile","labels_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/447/comments","events_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/447/events","html_url":"https://github.com/sudar/Arduino-Makefile/issues/447","id":169763421,"number":447,"title":"user defined AVR_TOOLS_DIR and AVRDUDE_CONF","user":{"login":"tizziano","id":17947022,"avatar_url":"https://avatars.githubusercontent.com/u/17947022?v=3","gravatar_id":"","url":"https://api.github.com/users/tizziano","html_url":"https://github.com/tizziano","followers_url":"https://api.github.com/users/tizziano/followers","following_url":"https://api.github.com/users/tizziano/following{/other_user}","gists_url":"https://api.github.com/users/tizziano/gists{/gist_id}","starred_url":"https://api.github.com/users/tizziano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tizziano/subscriptions","organizations_url":"https://api.github.com/users/tizziano/orgs","repos_url":"https://api.github.com/users/tizziano/repos","events_url":"https://api.github.com/users/tizziano/events{/privacy}","received_events_url":"https://api.github.com/users/tizziano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-06T19:45:44Z","updated_at":"2016-08-06T21:40:27Z","closed_at":null,"body":"If I define AVR_TOOLS_DIR=/usr in order to use the avr compiler from the package installed in my XUbuntu 16.04 system, I can't upload my sketch because AVRDUDE_CONF is not calculated correctly.\r\n\r\nHere is the error I get from avrdude:  \r\n`avrdude: can't open config file \"/usr/etc/avrdude.conf\": No such file or directory`\r\n`avrdude: error reading system wide configuration file \"/usr/etc/avrdude.conf\"`\r\n\r\nI have solved defining also AVRDUDE_CONF=/etc/avrdude.conf and all works fine.  \r\n"},"comment":{"url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/comments/238050251","html_url":"https://github.com/sudar/Arduino-Makefile/issues/447#issuecomment-238050251","issue_url":"https://api.github.com/repos/sudar/Arduino-Makefile/issues/447","id":238050251,"user":{"login":"sej7278","id":817564,"avatar_url":"https://avatars.githubusercontent.com/u/817564?v=3","gravatar_id":"","url":"https://api.github.com/users/sej7278","html_url":"https://github.com/sej7278","followers_url":"https://api.github.com/users/sej7278/followers","following_url":"https://api.github.com/users/sej7278/following{/other_user}","gists_url":"https://api.github.com/users/sej7278/gists{/gist_id}","starred_url":"https://api.github.com/users/sej7278/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sej7278/subscriptions","organizations_url":"https://api.github.com/users/sej7278/orgs","repos_url":"https://api.github.com/users/sej7278/repos","events_url":"https://api.github.com/users/sej7278/events{/privacy}","received_events_url":"https://api.github.com/users/sej7278/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T21:40:27Z","updated_at":"2016-08-06T21:40:27Z","body":"you shouldn't need to define any of that manually (and you're setting them wrong too), this should be all you need:\r\n\r\n```make\r\nBOARD_TAG = leonardo\r\nMONITOR_PORT = /dev/ttyACM0\r\ninclude /usr/share/arduino/Arduino.mk\r\n```\r\n"}}
{"actor":{"display_login":"sej7278"}}