WARNING_OPTIONS = unused-variable unused-function unused-label unused-value
Remember, warnings are warnings, not errors.
The [font=Courier]all[/font] option usually generates a very long list of warning messages, making the analysis difficult if not impossible. Moreover, only the 200 first messages are displayed.The solution consists on selecting a scope and targeting specific warnings.
The solution consists on selecting a scope and targeting specific warnings.
---- Size ----Binary sketch size: 21028 bytes (of a 28672 byte maximum)Estimated SRAM used: 1385 bytes (of a 2560 byte maximum)Elapsed time: 0.8 s---- Reset ---- screen -X killNo screen session found.make: [reset] Error 1 (ignored)sleep 19.2-RESET: < leonardo ./ ./ stty -f /dev/tty.usbmodem14644111 1200sleep 2---- Upload ---- 9.3-UPLOAD: < leonardo ./ /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -D -patmega32u4 -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -cavr109 -b57600 -P/dev/tty.usbmodem14644111 -Uflash:w:Builds/embeddedcomputing.hex:iConnecting to programmer: .avrdude: butterfly_recv(): programmer is not respondingmake: *** [raw_upload] Error 1Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exi
I don't have any other Arduinos plugged into the serial ports. I'm using EmbedXcode+ 137. I have not problem uploading to the Leonardo with the Arduino IDE (v1.05)
I'm trying to upload to a Leonardo, but xcode doesn't see it.
Serial ports in the Leonardo are tricky. See Guide to the Arduino Leonardo and Micro for more details.
The problem with the Leonardo board is the way Serial ports are managed through USB. The latency you describe is caused by the operating system that needs to re-enumerate the USB devices. What version of Mac OS X do you have?