Skip to content

Commit 216ff00

Browse files
RobinKastbergkartben
authored andcommitted
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>
1 parent 03c5f5f commit 216ff00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/extensions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4809,7 +4809,7 @@ function(zephyr_linker_dts_section)
48094809

48104810
dt_reg_addr(addr PATH ${DTS_SECTION_PATH})
48114811

4812-
zephyr_linker_section(NAME ${name} ADDRESS ${addr} VMA ${name} TYPE NOLOAD)
4812+
zephyr_linker_section(NAME ${name} VMA ${name} TYPE NOLOAD)
48134813

48144814
endfunction()
48154815

0 commit comments

Comments
 (0)