Closed pip010 closed 7 years ago
you have to run make
in ./src/myProject
Thanks, that did it. But running then 'make upload' from same dir produces:
/usr/bin/avrdude -q -V -p atmega328p -C /usr/../avrdude.conf -D -c arduino -b 115200 -P /dev/ttyUSB0 \
-U flash:w:/home/ppetrov/Documents/arduiono_example/bin/FooProject/uno/FooProject.hex:i
avrdude: can't open config file "/usr/../avrdude.conf": No such file or directory
I fixed it manually, by pointing to /etc/avrdude.conf still my board times out when flashed, not sure whether I need different .conf file for this specific board 'BQ ZUM Core'.
yeah, i've seen this error with avrdude before. sometimes it happens on linux and people need to fix it by hand.
I don't use linux so I can't help, but you might find something here: https://github.com/sudar/Arduino-Makefile/issues?utf8=%E2%9C%93&q=avrdude%20conf
Same issue on Ubuntu 16.04. Just add this to the Makefile:
AVRDUDE_CONF = /etc/avrdude.conf
If I follow the instruction.md correctly you end up with a project root folder with Makefile and /src /lib /bin subfolders. However running make gives this:
which makes sense since no source file in project root, did I miss something?