zephyr/tests/misc/iterable_sections/sections-ram.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_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)