0

I followed the instructions in here, including to use arduino IDE v 1.0.5, but when I tried to make upload it stuck. I can upload it when using Arduino IDE.

Here is what I got:

  mkdir -p /Users/bagustrihatmaja/Documents/Projects/MyAwesomeProject/bin/mega328/mySecondProject
 /Applications/Xcode.app/Contents/Developer/usr/bin/make reset
 /Users/bagustrihatmaja/Documents/Projects/MyAwesomeProject/Arduino-Makefile/bin/ard-reset-arduino  /dev/cu.usbmodem1421
 /Applications/Xcode.app/Contents/Developer/usr/bin/make do_upload
 /usr/local/bin/avrdude -q -V -D -p atmega328p -c arduino -b 57600 -P /dev/cu.usbmodem1421 \
        -U flash:w:/Users/bagustrihatmaja/Documents/Projects/MyAwesomeProject/bin/mega328/mySecondProject/mySecondProject.hex:i

What did I miss?

I use: Bare-Arduino-Project, OSX 10.10, XCode 6.1, Arduino Uno, my Makefile

2

I'm the maintainer of the Bare-Arduino-Project, thanks for using it :)

Have you installed pyserial and avrdude?

To install avrdude just run brew install avrdude and to install pyserial, you need python installed, then you can run pip install pyserial.

https://github.com/WeAreLeka/Bare-Arduino-Project/blob/master/INSTALL.md#3-install-pyserial

Hope it helps :)

Next time, feel free to open an issue in the Github repo as it might also help others.

EDIT: my bad, I did not read your Makefile carefully!

the problem is with:

BOARD_TAG         = mega328
# it should be
BOARD_TAG         = uno

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.