2016-11-06 02:11 PM
Hey guys,
I used CubeMX to generate a setupcode for my STM32F4 Discovery board. When I began my work, i noticed that the FreeRTOS Version used by Cube MX is an old one. Do you know when V9 would be supported by Cube MX? Or is there're another way to upgrade FreeRtos from V8 to V9? V9 comes with some important new features, like static threads and queues;) greets JulianSolved! Go to Solution.
2017-02-04 06:28 AM
Hi,
Just for information (current status):
- In currentCubeMx 4.19, FreeRTOS v9 issupported on F3 /F7 /L0 series.
- In CubeMx 4.20 (next version to come): adding FreeRTOS v9 support on F4 (and possibly other series as well; porting on-going).
As for the question about the difference between the ST and FreeRTOS releases, mainly in the ST version, we use an abstraction layer, the CMSIS API (see
https://community.st.com/0D50X00009XkdieSAB
), meaning the calls / the objects found in FW pack examples or in CubeMx generated code will be typically things prefixed by 'os'.- delivery based on the official v9 release, adding CMSIS layer (in cmsis_os.c and cmsis_os.h files)
Regards
Fred
2016-11-07 01:22 AM
Hi Julian,
The FreeRTOS Version used by Cube MX is the same version used on HAL library V8.2.3I will raise your request to our team about V9 support planning.-Syrine-2016-11-07 07:02 AM
2016-11-07 02:10 PM
thx guys for your fast replay.
I'll stick to working with V8 than and once the CubeMX supports V9 i'll update to this newer version :) Could you give me any hint how long it takes to implement this (assuming the STM Team accepts this suggestion). Would we be talking about, weeks or months?2016-11-08 02:31 AM
Dear Julian,
The support of FreeRTOS v9 should come in STM32CubeMX January version.
Best regards
2016-12-28 01:03 PM
I'm also interested in this. Do you have any idea if this is still planned for January?
Also, do we have any indication of the extent of changes between the ST and FreeRTOS release? I'm wondering if it would be feasible to migrate the changes from the version include with the HAL libraries to the FreeRTOS release. I'm guessing not feasible but I don't think it hurts to ask. (For my purposes this is in an STM32F7 and includes LwIP as well.)
Thanks!
2017-02-04 06:28 AM
Hi,
Just for information (current status):
- In currentCubeMx 4.19, FreeRTOS v9 issupported on F3 /F7 /L0 series.
- In CubeMx 4.20 (next version to come): adding FreeRTOS v9 support on F4 (and possibly other series as well; porting on-going).
As for the question about the difference between the ST and FreeRTOS releases, mainly in the ST version, we use an abstraction layer, the CMSIS API (see
https://community.st.com/0D50X00009XkdieSAB
), meaning the calls / the objects found in FW pack examples or in CubeMx generated code will be typically things prefixed by 'os'.- delivery based on the official v9 release, adding CMSIS layer (in cmsis_os.c and cmsis_os.h files)
Regards
Fred
2017-02-05 05:28 AM
Hey Fred,
thx for your update
Unfortunately i'm using a stm32f429 MCU so i will have to wait some time.
2017-02-06 05:31 AM
Thank you for the information. It would be useful to include this in the release notes as well. (
)best,
hank
2017-03-07 02:45 AM
Hi Julian,
Just for your information: CubeMx 4.20 now available for download comes with FreeRTOS v9 support on F4 and L4 series (as mentioned, page 9 of the Release Notes, showing middleware updates happening in that 4.20 version).
Regards,
Fred