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_RAM(test_ram, 4)
|
|
ITERABLE_SECTION_RAM(test_ram2, 4)
|
|
ITERABLE_SECTION_RAM(test_ram_named, 4)
|
|
ITERABLE_SECTION_RAM_NUMERIC(test_ram_numeric, 4)
|
|
ITERABLE_SECTION_RAM(ramn_alt, 4)
|