Files
esp-idf/tools/test_apps/system/.build-test-rules.yml
T
Xiao Xufeng 3e8389cc31 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-07-15 18:57:08 +08:00

201 lines
6.3 KiB
YAML

# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
tools/test_apps/system/bootloader_sections:
disable:
- if: CONFIG_NAME == "rtc_retain" and SOC_RTC_FAST_MEM_SUPPORTED != 1
- if: CONFIG_NAME == "flash_encryption_key_mgr" and (SOC_KEY_MANAGER_FE_KEY_DEPLOY != 1 or IDF_TARGET == "esp32p4")
- if: CONFIG_NAME == "flash_encryption_key_mgr_esp32p4" and IDF_TARGET != "esp32p4"
- if: IDF_TARGET == "esp32s31"
temporary: true
reason: cannot pass build because flash encryption is not supported yet # TODO: [ESP32S31] IDF-14628
tools/test_apps/system/build_tests/client_only_mbedtls:
disable:
- if: IDF_TARGET not in ["esp32c3"]
reason: Testing on a single target is sufficient
tools/test_apps/system/build_tests/custom_mac:
disable:
- if: IDF_TARGET not in ["esp32c3"]
reason: Testing on a single target is sufficient
tools/test_apps/system/build_tests/no_esp_cert_bundle:
disable:
- if: IDF_TARGET not in ["esp32c3"]
reason: Testing on a single target is sufficient
tools/test_apps/system/build_tests/no_hwsg:
disable:
- if: SOC_ASSIST_DEBUG_SUPPORTED != 1
tools/test_apps/system/build_tests/panic_silent_reboot:
disable:
- if: IDF_TARGET != "esp32"
tools/test_apps/system/build_tests/trax_esp32:
disable:
- if: IDF_TARGET != "esp32"
tools/test_apps/system/build_tests/trax_esp32s2:
disable:
- if: IDF_TARGET != "esp32s2"
tools/test_apps/system/clang_build_test:
enable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3", "esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2"]
temporary: true
reason: the other targets are not supported yet, esp32p4 # TODO: IDF-14355
tools/test_apps/system/cxx_no_except:
enable:
- if: IDF_TARGET == "esp32" or IDF_TARGET == "esp32c3"
temporary: true
reason: the other targets are not tested yet
tools/test_apps/system/eh_frame:
disable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3", "linux"]
reason: Only relevant for riscv targets
tools/test_apps/system/esp_intr_dump:
tools/test_apps/system/flash_auto_suspend_iram_reduction:
disable:
- if: IDF_TARGET == "esp32" or IDF_TARGET == "esp32s2
reason: Targets do not support auto-suspend
disable_test:
- if: IDF_TARGET != "esp32c3"
temporary: true
reason: lack of runners
tools/test_apps/system/g0_components:
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32h21", "esp32h4", "esp32s31"] # preview targets
tools/test_apps/system/g1_components:
tools/test_apps/system/gdb:
disable_test:
- if: IDF_TARGET in ["esp32p4", "esp32c5", "esp32c61", "esp32s31", "esp32h4"]
temporary: true
reason: not supported yet # TODO: IDF-13142
tools/test_apps/system/gdb_loadable_elf:
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
disable:
- if: IDF_TARGET == "esp32c6" or IDF_TARGET == "esp32h2"
temporary: true
reason: target esp32c6, esp32h2 is not supported yet
tools/test_apps/system/gdbstub_runtime:
disable_test:
- if: IDF_TARGET == "esp32h4"
temporary: true
reason: cannot pass # TODO: IDF-15607
tools/test_apps/system/init_array:
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
depends_components:
- *common_components
- esp_system
depends_filepatterns:
- tools/tools.json
tools/test_apps/system/log:
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3"]
reason: test only on esp32 and c3 as other targets are similar
depends_components:
- *common_components
- log
tools/test_apps/system/longjmp_test:
enable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3"]
temporary: true
reason: the other targets are not tested yet
tools/test_apps/system/memprot:
enable:
- if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"]
temporary: true
reason: the other targets are not tested yet
tools/test_apps/system/mmu_page_size:
enable:
- if: IDF_TARGET in ["esp32c6", "esp32h2"]
reason: Coverage for two targets with configurable MMU page size is sufficient
depends_components:
- *common_components
- esp_app_format
- bootloader_support
- esp_mm
tools/test_apps/system/no_embedded_paths:
enable:
- if: IDF_TARGET in ["esp32", "esp32c3", "esp32s2"]
temporary: true
reason: the other targets are not tested yet
tools/test_apps/system/panic/coredump:
disable:
- if: CONFIG_NAME in ["coredump_flash_extram_stack_bss", "coredump_flash_extram_stack_heap"] and SOC_SPIRAM_SUPPORTED != 1
- if: CONFIG_NAME == "coredump_flash_extram_stack_bss_xip" and SOC_SPIRAM_XIP_SUPPORTED != 1
- if: IDF_TARGET in ["esp32h4", "esp32h21"]
temporary: true
reason: IDF-12308, IDF-11543
depends_components:
- espcoredump
- esp_system
- spi_flash
tools/test_apps/system/panic/panic_base:
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32s31", "esp32h4"]
tools/test_apps/system/ram_loadable_app:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: p4 rev3 migration # TODO: IDF-14370
disable_test:
- if: IDF_TARGET == "esp32h4"
temporary: true
reason: cannot pass yet # TODO: IDF-15626
- if: IDF_TARGET == "esp32s31"
temporary: true
reason: cannot pass # TODO: IDF-15525
tools/test_apps/system/rtc_mem_reserve:
enable:
- if: IDF_TARGET in ["esp32p4"]
reason: only P4 has a potential conflict due to using rtc mem for lp rom data/stack
tools/test_apps/system/startup:
disable:
- if: CONFIG_NAME == "main_task_cpu1" and IDF_TARGET not in ["esp32", "esp32s3"]
tools/test_apps/system/test_api_check:
disable:
- if: IDF_TARGET == IDF_TARGET
reason: Not a buildable app. Used only as a CMake project by the check_api_compatibility CI job.
tools/test_apps/system/test_watchpoint:
enable:
- if: IDF_TARGET in ["esp32", "esp32c3"] # Just one test per architecture
tools/test_apps/system/unicore_bootloader:
disable:
- if: SOC_CPU_CORES_NUM == 1
reason: the test is only relevant for multicore chips
- if: CONFIG_NAME == "unicore_psram" and SOC_PSRAM_SUPPORTED != 1
- if: CONFIG_NAME == "multicore_psram" and SOC_PSRAM_SUPPORTED != 1
disable_test:
- if: IDF_TARGET == "esp32h4"
temporary: true
reason: cannot pass # TODO: IDF-15620