Until now iterable sections APIs have been part of the toolchain (common) headers. They are not strictly related to a toolchain, they just rely on linker providing support for sections. Most files relied on indirect includes to access the API, now, it is included as needed. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
7 lines
205 B
Plaintext
7 lines
205 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)
|