I'm trying to compile a sketch using FreeRTOS for the first time on my Teensy 3.5 board. I'm getting a compile error saying my board runs on AVR architecture (see error message below). I believe I have a Freescale ARM processor. Note: I am able to run the Teensy Tutorial Blink sketch successfully. Am I'm missing something basic here?
Arduino: 1.8.9 (Linux), TD: 1.47, Board: "Teensy 3.5, Serial, 120 MHz, Faster, US English"
WARNING: library FreeRTOS_ARM claims to run on (sam) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
/tmp/arduino_build_755366/core/core.a(EventResponder.cpp.o): In function `pendablesrvreq_isr':
/home/derek/arduino-1.8.9/hardware/teensy/avr/cores/teensy3/EventResponder.cpp:87: multiple definition of `pendablesrvreq_isr'
/tmp/arduino_build_755366/libraries/FreeRTOS_ARM/utility/port.c.o:/home/derek/Arduino/libraries/FreeRTOS_ARM/src/utility/port.c:469: first defined here
/home/derek/arduino-1.8.9/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Disabling relaxation: it will not work with multiple definitions
/tmp/arduino_build_755366/core/core.a(EventResponder.cpp.o): In function `EventResponder::triggerEventNotImmediate()':
/home/derek/arduino-1.8.9/hardware/teensy/avr/cores/teensy3/EventResponder.cpp:46: multiple definition of `systick_isr'
/tmp/arduino_build_755366/libraries/FreeRTOS_ARM/utility/port.c.o:/home/derek/Arduino/libraries/FreeRTOS_ARM/src/utility/port.c:291: first defined here
collect2: error: ld returned 1 exit status
Error compiling for board Teensy 3.5.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Arduino: 1.8.9 (Linux), TD: 1.47, Board: "Teensy 3.5, Serial, 120 MHz, Faster, US English"
WARNING: library FreeRTOS_ARM claims to run on (sam) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
/tmp/arduino_build_755366/core/core.a(EventResponder.cpp.o): In function `pendablesrvreq_isr':
/home/derek/arduino-1.8.9/hardware/teensy/avr/cores/teensy3/EventResponder.cpp:87: multiple definition of `pendablesrvreq_isr'
/tmp/arduino_build_755366/libraries/FreeRTOS_ARM/utility/port.c.o:/home/derek/Arduino/libraries/FreeRTOS_ARM/src/utility/port.c:469: first defined here
/home/derek/arduino-1.8.9/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Disabling relaxation: it will not work with multiple definitions
/tmp/arduino_build_755366/core/core.a(EventResponder.cpp.o): In function `EventResponder::triggerEventNotImmediate()':
/home/derek/arduino-1.8.9/hardware/teensy/avr/cores/teensy3/EventResponder.cpp:46: multiple definition of `systick_isr'
/tmp/arduino_build_755366/libraries/FreeRTOS_ARM/utility/port.c.o:/home/derek/Arduino/libraries/FreeRTOS_ARM/src/utility/port.c:291: first defined here
collect2: error: ld returned 1 exit status
Error compiling for board Teensy 3.5.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.