Skip to main content
nanayakkaraan
Associate III
November 26, 2010
Question

FreeRTOS Port for STM32L + IAR

  • November 26, 2010
  • 5 replies
  • 983 views
Posted on November 26, 2010 at 13:11

FreeRTOS Port for STM32L + IAR

    This topic has been closed for replies.

    5 replies

    nanayakkaraan
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:16

    AMSN,

    Thanks for replying.

    I have seen the demo you are talking about. But it is for STM32F and that demo board.

    I am looking for STM32L :)

    amin23
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 14:16

    Hi ANN,

    - Download FreeRTOSV6.1.0

    http://sourceforge.net/projects/freertos/

    - There is an example under

    FreeRTOSV6.0.4\FreeRTOS\Demo\CORTEX_STM32F103_IAR

    gdiez
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:16

    Hi ann:

    I´ve done a doc to explain to develop FreeRTOS in STM32f107vc microcontroller. This doc is in spanish but it´s so many pictures to understand it.

    http://www.ucontrol.com.ar/forosmf/arm/freertos-o-mi-primer-so-en-un-micro/

    nanayakkaraan
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:16

    Thanks AMSN

    amin23
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 14:16

    ANN,

    1- Fill the FreeRTOSSource folder with the FreeRTOS specific files you will need.There should be also a copy of Port.c, Portmacro.c and the heap_n.c files. Port.c and Portmacro.c can be found at \ \FreeRTOSV6.1.0\Source\portable\IAR\ARM_CM3. The MemMang folder which can also be found at \FreeRTOSV6.1.0\Source\portable\MemMang holds heap_1.c, heap_2.c and heap_3.c.

    2- Replace SVCHandler, PendSVHandler and the SysTickHandler in the startup file with the FreeRTOS specific handlers:

    SVCHandler

        

    -> vPortSVCHandler

       

    PendSVHandler

     

    -> xPortPendSVHandler

               

    SysTickHandler -> xPortSysTickHandler

    3- check the CPU Clock in FreeRTOSConfig.h

    4-

    for more information

    look at readme.txt files