doc: connectivity: networking: Update HTTP linker example

Update the HTTP linker example to use a CMake variable instead of a
global defined macro.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-10-02 08:42:32 +02:00 committed by Fabio Baltieri
parent 79f063e81b
commit e9d24aa7da

View file

@ -78,7 +78,7 @@ using CMake:
zephyr_linker_sources(SECTIONS sections-rom.ld)
zephyr_linker_section(NAME http_resource_desc_my_service
KVMA RAM_REGION GROUP RODATA_REGION
SUBALIGN Z_LINK_ITERABLE_SUBALIGN)
SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN})
.. note::