Objects with storage-class specifier static and attribute __nocache not initialized before "program startup" #85236
Labels
area: Kernel
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
Objects with storage-class specifier static and attribute __nocache not initialized before "program startup".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I think the nocache section should not be initialized, but that is probably not inline with the specification when storage-class specifier static is used, anyway it needs to be documented.
Impact
Unknown
Logs and console output
*** Booting Zephyr OS build v4.0.0-4626-ge783f69ebfae ***
Hello World! mimxrt1020_evk/mimxrt1021 1610636641 42
Hello World! mimxrt1020_evk/mimxrt1021 1 2
(reset)
*** Booting Zephyr OS build v4.0.0-4626-ge783f69ebfae ***
Hello World! mimxrt1020_evk/mimxrt1021 1 2
Hello World! mimxrt1020_evk/mimxrt1021 1 2
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: