cmake: linker: dont place device tree memories at absolute addresses

Avoid placing the device tree memories at an absolute address.
This avoids placing both .rom_start AND SSRAM1 at
the same address on mps2/an521/cpu0.

This seems fine according to ld (since one placement is empty)
but causes a currently non-suppressable diag_warning

Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
This commit is contained in:
Robin Kastberg 2025-02-28 09:37:45 +00:00 committed by Benjamin Cabé
parent 03c5f5f083
commit 216ff00422

View File

@ -4809,7 +4809,7 @@ function(zephyr_linker_dts_section)
dt_reg_addr(addr PATH ${DTS_SECTION_PATH})
zephyr_linker_section(NAME ${name} ADDRESS ${addr} VMA ${name} TYPE NOLOAD)
zephyr_linker_section(NAME ${name} VMA ${name} TYPE NOLOAD)
endfunction()