The `nocache` is not loadable, thus data stored therein cannot be initialized by the startup code. This might be needed in special cases. E.g. One might have a buffer which one wants to DMA into, and which is a member of a struct. Other members of the struct one may want to have initialized by the startup code. The buffer thus should be placed in the `nocache` region, but for the other members of the buffer to be initialized by the startup code, the `nocache` region needs to be loadable. Fix it by making the `nocache` region loadable. Adding a KConfig symbol to do this optionally was considered, but deemed unnecessary during the PR. Signed-off-by: Julian Achatzi <mail@achatzi.pro> |
||
|---|---|---|
| .. | ||
| include | ||
| CMakeLists.txt | ||
| dynamic_isr.c | ||
| fill_with_zeros.ld | ||
| isr_tables_shell.c | ||
| isr_tables.c | ||
| Kconfig | ||
| multilevel_irq.c | ||
| nocache.ld | ||
| ramfunc.ld | ||
| rom_start_address.ld | ||
| rom_start_offset.ld | ||
| semihost.c | ||
| shared_irq.c | ||
| sw_isr_common.c | ||
| timing.c | ||