You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Arduino IDE 1.0.1 with it's libraries on Linux and Arduino with ATMEGA8 microcontroller.
Compiling example sketch (https://github.com/suapapa/arscons/blob/master/arscons.ino) with Arduino IDE for ATMEGA8 is okay, compiling for ATMEGA328P with scons is okay too, but if I execute "scons ARDUINO_BOARD=atmega8", I get this:
scons: Reading SConscript files ...
{ 'ARDUINO_BOARD': ('arg', 'atmega8'),
'ARDUINO_HOME': ('dfl', '/usr/share/arduino/'),
'ARDUINO_PORT': ('dfl', None),
'ARDUINO_VER': ('dfl', 0),
'AVR_HOME': ('dfl', ''),
'EXTRA_LIB': ('dfl', None),
'RST_TRIGGER': ('dfl', None),
'SKETCHBOOK_HOME': ('dfl', '/home/golovin/share/arduino/sketchbook/')}
No Arduino version specified. Discovered version 100 or above
maximum size for hex file: 7168 bytes
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/local build
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=atmega8 -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/usr/share/arduino/hardware/arduino/variants/standard build/core/CDC.cpp
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=atmega8 -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/usr/share/arduino/hardware/arduino/variants/standard build/core/HID.cpp
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=atmega8 -DARDUINO=100 -DF_CPU=16000000L -Ibuild/core -I/usr/share/arduino/hardware/arduino/variants/standard build/core/HardwareSerial.cpp
build/core/HardwareSerial.cpp:93:11: error: attempt to use poisoned "SIG_UART_RECV"
build/core/HardwareSerial.cpp:94:4: error: #error "Don't know what the Data Received vector is called for the first UART"
build/core/HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
build/core/HardwareSerial.cpp:82:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
build/core/HardwareSerial.cpp: In member function 'virtual size_t HardwareSerial::write(uint8_t)':
build/core/HardwareSerial.cpp:390:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scons: *** [build/core/HardwareSerial.o] Error 1
scons: building terminated because of errors.
Looks like errors in Arduino libraries, but it's okay, when using Arduino IDE. Don't know how to fix it.
The text was updated successfully, but these errors were encountered:
I have Arduino IDE 1.0.1 with it's libraries on Linux and Arduino with ATMEGA8 microcontroller.
Compiling example sketch (https://github.com/suapapa/arscons/blob/master/arscons.ino) with Arduino IDE for ATMEGA8 is okay, compiling for ATMEGA328P with scons is okay too, but if I execute "scons ARDUINO_BOARD=atmega8", I get this:
Looks like errors in Arduino libraries, but it's okay, when using Arduino IDE. Don't know how to fix it.
The text was updated successfully, but these errors were encountered: