KurtE
Senior Member+
I know that parts of this have been discussed in a few different threads, but it would be nice if there was a simple fix that was part of the system and did not require other work a rounds.
Arduino 1.0.5, 1.20rc2...
Simple Program:
You try to compile for Teensy 3.1 and it gives you an error:
I know that on other threads, a solution to specific library was to create your own printf function, that uses sprintf, to a buffer and then do a Serial.print of that buffer, but would be nice if you did not have to do that.
Arduino 1.0.5, 1.20rc2...
Simple Program:
Code:
void setup() {
Serial.begin(38400);
}
void loop() {
printf("Hello World");
delay(250);
}
You try to compile for Teensy 3.1 and it gives you an error:
Code:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.5 (Windows 7), Board: "Teensy 3.1"
c:/program files (x86)/arduino/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-writer.o): In function `_write_r':
writer.c:(.text+0x16): undefined reference to `_write'
collect2.exe: error: ld returned 1 exit status
I know that on other threads, a solution to specific library was to create your own printf function, that uses sprintf, to a buffer and then do a Serial.print of that buffer, but would be nice if you did not have to do that.