cmake: linker_script: Fix zbus sections

Use the same zbus linker sections for CMAKE_LINKER_GENERATOR as for
linker scripts.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-07-05 11:53:31 +02:00 committed by Alberto Escolar
commit a6effe318f

View file

@ -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)