zephyr/tests/misc/iterable_sections/sections-rom.ld
Christopher Friedt 28dccf236b tests: misc: iterable_sections: add named alternate tests
Add tests for the newly added
STRUCT_SECTION_ITERABLE_NAMED_ALTERNATE(). This type of
section should be iterated with
STRUCT_SECTION_FOREACH_ALTERNATE().

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-11-28 15:35:39 +01:00

8 lines
239 B
Plaintext

#include <zephyr/linker/iterable_sections.h>
ITERABLE_SECTION_ROM(test_rom, 4)
ITERABLE_SECTION_ROM(test_rom2, 4)
ITERABLE_SECTION_ROM(test_rom_named, 4)
ITERABLE_SECTION_ROM_NUMERIC(test_rom_numeric, 4)
ITERABLE_SECTION_ROM(romn_alt, 4)