mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 16:04:55 +00:00
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
# ESP-IDF sdkconfig defaults used for development purposes only, not used during runtime. Used for static analysis
|
|
# (clang-tidy) -- by both the PlatformIO and the native ESP-IDF toolchain paths -- and when PlatformIO is run directly
|
|
# from the source directory (e.g. by IDEs). This should enable all flags that are set by any component.
|
|
|
|
# clang-tidy analyzes with clang, and IDF 6 only offers newlib under clang
|
|
# (picolibc's Kconfig depends on !IDF_TOOLCHAIN_CLANG). The idedata is generated
|
|
# with GCC, whose default is picolibc -- but clang-tidy uses the toolchain's
|
|
# newlib headers, so a picolibc build config mismatches them (IDF's hal/assert.h
|
|
# redeclares abort()/__assert_func() with [[noreturn]] after newlib's stdlib.h,
|
|
# tripping clang-diagnostic-error). Pin newlib to match the analyzed headers.
|
|
CONFIG_LIBC_NEWLIB=y
|
|
|
|
# esp32
|
|
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
|
CONFIG_FREERTOS_HZ=1000
|
|
CONFIG_ESP_TASK_WDT_INIT=y
|
|
CONFIG_ESP_TASK_WDT_PANIC=y
|
|
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
|
|
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
|
|
|
|
# esp32_ble
|
|
CONFIG_BT_ENABLED=y
|
|
|
|
# esp32_camera
|
|
CONFIG_SPIRAM=y
|