2
0

sdkconfig.defaults 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. # Set the known example app config to template example (see user_settings.h)
  2. CONFIG_WOLFSSL_EXAMPLE_NAME_TEMPLATE=y
  3. # Some wolfSSL helpers
  4. CONFIG_USE_WOLFSSL_ESP_SDK_TIME=y
  5. # FreeRTOS ticks at 1ms interval
  6. CONFIG_FREERTOS_UNICORE=y
  7. CONFIG_FREERTOS_HZ=1000
  8. CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
  9. #
  10. # Default main stack size. See user_settings.h
  11. #
  12. # This is typically bigger than needed for stack size.
  13. # Units are words, not bytes. See user_settings.h
  14. #
  15. # For wolfSSL SMALL_STACK, 3072 bytes should be sufficient for benchmark app.
  16. # When using RSA, assign at least 10500 bytes, otherwise 5500 usually works for others
  17. CONFIG_ESP_MAIN_TASK_STACK_SIZE=3584
  18. # Legacy stack size for older ESP-IDF versions
  19. CONFIG_MAIN_TASK_STACK_SIZE=3584
  20. #
  21. # Benchmark must not have CONFIG_NEWLIB_NANO_FORMAT enabled
  22. CONFIG_NEWLIB_NANO_FORMAT=n
  23. #
  24. # Watchdog Timers
  25. #
  26. # We don't want to have the watchdog timeout during tests & benchmarks
  27. #
  28. CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
  29. CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
  30. # Panic & Watchdog
  31. CONFIG_ESP_INT_WDT_TIMEOUT_MS=10000
  32. CONFIG_ESP_TASK_WDT_EN=n
  33. CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
  34. CONFIG_ESP_INT_WDT=n
  35. # ESP8266 Watchdog:
  36. CONFIG_TASK_WDT=n
  37. CONFIG_TASK_WDT_PANIC=n
  38. # ESP8266 WDT
  39. # CONFIG_ESP_PANIC_PRINT_REBOOT is not set
  40. CONFIG_ESP_PANIC_PRINT_REBOOT=n
  41. CONFIG_ESP_PANIC_PRINT_HALT=y
  42. # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set
  43. CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n
  44. # ESP8266 Memory
  45. CONFIG_FREERTOS_GLOBAL_DATA_LINK_IRAM=y
  46. CONFIG_HEAP_DISABLE_IRAM=y
  47. # Performance
  48. # CONFIG_COMPILER_OPTIMIZATION_PERF=y
  49. # Set max CPU frequency (falls back as needed for lower maximum)
  50. CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
  51. # Enable wolfSSL TLS in esp-tls
  52. CONFIG_ESP_TLS_USING_WOLFSSL=y
  53. CONFIG_TLS_STACK_WOLFSSL=y
  54. # Bundles take up flash space and are disabled unless otherwise known to be needed
  55. CONFIG_WOLFSSL_CERTIFICATE_BUNDLE=n
  56. # CONFIG_WOLFSSL_CERTIFICATE_BUNDLE=y
  57. # CONFIG_ESP_WOLFSSL_SMALL_CERT_VERIFY=y
  58. # CONFIG_ESP_TLS_INSECURE=y
  59. # Disable mbedTLS
  60. CONFIG_ESP_TLS_USING_MBEDTLS=n
  61. CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n
  62. # Some wolfSSL helpers
  63. CONFIG_USE_WOLFSSL_ESP_SDK_TIME=n
  64. # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set
  65. CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n
  66. # ESP8266 Memory
  67. CONFIG_FREERTOS_GLOBAL_DATA_LINK_IRAM=y
  68. CONFIG_HEAP_DISABLE_IRAM=y
  69. # Performance
  70. # CONFIG_COMPILER_OPTIMIZATION_PERF=y
  71. # Ensure mbedTLS options are disabled
  72. # CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=n
  73. # CONFIG_MBEDTLS_TLS_CLIENT_ONLY=n
  74. # CONFIG_MBEDTLS_TLS_SERVER=n
  75. # CONFIG_MBEDTLS_TLS_CLIENT=n
  76. # CONFIG_MBEDTLS_HARDWARE_AES=n
  77. # CONFIG_MBEDTLS_HARDWARE_MPI=n
  78. # CONFIG_MBEDTLS_HARDWARE_SHA=n
  79. # CONFIG_MBEDTLS_ROM_MD5=n
  80. # CONFIG_MBEDTLS_SSL_RENEGOTIATION=n
  81. # CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=n
  82. # CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1=n
  83. # CONFIG_MBEDTLS_SSL_ALPN=n
  84. # CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=n
  85. # CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS=n
  86. # The same-name config is used for both WiFi and client/server TLS, so we cannot disable:
  87. # CONFIG_MBEDTLS_TLS_ENABLED=n
  88. # CONFIG_MBEDTLS_TLS_DISABLED=y
  89. #
  90. # Compiler options
  91. #
  92. CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
  93. # CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
  94. # CONFIG_COMPILER_OPTIMIZATION_PERF is not set
  95. # CONFIG_COMPILER_OPTIMIZATION_NONE is not set
  96. CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
  97. # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
  98. # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
  99. CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y
  100. CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
  101. # CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
  102. CONFIG_COMPILER_HIDE_PATHS_MACROS=y
  103. # CONFIG_COMPILER_CXX_EXCEPTIONS is not set
  104. # CONFIG_COMPILER_CXX_RTTI is not set
  105. # CONFIG_COMPILER_STACK_CHECK_MODE_NONE is not set
  106. CONFIG_COMPILER_STACK_CHECK_MODE_NORM=y
  107. # CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set
  108. # CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set
  109. CONFIG_COMPILER_STACK_CHECK=y
  110. # CONFIG_COMPILER_WARN_WRITE_STRINGS is not set
  111. # CONFIG_COMPILER_SAVE_RESTORE_LIBCALLS is not set
  112. # CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set
  113. # CONFIG_COMPILER_DUMP_RTL_FILES is not set
  114. # end of Compiler options
  115. # We don't know that the min is actually v2,
  116. # but this is the earliest tested.
  117. CONFIG_ESP32C3_REV_MIN_2=y
  118. #
  119. # Partition Table
  120. #
  121. # CONFIG_PARTITION_TABLE_SINGLE_APP is not set
  122. CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
  123. # CONFIG_PARTITION_TABLE_TWO_OTA is not set
  124. # CONFIG_PARTITION_TABLE_CUSTOM is not set
  125. CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
  126. CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv"
  127. CONFIG_PARTITION_TABLE_OFFSET=0x8000
  128. CONFIG_PARTITION_TABLE_MD5=y
  129. # end of Partition Table