Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: FreeRTOS compile error saying Teensy 3.5 board is AVR architecture

Threaded View

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    8

    FreeRTOS compile error saying Teensy 3.5 board is AVR architecture

    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.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	teensy3.5_board.jpg 
Views:	3 
Size:	112.7 KB 
ID:	17274  
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •