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>
8 lines
239 B
Plaintext
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)
|