123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- # sdkconfig.defaults for ESP8266 + ESP32
- # Note that during the build process, settings from sdkconfig.defaults will not override those already in sdkconfig.
- # See https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#custom-sdkconfig-defaults
- CONFIG_BENCH_ARGV="-lng 0"
- CONFIG_FREERTOS_HZ=1000
- CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
- #
- # Default main stack size. See user_settings.h
- #
- # For wolfSSL SMALL_STACK, 3072 bytes should be sufficient for benchmark app.
- # When using RSA, assign at least 10500 bytes, otherwise 5500 usually works for others
- CONFIG_ESP_MAIN_TASK_STACK_SIZE=10500
- # Legacy stack size for older ESP-IDF versions
- CONFIG_MAIN_TASK_STACK_SIZE=10500
- #
- # Benchmark must not have CONFIG_NEWLIB_NANO_FORMAT enabled
- CONFIG_NEWLIB_NANO_FORMAT=n
- #
- # Watchdog Timers
- #
- # We don't want to have the watchdog timeout during tests & benchmarks
- #
- CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
- CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
- # Panic & Watchdog
- CONFIG_ESP_INT_WDT_TIMEOUT_MS=10000
- CONFIG_ESP_TASK_WDT_EN=n
- CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
- CONFIG_ESP_INT_WDT=n
- # ESP8266 Watchdog:
- CONFIG_TASK_WDT=n
- CONFIG_TASK_WDT_PANIC=n
- # ESP8266 WDT
- # CONFIG_ESP_PANIC_PRINT_REBOOT is not set
- CONFIG_ESP_PANIC_PRINT_REBOOT=n
- CONFIG_ESP_PANIC_PRINT_HALT=y
- # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set
- CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n
- # ESP8266 Memory
- CONFIG_FREERTOS_GLOBAL_DATA_LINK_IRAM=y
- CONFIG_HEAP_DISABLE_IRAM=y
- # Performance
- # CONFIG_COMPILER_OPTIMIZATION_PERF=y
- # Set max COU frequency (falls back as needed for lower maximum)
- CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
- # FreeRTOS ticks at 1ms interval
- CONFIG_FREERTOS_UNICORE=y
- CONFIG_FREERTOS_HZ=1000
- #
- # Compiler options
- #
- CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
- # CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
- # CONFIG_COMPILER_OPTIMIZATION_PERF is not set
- # CONFIG_COMPILER_OPTIMIZATION_NONE is not set
- CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
- # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
- # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
- CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y
- CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
- # CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
- CONFIG_COMPILER_HIDE_PATHS_MACROS=y
- # CONFIG_COMPILER_CXX_EXCEPTIONS is not set
- # CONFIG_COMPILER_CXX_RTTI is not set
- # CONFIG_COMPILER_STACK_CHECK_MODE_NONE is not set
- CONFIG_COMPILER_STACK_CHECK_MODE_NORM=y
- # CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set
- # CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set
- CONFIG_COMPILER_STACK_CHECK=y
- # CONFIG_COMPILER_WARN_WRITE_STRINGS is not set
- # CONFIG_COMPILER_SAVE_RESTORE_LIBCALLS is not set
- # CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set
- # CONFIG_COMPILER_DUMP_RTL_FILES is not set
- # end of Compiler options
- # We don't know that the min is actually v2,
- # but this is the earliest tested.
- CONFIG_ESP32C3_REV_MIN_2=y
- #
- # Partition Table
- #
- # CONFIG_PARTITION_TABLE_SINGLE_APP is not set
- CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
- # CONFIG_PARTITION_TABLE_TWO_OTA is not set
- # CONFIG_PARTITION_TABLE_CUSTOM is not set
- CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
- CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv"
- CONFIG_PARTITION_TABLE_OFFSET=0x8000
- CONFIG_PARTITION_TABLE_MD5=y
- # end of Partition Table
|