pictographer
Well-known member
I have a couple of lighting installations that are physically inconvenient to update. I never did manage to port the Teensy CLI loader to OpenWrt Linux for the host commanding the Teensy. Figured based on this post that a Raspberry Pi Zero W might be easier.
Installed Arduino 1.8.8 with Teensyduino 1.45. Have not yet physically connected a Teensy to the RPi. Tried to compile the default sketch.
Selected Tools > Board: "Teensy 3.2 / 3.1".
Ran Sketch > Verify/Compile
Got the following errors:
Installed Arduino 1.8.8 with Teensyduino 1.45. Have not yet physically connected a Teensy to the RPi. Tried to compile the default sketch.
Code:
void setup() { // put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Selected Tools > Board: "Teensy 3.2 / 3.1".
Ran Sketch > Verify/Compile
Got the following errors:
Code:
In file included from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:34:0, from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/wiring.h:38,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/WProgram.h:45,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/Arduino.h:6,
from /tmp/arduino_build_415975/sketch/sketch_mar13a.ino.cpp:1:
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:764:12: error: operator '==' has no left operand
#if (F_CPU == 256000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:771:14: error: operator '==' has no left operand
#elif (F_CPU == 240000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:779:14: error: operator '==' has no left operand
#elif (F_CPU == 216000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:787:14: error: operator '==' has no left operand
#elif (F_CPU == 192000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:795:14: error: operator '==' has no left operand
#elif (F_CPU == 180000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:802:14: error: operator '==' has no left operand
#elif (F_CPU == 168000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:806:14: error: operator '==' has no left operand
#elif (F_CPU == 144000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:813:14: error: operator '==' has no left operand
#elif (F_CPU == 120000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:820:14: error: operator '==' has no left operand
#elif (F_CPU == 96000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:827:14: error: operator '==' has no left operand
#elif (F_CPU == 72000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:834:14: error: operator '==' has no left operand
#elif (F_CPU == 48000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:842:14: error: operator '==' has no left operand
#elif (F_CPU == 24000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:846:14: error: operator '==' has no left operand
#elif (F_CPU == 16000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:850:14: error: operator '==' has no left operand
#elif (F_CPU == 8000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:854:14: error: operator '==' has no left operand
#elif (F_CPU == 4000000)
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:858:14: error: operator '==' has no left operand
#elif (F_CPU == 2000000)
^
In file included from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:34:0,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/wiring.h:38,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/WProgram.h:45,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/Arduino.h:6,
from /tmp/arduino_build_415975/sketch/sketch_mar13a.ino.cpp:1:
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/kinetis.h:5736:41: error: operator '&&' has no right operand
#if defined(HAS_KINETIS_HSRUN) && F_CPU > 120000000
^
In file included from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:35:0,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/wiring.h:38,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/WProgram.h:45,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/Arduino.h:6,
from /tmp/arduino_build_415975/sketch/sketch_mar13a.ino.cpp:1:
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/pins_arduino.h:260:11: error: operator '>=' has no left operand
#if F_CPU >= 20000000 && !defined(USB_DISABLED)
^
In file included from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/wiring.h:38:0,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/WProgram.h:45,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/Arduino.h:6,
from /tmp/arduino_build_415975/sketch/sketch_mar13a.ino.cpp:1:
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2026:11: error: operator '==' has no left operand
#if F_CPU == 256000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2028:13: error: operator '==' has no left operand
#elif F_CPU == 240000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2030:13: error: operator '==' has no left operand
#elif F_CPU == 216000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2032:13: error: operator '==' has no left operand
#elif F_CPU == 192000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2034:13: error: operator '==' has no left operand
#elif F_CPU == 180000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2036:13: error: operator '==' has no left operand
#elif F_CPU == 168000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2038:13: error: operator '==' has no left operand
#elif F_CPU == 144000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2040:13: error: operator '==' has no left operand
#elif F_CPU == 120000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2042:13: error: operator '==' has no left operand
#elif F_CPU == 96000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2044:13: error: operator '==' has no left operand
#elif F_CPU == 72000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2046:13: error: operator '==' has no left operand
#elif F_CPU == 48000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2048:13: error: operator '==' has no left operand
#elif F_CPU == 24000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2050:13: error: operator '==' has no left operand
#elif F_CPU == 16000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2052:13: error: operator '==' has no left operand
#elif F_CPU == 8000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2054:13: error: operator '==' has no left operand
#elif F_CPU == 4000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2056:13: error: operator '==' has no left operand
#elif F_CPU == 2000000
^
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/core_pins.h:2063:11: error: operator '<' has no left operand
#if F_CPU < 24000000
^
In file included from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/WProgram.h:54:0,
from /home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/Arduino.h:6,
from /tmp/arduino_build_415975/sketch/sketch_mar13a.ino.cpp:1:
/home/pi/arduino-1.8.8/hardware/teensy/avr/cores/teensy3/usb_serial.h:40:11: error: operator '>=' has no left operand
#if F_CPU >= 20000000 && !defined(USB_DISABLED)
^
Error compiling for board Teensy 3.2 / 3.1.
Last edited: