Closed smmanu closed 2 years ago
ST Internal Reference: 118055
Hi @smmanu,
First of all, thank you for having reported this point. It has been already forwarded to our development teams. We will get back to you as soon as we have their feedback.
Please excuse the time it may take to reply sometimes. Thank you for your comprehension, and thank you again for having reported.
With regards,
Hi @smmanu,
I Hope you're fine. Just to inform you the fix has been published in the frame of STM32CubeU5 v1.1.0 release.
With regards,
Setup
Keil uvision 5.35, ac6
Description
Variables in a ThreadX module do not get their initial values as expected. Static or global variables are not initialized to 0 and variables in general do not get the initial value assigned in their definition.
Additional context
The call that is supposed to perform the C runtime initialization of a module is commented out in
txm_module_initialize.S
(line 73). This is not specific to stm32u5xx or cortex-m33 since the same line is also commented out in other ports to ac6. The code seems to be the same in the Azure RTOS repo, so perhaps this should be reported to them?