unit-test-app: fix chip-specific sdkconfig options
DEFAULT_CPU_FREQ and ULP_COPROC_ENABLED options have chip-specific names, and should be set in a chip-specific sdkconfig.defaults file. This commit also changes the default CPU frequency for ESP32S2 unit tests to 240 MHz.
This commit is contained in:
parent
8501a8119c
commit
142e49f4cc
3 changed files with 7 additions and 3 deletions
|
@ -6,8 +6,6 @@ CONFIG_PARTITION_TABLE_CUSTOM=y
|
|||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_unit_test_app.csv"
|
||||
CONFIG_PARTITION_TABLE_FILENAME="partition_table_unit_test_app.csv"
|
||||
CONFIG_PARTITION_TABLE_OFFSET=0x8000
|
||||
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
||||
CONFIG_ESP32_XTAL_FREQ_AUTO=y
|
||||
CONFIG_FREERTOS_HZ=1000
|
||||
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
|
||||
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3
|
||||
|
@ -17,7 +15,6 @@ CONFIG_MBEDTLS_HARDWARE_MPI=y
|
|||
CONFIG_MBEDTLS_MPI_USE_INTERRUPT=y
|
||||
CONFIG_MBEDTLS_HARDWARE_SHA=y
|
||||
CONFIG_SPI_FLASH_ENABLE_COUNTERS=y
|
||||
CONFIG_ESP32_ULP_COPROC_ENABLED=y
|
||||
CONFIG_ESP_TASK_WDT=n
|
||||
CONFIG_SPI_FLASH_DANGEROUS_WRITE_FAILS=y
|
||||
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=7
|
||||
|
|
3
tools/unit-test-app/sdkconfig.defaults.esp32
Normal file
3
tools/unit-test-app/sdkconfig.defaults.esp32
Normal file
|
@ -0,0 +1,3 @@
|
|||
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
||||
CONFIG_ESP32_XTAL_FREQ_AUTO=y
|
||||
CONFIG_ESP32_ULP_COPROC_ENABLED=y
|
|
@ -1 +1,5 @@
|
|||
CONFIG_ESP32S2_DEFAULT_CPU_FREQ_240=y
|
||||
CONFIG_ESP32S2_ULP_COPROC_ENABLED=y
|
||||
|
||||
# Hardware MPI disabled, ref. IDF-757
|
||||
CONFIG_MBEDTLS_HARDWARE_MPI=n
|
||||
|
|
Loading…
Reference in a new issue