test(ulp): add custom linker host tests

Add build-only host tests for LP-core custom linker layouts supplied through the
LINKER option. Cover the positive paths (a full-replacement layout, a
multi-region layout with a fixed-address section, a run-from-HP-mem layout, and
memory protection) and the link-time and configure-time checks (reset-vector
placement, sizing, shared-memory overrun, the MEMPROT RX/RW boundary, a missing
reset vector, and a missing LINKER script).
This commit is contained in:
Sudeep Mohanty
2026-07-31 14:50:09 +02:00
parent 7c3b82562a
commit 06963baf0b
37 changed files with 1107 additions and 0 deletions
+16
View File
@@ -107,6 +107,22 @@ test_ldgen_on_host:
variables:
LC_ALL: C.UTF-8
test_lp_core_custom_linker_on_host:
extends:
- .host_test_template
- .rules:test:host_test_ulp_linker
script:
- cd components/ulp/test_apps/lp_core/host_tests/lp_core_custom_linker
- pytest_for_ut .
test_lp_core_custom_linker_buildv2_on_host:
extends:
- .host_test_template
- .rules:test:host_test_ulp_linker
script:
- cd components/ulp/test_apps/lp_core/host_tests/lp_core_custom_linker_v2
- pytest_for_ut .
test_spiffs_on_host:
extends: .host_test_template
script: