What steps will reproduce the problem?
1. Download Arduino IDE nightly
2. Install arduino-tiny hardware
3. Install BasicSerial library
(http://nerdralph.blogspot.ca/2013/12/writing-avr-assembler-code-with-arduino.ht
ml)
4. Add BasicSerial to minimal sketch.
5. Verify
What is the expected output?
BasicSerial library will compile.
What do you see instead?
/home/colinmc/Desktop/arduino-nightly/hardware/tools/avr/bin/avr-g++ -c -g -Os
-w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny2313
-DF_CPU=1000000L -DARDUINO=10600 -DARDUINO_AVR_ATTINY2313AT1 -DARDUINO_ARCH_AVR
-I/home/colinmc/Arduino/hardware/tiny/avr/cores/tiny
-I/home/colinmc/Arduino/libraries/BasicSerial
/tmp/build3549687536994922447.tmp/sketch_jan22a.cpp -o
/tmp/build3549687536994922447.tmp/sketch_jan22a.cpp.o
/home/colinmc/Desktop/arduino-nightly/hardware/tools/avr/bin/avr-gcc -c -g -x
-assembler-with-cpp -mmcu=attiny2313 -DF_CPU=1000000L -DARDUINO=10600
-DARDUINO_AVR_ATTINY2313AT1 -DARDUINO_ARCH_AVR
-I/home/colinmc/Arduino/hardware/tiny/avr/cores/tiny
-I/home/colinmc/Arduino/libraries/BasicSerial
-I/home/colinmc/Arduino/libraries/BasicSerial/utility
/home/colinmc/Arduino/libraries/BasicSerial/BasicSerial.S -o
/tmp/build3549687536994922447.tmp/BasicSerial/BasicSerial.S.o
avr-gcc: error: language -assembler-with-cpp not recognized
avr-gcc: error: language -assembler-with-cpp not recognized
What version of the product are you using? On what operating system?
Arduino 1.6 nightly build 22 Jan 2015
Ubuntu 14.04
arduino-tiny-0150-0020.zip
Please provide any additional information below.
Tried adding "-x" to arduino-tiny's platform.txt, does not help.
Compiling with other boards (ATMEGA328 for example) works fine. Only fails to
compile on any board supported by arduino-tiny.
Original issue reported on code.google.com by jabrwo...@gmail.com on 22 Jan 2015 at 4:48
Original issue reported on code.google.com by
jabrwo...@gmail.com
on 22 Jan 2015 at 4:48