This PR fixes https://github.com/zephyrproject-rtos/zephyr/issues/64268 MWDT supposes .device_states section as BSS because .device_states variables defined as uninitialized. This causes the section marked as NOLOAD section and OpenOCD does not take it in account while flashing it into board memory. Finally .device_states variables becomes initialized with garbage from RAM. In this PR it's suggested to clean .device_states in early init stage. Signed-off-by: Nikolay Agishev <agishev@synopsys.com> |
||
|---|---|---|
| .. | ||
| arcmwdt | ||
| core | ||
| include | ||
| CMakeLists.txt | ||
| Kconfig | ||