Define the FLASH_CCFG memory region from a devicetree partition instead of from math in the linker file. Removing the special math case results in the FLASH_CCFG region overlapping the FLASH region, but the linker accepts this until the FLASH region actually starts placing variables in the FLASH_CCFG region. As a result, applications that don't fit in (FLASH_SIZE - 88) bytes will still fail to link, just with an overlapping memory region error instead of an overflow error. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm | ||
| arm64 | ||
| bindings | ||
| common | ||
| nios2 | ||
| posix | ||
| riscv | ||
| sparc | ||
| x86 | ||
| xtensa | ||
| binding-template.yaml | ||
| Kconfig | ||