Skip to content

Instantly share code, notes, and snippets.

@johnhamelink
Created July 9, 2012 08:33
Show Gist options
  • Save johnhamelink/2a2af208732508c91b63 to your computer and use it in GitHub Desktop.
Save johnhamelink/2a2af208732508c91b63 to your computer and use it in GitHub Desktop.
john at Johns-iMac in ~/Sites/arduino/arscons (master)
$ scons
scons: Reading SConscript files ...
{ 'ARDUINO_BOARD': ('dfl', 'atmega328'),
'ARDUINO_HOME': ( 'dfl',
'/Applications/Arduino.app/Contents/Resources/Java'),
'ARDUINO_PORT': ('dfl', '/dev/tty.usbserial-A4013HZZ'),
'ARDUINO_VER': ('dfl', 0),
'AVR_HOME': ( 'dfl',
'/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin'),
'EXTRA_LIB': ('dfl', None),
'RST_TRIGGER': ('dfl', None),
'SKETCHBOOK_HOME': ('dfl', '')}
No Arduino version specified. Discovered version 100 or above
maximum size for hex file: 30720 bytes
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/local build
fnProcessing(["build/arscons.cpp"], ["build/arscons.ino"])
/Users/john/Sites/arduino/arscons/arscons.ino arscons
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/arscons.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/arscons.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/CDC.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/CDC.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/HID.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/HID.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/HardwareSerial.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/HardwareSerial.cpp
build/core/HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
build/core/HardwareSerial.cpp:82: warning: comparison between signed and unsigned integer expressions
build/core/HardwareSerial.cpp: In member function 'virtual size_t HardwareSerial::write(uint8_t)':
build/core/HardwareSerial.cpp:390: warning: comparison between signed and unsigned integer expressions
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/IPAddress.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/IPAddress.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/Print.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/Print.cpp
build/core/Print.cpp: In member function 'size_t Print::print(const __FlashStringHelper*)':
build/core/Print.cpp:44: warning: '__progmem__' attribute ignored
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/Stream.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/Stream.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/Tone.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/Tone.cpp
build/core/Tone.cpp:108: warning: only initialized variables can be placed into program memory area
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/USBCore.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/USBCore.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -o build/core/WInterrupts.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -std=gnu99 -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/WInterrupts.c
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/WMath.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/WMath.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/WString.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/WString.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -o build/core/new.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/new.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -o build/core/wiring.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -std=gnu99 -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/wiring.c
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -o build/core/wiring_analog.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -std=gnu99 -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/wiring_analog.c
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -o build/core/wiring_digital.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -std=gnu99 -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/wiring_digital.c
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -o build/core/wiring_pulse.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -std=gnu99 -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/wiring_pulse.c
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -o build/core/wiring_shift.o -c -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -std=gnu99 -ffunction-sections -fdata-sections -fno-exceptions -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -Wall -mmcu=atmega328p -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard build/core/wiring_shift.c
fnCompressCore(["build/core.a"], ["build/core/CDC.o", "build/core/HardwareSerial.o", "build/core/HID.o", "build/core/IPAddress.o", "build/core/new.o", "build/core/Print.o", "build/core/Stream.o", "build/core/Tone.o", "build/core/USBCore.o", "build/core/WInterrupts.o", "build/core/wiring.o", "build/core/wiring_analog.o", "build/core/wiring_digital.o", "build/core/wiring_pulse.o", "build/core/wiring_shift.o", "build/core/WMath.o", "build/core/WString.o"])
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/CDC.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/HardwareSerial.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/HID.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/IPAddress.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/new.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/Print.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/Stream.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/Tone.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/USBCore.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/WInterrupts.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/wiring.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/wiring_analog.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/wiring_digital.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/wiring_pulse.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/wiring_shift.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/WMath.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-ar rcs build/core.a build/core/WString.o
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -mmcu=atmega328p -Os -Wl,--gc-sections -lm -o arscons.elf build/arscons.o build/core.a -lc
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom arscons.elf arscons.hex
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-size --target=ihex arscons.hex
text data bss dec hex filename
0 1082 0 1082 43a arscons.hex
scons: done building targets.
john at Johns-iMac in ~/Sites/arduino/arscons (master)
$ scons upload
scons: Reading SConscript files ...
{ 'ARDUINO_BOARD': ('dfl', 'atmega328'),
'ARDUINO_HOME': ( 'dfl',
'/Applications/Arduino.app/Contents/Resources/Java'),
'ARDUINO_PORT': ('dfl', '/dev/tty.usbserial-A4013HZZ'),
'ARDUINO_VER': ('dfl', 0),
'AVR_HOME': ( 'dfl',
'/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin'),
'EXTRA_LIB': ('dfl', None),
'RST_TRIGGER': ('dfl', None),
'SKETCHBOOK_HOME': ('dfl', '')}
No Arduino version specified. Discovered version 100 or above
maximum size for hex file: 30720 bytes
scons: done reading SConscript files.
scons: Building targets ...
pulseDTR(["upload"], ["arscons.hex"])
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -V -F -c arduino -b 57600 -p atmega328p -P /dev/tty.usbserial-A4013HZZ -U flash:w:arscons.hex -C /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
scons: *** [upload] Error 1
scons: building terminated because of errors.
john at Johns-iMac in ~/Sites/arduino/arscons (master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment