esp-idf/components/espcoredump/test_apps
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
..
main freertos: Remove legacy data types 2022-02-09 23:05:45 +08:00
CMakeLists.txt tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
README.md coredump: Add some notes on how to generate test data 2021-10-13 15:06:41 +07:00
build_espcoredump.sh Add Esp32s3 to the coredump component. 2021-09-13 05:20:34 -04:00
sdkconfig.defaults test(coredump): refactor coredump test and add esp32s2/esp32c3 tests 2021-07-22 10:17:59 +08:00

README.md

Supported Targets ESP32 ESP32-S2 ESP32-C3 ESP32-S3

ESP Core Dump Tests

This test app is used to provide built binaries for the test cases under test folders

Update coredump.64 test data

To update test/<target>/coredump.64 build a test_apps for a target, flash and get a base64 text from idf.py monitor

Update expected_output test data

To update test/<target>/expected_output run

TARGET=esp32
espcoredump.py --chip $TARGET info_corefile -c ../test/$TARGET/coredump.b64 -t b64 -m ./build/test_core_dump.elf > ../test/$TARGET/expected_output

A test_apps app should be built for that target.

Do the same for other targets: esp32s2, esp32c3, etc.

Update ELF test binaries

The ELF test binaries are placed in a different git repository, idf-coredump-elf, to avoid putting big binaries in IDF repo. It is used in test_espcoredump CI job.

See idf-coredump-elf/README.md to use build_espcoredump.sh and generate test ELF binaries