esp-idf/tools/test_apps/system/panic/main/CMakeLists.txt
Laukik Hase fa27795048
test_app: Split panic test app into separate source files
- Added minor improvements to  `panic` test app
  * Replaced existing API to disable flash cache which did not disabled cache always
    (`esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data)`)
    with `spi_flash_enable_interrupts_caches_and_other_cpu`
  * Included some required headers explicitly (`esp_memory_utils.h` and `esp_heap_caps.h`)
2023-02-16 15:26:47 +05:30

4 lines
185 B
CMake

idf_component_register(SRCS "test_app_main.c" "test_panic.c"
INCLUDE_DIRS "include"
REQUIRES spi_flash esp_psram esp_system esp_partition)