sdkconfig.defaults 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # Note that during the build process, settings from sdkconfig.defaults will not override those already in sdkconfig.
  2. # See https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#custom-sdkconfig-defaults
  3. CONFIG_BENCH_ARGV="-lng 0"
  4. CONFIG_FREERTOS_HZ=1000
  5. CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
  6. #
  7. # Default main stack size. See user_settings.h
  8. #
  9. # For wolfSSL SMALL_STACK, 3072 bytes should be sufficient for benchmark app.
  10. # When using RSA, assign at least 10500 bytes, otherwise 5500 usually works for others
  11. CONFIG_ESP_MAIN_TASK_STACK_SIZE=10500
  12. # Legacy stack size for older ESP-IDF versions
  13. CONFIG_MAIN_TASK_STACK_SIZE=10500
  14. #
  15. # Benchmark must not have CONFIG_NEWLIB_NANO_FORMAT enabled
  16. CONFIG_NEWLIB_NANO_FORMAT=n
  17. #
  18. # Watchdog Timers
  19. #
  20. # We don't want to have the watchdog timeout during tests & benchmarks
  21. #
  22. CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
  23. CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
  24. # Panic & Watchdog
  25. CONFIG_ESP_INT_WDT_TIMEOUT_MS=10000
  26. CONFIG_ESP_TASK_WDT_EN=n
  27. CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
  28. CONFIG_ESP_INT_WDT=n
  29. # ESP8266 WDT
  30. # CONFIG_ESP_PANIC_PRINT_REBOOT is not set
  31. CONFIG_ESP_PANIC_PRINT_REBOOT=n
  32. CONFIG_ESP_PANIC_PRINT_HALT=y
  33. # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set
  34. CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n
  35. # ESP8266 Memory
  36. CONFIG_FREERTOS_GLOBAL_DATA_LINK_IRAM=y
  37. CONFIG_HEAP_DISABLE_IRAM=y
  38. # Performance
  39. # CONFIG_COMPILER_OPTIMIZATION_PERF=y
  40. # Set max COU frequency (falls back as needed for lower maximum)
  41. CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
  42. # FreeRTOS ticks at 1ms interval
  43. CONFIG_FREERTOS_UNICORE=y
  44. CONFIG_FREERTOS_HZ=1000
  45. #
  46. # Compiler options
  47. #
  48. CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
  49. # CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
  50. # CONFIG_COMPILER_OPTIMIZATION_PERF is not set
  51. # CONFIG_COMPILER_OPTIMIZATION_NONE is not set
  52. CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
  53. # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
  54. # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
  55. CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y
  56. CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
  57. # CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
  58. CONFIG_COMPILER_HIDE_PATHS_MACROS=y
  59. # CONFIG_COMPILER_CXX_EXCEPTIONS is not set
  60. # CONFIG_COMPILER_CXX_RTTI is not set
  61. # CONFIG_COMPILER_STACK_CHECK_MODE_NONE is not set
  62. CONFIG_COMPILER_STACK_CHECK_MODE_NORM=y
  63. # CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set
  64. # CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set
  65. CONFIG_COMPILER_STACK_CHECK=y
  66. # CONFIG_COMPILER_WARN_WRITE_STRINGS is not set
  67. # CONFIG_COMPILER_SAVE_RESTORE_LIBCALLS is not set
  68. # CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set
  69. # CONFIG_COMPILER_DUMP_RTL_FILES is not set
  70. # end of Compiler options
  71. # We don't know that the min is actually v2,
  72. # but this is the earliest tested.
  73. CONFIG_ESP32C3_REV_MIN_2=y
  74. #
  75. # Partition Table
  76. #
  77. # CONFIG_PARTITION_TABLE_SINGLE_APP is not set
  78. CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
  79. # CONFIG_PARTITION_TABLE_TWO_OTA is not set
  80. # CONFIG_PARTITION_TABLE_CUSTOM is not set
  81. CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
  82. CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv"
  83. CONFIG_PARTITION_TABLE_OFFSET=0x8000
  84. CONFIG_PARTITION_TABLE_MD5=y
  85. # end of Partition Table