2
0

sdkconfig.defaults 4.3 KB

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