zephyr/tests/misc/iterable_sections/sections-ram.ld
Peter Mitsis 62db185d5b linker: tests: Use Z_LINK_ITERABLE_SUBALIGN
Updates the linker script fragments under 'tests' to use
Z_LINK_ITERABLE_SUBALIGN for the subalignment instead of
a hardcoded value of 4.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-04-20 13:45:25 -04:00

8 lines
354 B
Plaintext

#include <zephyr/linker/iterable_sections.h>
ITERABLE_SECTION_RAM(test_ram, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_RAM(test_ram2, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_RAM(test_ram_named, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_RAM_NUMERIC(test_ram_numeric, Z_LINK_ITERABLE_SUBALIGN)
ITERABLE_SECTION_RAM(ramn_alt, Z_LINK_ITERABLE_SUBALIGN)