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 <fabio.baltieri@gmail.com>
This commit is contained in:
parent
a87ce2ddde
commit
c07d747173
1 changed files with 1 additions and 1 deletions
|
@ -3376,7 +3376,7 @@ function(zephyr_linker_dts_memory)
|
|||
|
||||
dt_reg_addr(addr PATH ${DTS_MEMORY_PATH})
|
||||
dt_reg_size(size PATH ${DTS_MEMORY_PATH})
|
||||
dt_prop(name PATH ${DTS_MEMORY_PATH} PROPERTY "memory-region")
|
||||
dt_prop(name PATH ${DTS_MEMORY_PATH} PROPERTY "zephyr,memory-region")
|
||||
if (NOT DEFINED name)
|
||||
# Fallback to the node path
|
||||
set(name ${DTS_MEMORY_PATH})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue