Skip to content

Instantly share code, notes, and snippets.

@mwilliams
Created September 1, 2008 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwilliams/8242 to your computer and use it in GitHub Desktop.
Save mwilliams/8242 to your computer and use it in GitHub Desktop.
iMac:hello_world development$ rake make:upload
(in /Users/development/Documents/Arduino/hello_world)
/Users/development/Documents/Arduino/hello_world/vendor/rad/init.rb:8: warning: already initialized constant PLUGIN_C_VAR_TYPES
rm /Users/development/Documents/Arduino/hello_world/hello_world/core.a
rm /Users/development/Documents/Arduino/hello_world/hello_world/hello_world.elf
rm /Users/development/Documents/Arduino/hello_world/hello_world/hello_world.hex
rm /Users/development/Documents/Arduino/hello_world/hello_world/Makefile
1 of 14 plugins are being loaded: blink.rb
cd /Users/development/Documents/Arduino/hello_world/hello_world; make depend; make
if grep '^# DO NOT DELETE' Makefile >/dev/null; \
then \
sed -e '/^# DO NOT DELETE/,$d' Makefile > \
Makefile.$$ && \
mv -f Makefile.$$ Makefile; \
fi
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' \
>> Makefile; \
/Applications/arduino-0011/hardware/tools/avr/bin/avr-gcc -M -mmcu=atmega8 -DF_CPU=16000000 -I/Applications/arduino-0011/hardware/cores/arduino -I/Applications/arduino-0011/hardware/libraries/SoftwareSerial /Applications/arduino-0011/hardware/cores/arduino/pins_arduino.c /Applications/arduino-0011/hardware/cores/arduino/wiring.c /Applications/arduino-0011/hardware/cores/arduino/wiring_analog.c /Applications/arduino-0011/hardware/cores/arduino/wiring_digital.c /Applications/arduino-0011/hardware/cores/arduino/wiring_pulse.c /Applications/arduino-0011/hardware/cores/arduino/wiring_serial.c /Applications/arduino-0011/hardware/cores/arduino/wiring_shift.c /Applications/arduino-0011/hardware/cores/arduino/WInterrupts.c >> Makefile
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/pins_arduino.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/wiring.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/wiring_analog.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/wiring_digital.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/wiring_pulse.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/wiring_serial.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/wiring_shift.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/WInterrupts.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/cores/arduino/HardwareSerial.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-ar rcs core.a /Applications/arduino-0011/hardware/libraries/SoftwareSerial/SoftwareSerial.o
/Applications/arduino-0011/hardware/tools/avr/bin/avr-gcc -mmcu=atmega8 -I. -gstabs -DF_CPU=16000000 -I/Applications/arduino-0011/hardware/cores/arduino -I/Applications/arduino-0011/hardware/libraries/SoftwareSerial -Os -Wall -Wstrict-prototypes -std=gnu99 -o hello_world.elf hello_world.cpp -L. core.a -lm
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
In file included from /Applications/arduino-0011/hardware/cores/arduino/WProgram.h:6,
from hello_world.cpp:4:
/Applications/arduino-0011/hardware/tools/avr/bin/../lib/gcc/avr/4.0.2/../../../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
/Applications/arduino-0011/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom hello_world.elf hello_world.hex
Reset the Arduino and hit enter.
==If your board doesn't need it, you can turn off this prompt in config/software.yml==
cd /Users/development/Documents/Arduino/hello_world/hello_world; make upload
/Applications/arduino-0011/hardware/tools/avr/bin/avrdude -F -p atmega8 -P /dev/tty.usbserial* -c stk500 -b 19200 -C /Applications/arduino-0011/hardware/tools/avr/etc/avrdude.conf -U flash:w:hello_world.hex
avrdude: successfully opened stk500v1 device -- please use -c stk500v1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9307
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "hello_world.hex"
avrdude: input file hello_world.hex auto detected as Intel Hex
avrdude: writing flash (1052 bytes):
Writing | ################################################## | 100% 1.07s
avrdude: 1052 bytes of flash written
avrdude: verifying flash memory against hello_world.hex:
avrdude: load data flash data from input file hello_world.hex:
avrdude: input file hello_world.hex auto detected as Intel Hex
avrdude: input file hello_world.hex contains 1052 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.07s
avrdude: verifying ...
avrdude: 1052 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment