Skip to content

Commit

Permalink
cmake: linker_script: Fix zbus sections
Browse files Browse the repository at this point in the history
Use the same zbus linker sections for CMAKE_LINKER_GENERATOR as for
linker scripts.

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt authored and aescolar committed Jul 9, 2024
1 parent 6488393 commit a6effe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/linker_script/common/common-ram.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ if(CONFIG_ZTEST)
endif()

if(CONFIG_ZBUS)
zephyr_iterable_section(NAME zbus_observer GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN CONFIG_LINKER_ITERABLE_SUBALIGN)
zephyr_iterable_section(NAME zbus_channel_observation_mask GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN CONFIG_LINKER_ITERABLE_SUBALIGN)
zephyr_iterable_section(NAME zbus_channel_observation_mask GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN 1)
endif()

if(CONFIG_UVB)
Expand Down

0 comments on commit a6effe3

Please sign in to comment.