Skip to main content
dorrachendoul
Associate III
April 16, 2013
Question

FreeRtos ARM

  • April 16, 2013
  • 5 replies
  • 1008 views
Posted on April 16, 2013 at 15:15

Does someone know where can i find a tutorial about configuring a FreeRTOS ARM Cortex-M4F demo application that targets an STMicroelectronics STM32F40XX microcontroller using eclipse please ?

http://www.st.com/internet/mcu/product/252136.jsp

    This topic has been closed for replies.

    5 replies

    dthedens23
    Associate
    April 16, 2013
    Posted on April 16, 2013 at 17:22

    I don't know of one.

    I have been using ChibiStudio from chibios.org

    Only drawback I have is that it must install on drive C:

    But it is fully integrated Eclipse, GCC C/C++, RTOS with many drivers for STM32F4 peripherals, not all peripherals, but many.

    You can also get CooCox.org.  Another Eclipse, GCC, RTOS package.  It works well but does not yet support the Cortex M4 floating point register context save/restore.

    dorrachendoul
    Associate III
    April 17, 2013
    Posted on April 17, 2013 at 09:34

    Sorry but do you mean that Eclipse, GCC, RTOS package does not yet support the Cortex M4 floating point register?

    johnsonpe
    Visitor II
    April 17, 2013
    Posted on April 17, 2013 at 13:57

    Hi

    What rocketdawg wrote was:-

    You can also get

    CooCox.org

    . Another Eclipse, GCC, RTOS package. It works well but does not yet support the Cortex M4 floating point register context save/restore.

    Reading all your other posts in different threads you seem to jumping from one problem to another,without solving anything.

    Stick with one hardware platform and get a software platform that works where you can compile code and debug it.

    Then it is relatively easy to add other hardware boards and extras like rtos etc.

    I always remember my fathers advice when I was a child learning to ride a bicycle.

    First you have to learn to fall off a bicycle before you can ride it.

    Regards Peter
    Tesla DeLorean
    Guru
    April 17, 2013
    Posted on April 17, 2013 at 14:21

    Sorry but do you mean that Eclipse, GCC, RTOS package does not yet support the Cortex M4 floating point register?

    Presumably that the RTOS's context switch has to save FPU registers if you have multiple threads/tasks using the FPU. Look at the context switching code, confirm what gets saved.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    dthedens23
    Associate
    April 17, 2013
    Posted on April 17, 2013 at 15:27

    I said CooCox RTOS does not support Floating Point context save/restore.

    you have to be more careful with your use of terms or it leads to confusion.

    you have to be careful because floating point support must be built into the RTOS and the GCC compiler must also be built with single precision floating point support.

    FreeRTOS and ChibiOS both support F4 math.

    Eclipse is just the IDE.

    Seriously, download the free Atollic Eclipse lite version.  Play with that until you hit the code space limit.  Then you can roll your own tool chain.

    http://www.atollic.com/index.php/targets/armtargetsupport