cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the FreeRTOS on STM32N6570-DK board

Z-YF
Associate III

I am trying to use the FreeRTOS on the STM32N6570-DK board, and now I have some problems with it. I downloaded the  RTOS from the website and I get the croutine.c, event_groups.c, list.c, queue.c, stream_bufffer.c, tasks.c, timers.c under the route of D:\FreeRTOSv202406.01-LTS\FreeRTOS-LTS\FreeRTOS\FreeRTOS-Kernel. And I can find heap_4.c under D:\FreeRTOSv202406.01-LTS\FreeRTOS-LTS\FreeRTOS\FreeRTOS-Kernel\portable\MemMang. But I have some problems with the ports.c and portasm.c. You see, since the cubeIDE use a GCC complier, I went to the folder under GCC and select the ARM_CM55 core. But there are two folders(secure and non_secure), I am confused. So can anyone explain the trusted_zone stuff so that I can implement the FreeRTOS on the DK board.

1 REPLY 1
Saket_Om
ST Employee

Hello @Z-YF 

Please refer to the below examples on X-Cube FreeRTOS:

x-cube-freertos/Projects/NUCLEO-N657X0-Q/Applications/FreeRTOS_Queues_ThreadFlags_TrustZone at main · STMicroelectronics/x-cube-freertos · GitHub 

x-cube-freertos/Projects/NUCLEO-N657X0-Q/Applications at main · STMicroelectronics/x-cube-freertos · GitHub

For more details about trustezone feature please look at this video.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om