esp-idf/components/wear_levelling/test_apps
Sudeep Mohanty e22b4007d3 esp_hw_support: Removed deprecated CPU util functions
The following files were deleted:
- components/esp_hw_support/include/soc/cpu.h
- components/soc/esp32s3/include/soc/cpu.h

The following functions are deprecated:
- get_sp()

The following functions declared in soc/cpu.h are now moved to esp_cpu.h:
- esp_cpu_configure_region_protection()

The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h:
- esp_cpu_process_stack_pc()

All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-28 16:58:37 +05:30
..
main esp_hw_support: Removed deprecated CPU util functions 2021-12-28 16:58:37 +05:30
CMakeLists.txt wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
component_ut_test.py wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
partitions.csv wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
README.md wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
sdkconfig.ci.4k wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
sdkconfig.ci.512perf wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
sdkconfig.ci.512safe wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
sdkconfig.ci.release wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00
sdkconfig.defaults wear_levelling: move tests from unit-test-app to a component test app 2021-11-03 09:56:20 +01:00

Supported Targets ESP32 ESP32-C3

This is a test app for wear_levelling component. This app is for internal use. In CI, it is sufficient to run this test for one chip of each architecture.

Building

Several configurations are provided as sdkconfig.ci.XXX and serve as a template.

Example with configuration "4k" for target ESP32

rm -rf sdkconfig build
idf.py -DIDF_TARGET=esp32 -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.ci.4k" build

Running

To run locally:

idf.py flash monitor

The tests will be executed and the summary will be printed:

-----------------------
4 Tests 0 Failures 0 Ignored 
OK

Note, when the Python test script is executed in internal CI, it will test each configuration one by one. When executing this script locally, it will use whichever binary is already built and available in build directory.