Skip to content

Commit c07d747

Browse files
fabiobaltieriMaureenHelm
authored andcommitted
cmake: use the correct property for the memory region name
Fix the zephyr_linker_dts_memory to lookup the correct property name when trying to figre the region name. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent a87ce2d commit c07d747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/extensions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3376,7 +3376,7 @@ function(zephyr_linker_dts_memory)
33763376

33773377
dt_reg_addr(addr PATH ${DTS_MEMORY_PATH})
33783378
dt_reg_size(size PATH ${DTS_MEMORY_PATH})
3379-
dt_prop(name PATH ${DTS_MEMORY_PATH} PROPERTY "memory-region")
3379+
dt_prop(name PATH ${DTS_MEMORY_PATH} PROPERTY "zephyr,memory-region")
33803380
if (NOT DEFINED name)
33813381
# Fallback to the node path
33823382
set(name ${DTS_MEMORY_PATH})

0 commit comments

Comments
 (0)