Add a test for zephyr,memory-region-flags. This test tests the attributes of memory regions defined in the linker script, but this information cannot be obtained at runtime. It verifies that the expected memory region attributes are defined in the linker.cmd. Since no syntax analysis is performed, this is not an entirely rigorous test but sufficient for practical purposes. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
18 lines
371 B
YAML
18 lines
371 B
YAML
tests:
|
|
|
|
libraries.devicetree.memory_region_flags:
|
|
harness: pytest
|
|
platform_allow: qemu_cortex_m3
|
|
tags:
|
|
- devicetree
|
|
- pytest
|
|
|
|
libraries.devicetree.memory_region_flags.linker_generator:
|
|
harness: pytest
|
|
platform_allow: qemu_cortex_m3
|
|
tags:
|
|
- devicetree
|
|
- pytest
|
|
extra_configs:
|
|
- CONFIG_CMAKE_LINKER_GENERATOR=y
|