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

Thread: Arduino + FREERTOS Problem

  1. #1
    Junior Member
    Join Date
    Jul 2015
    Posts
    18

    Arduino + FREERTOS Problem

    Hi! I have the Version of Arduino 1.8.9 , Teensyduino 1.46.

    When execute my code I have this error:




    C:\Users\PROPIE~1\AppData\Local\Temp\arduino_build _811737/core\core.a(EventResponder.cpp.o): In function `pendablesrvreq_isr':

    C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/EventResponder.cpp:87: multiple definition of `pendablesrvreq_isr'

    C:\Users\PROPIE~1\AppData\Local\Temp\arduino_build _811737\libraries\FreeRTOS_T3\utility\port.c.o:C:\ Program Files (x86)\Arduino\libraries\FreeRTOS_T3\utility/port.c:311: first defined here

    c:/program files (x86)/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

    C:\Users\PROPIE~1\AppData\Local\Temp\arduino_build _811737/core\core.a(EventResponder.cpp.o): In function `EventResponder::triggerEventNotImmediate()':

    C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/EventResponder.cpp:46: multiple definition of `systick_isr'

    C:\Users\PROPIE~1\AppData\Local\Temp\arduino_build _811737\libraries\FreeRTOS_T3\utility\port.c.o:C:\ Program Files (x86)\Arduino\libraries\FreeRTOS_T3\utility/port.c:205: first defined here

    collect2.exe: error: ld returned 1 exit status

    Error compilando para la tarjeta Teensy 3.2 / 3.1.




    Any solution??
    I Attach the Library


    Thanks!!!
    Attached Files Attached Files

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,532
    The error messages show definition conflicts between the EventResponder object which is part of the Teensyduino core and the FreeRTOS library. Apparently, this library has not been updated recently to reflect the last changes and improvements of the Teensyduino core. You should thus contact the FreeRTOS_T3 library author and ask him to update his library, so that it compiles against recent Teensyduino versions.

  3. #3
    Senior Member brtaylor's Avatar
    Join Date
    Mar 2016
    Location
    Portland, OR
    Posts
    536
    It definitely takes a bit of work to get FreeRTOS working on Teensy 3.x since it has not been maintained. I also had issues getting floating point math to work on Teensy 3.5 and 3.6 and, ultimately, shelved that approach for a later date. FreeRTOS does not currently work out of the box with Teensy, unfortunately.

  4. #4
    Junior Member
    Join Date
    Jul 2015
    Posts
    18
    Ohhhhh :'(

Posting Permissions

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