cancel
Showing results for 
Search instead for 
Did you mean: 

code generation fail with FreeRTOS in Trustzone at STM32L5

JongOk Baek
Associate III

Hello,

I want to generation code with FreeRTOS in Trustzone at STM32L562ZET6Q.

I want to use FreeRTOS in Non-Secure Zone.

So, I enabled FreeRTOS in Middleware division.

0693W00000WKMW2QAP.pngAnd, I want to change about Timebase Source in SYS_NS.

0693W00000WKMVnQAP.pngBut, all timers are disabled(inActive) except SysTick.

0693W00000WKMY3QAP.pngSo, there occur warning message about SysTick when run code generation.

Environments :

STM32CubeIDE : v1.11.0

STM32CubeL5 : v1.5.0

Best regards.

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @JongOk Baek​,

You can change the Timebase source in SYS_NS by enabling the dedicated timer as shown in the below figures.

0693W00000WKuJCQA1.png 

0693W00000WKuMQQA1.png 

 I advise you to get inspired from the available freeRTOS examples in the STM32CubeL5 MCU package.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

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.

View solution in original post

3 REPLIES 3
KDJEM.1
ST Employee

Hello @JongOk Baek​,

You can change the Timebase source in SYS_NS by enabling the dedicated timer as shown in the below figures.

0693W00000WKuJCQA1.png 

0693W00000WKuMQQA1.png 

 I advise you to get inspired from the available freeRTOS examples in the STM32CubeL5 MCU package.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

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.

Thanks for your reply.

It is correct answer.

My problem has been solved.

KDJEM.1
ST Employee

Hi @JongOk Baek​,

Glad to know that the issue is solved.

Thank you for your contribution in the STCommunity 🙂.

Kaouthar

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.