2020-03-17 06:47 AM
I have a development kit for the STM32L562, I'm trying to create a blinky-script that will use FreeRTOS to blink a led in the secure-world and the non-secure world simultaneously.
Steps to reproduce:
Once the project is loaded, the following configuration needs to be done in the "projectname.ioc" :
You should now be getting errors about "FreeRTOS.h" not being found by several files.
If you add '/projectname/Middlewares/Third_Party/FreeRTOS/Source/include' to your include paths, you should no longer be getting the not found error, but should be getting multiple definition errors.
Does anyone know what I'm doing wrong?
Thanks in advance!
Solved! Go to Solution.
2020-03-18 05:56 AM
Hello @FHumb.1 ,
Thanks for your feedback, issue confirmed, it will be internally fixed.
Best Regards,
Khouloud
2020-03-17 07:02 AM
It looks like it's a "known issue" in STM32CubeIDE V1.3.0 (ID: 79065) according to the release notes
Does anyone have a workaround for this?
2020-03-17 07:35 AM
Not directly a workaround, but a remark: If you generate your project without FreeRTOS, but with HAL, one Drivers folder will be create in the file system, but two "Linked Folders" Drivers appear in the project: one in the secure world and one in the insecure world.
What if you create a new folder Middleware parallel to Drivers, copy the FreeRTOS stuff from elsewhere into it and create two linked folders: one in the secure world and one in the insecure world.
2020-03-18 03:51 AM
Thanks for your suggestion!
I've added FreeRTOS manually to the project, and after some compiler issues I'm able to build and flash the project. However, as soon as the chip starts it generates a hardfault. I have no idea what that is about or how to trace the issue... The example from freertos about hardfault debugging doesn't seem to work as it generates a hardfault in the secure-zone after getting the hardfault in non-secure.
2020-03-18 05:56 AM
Hello @FHumb.1 ,
Thanks for your feedback, issue confirmed, it will be internally fixed.
Best Regards,
Khouloud
2020-03-18 06:47 AM
Hello @Khouloud ZEMMELI Thanks for getting back to me!
Do you have a timeline as to when this could be fixed? I badly need this to work if I want to be able to do the project.
Regards,
Florian
2020-03-18 06:57 AM
We will try to fix this issue for the next release, I'll give you an update as soon as possible.
Best Regards,
Khouloud
2020-03-18 09:25 AM
Any idea when the next release will be? From looking at past releases it could take anywhere from a week to a few months...
I Might be better off getting a different chip if it is going to take that long.
2020-03-19 02:46 AM
The CubeMX 6.0.0 will be available for the W27.
2020-07-06 07:17 AM
Hello @Khouloud ZEMMELI ,
Do you have any update on the release of CubeMX 6.0.0 as I would like to be able to start developing with FreeRTOS soon.
Thank you,
Clement