mirror of
https://github.com/esphome/esphome.git
synced 2026-11-09 14:45:57 +00:00
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Rapsssito <contact@rodrigomartin.dev> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 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_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=2
|
|
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
|
|
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
|
|
CONFIG_PM_ENABLE=y
|
|
|
|
# esp32_ble
|
|
CONFIG_BT_ENABLED=y
|
|
|
|
# esp32_camera
|
|
CONFIG_SPIRAM=y
|
|
|
|
# modem
|
|
CONFIG_LWIP_PPP_SUPPORT=y
|
|
CONFIG_ESP_MODEM_URC_HANDLER=y
|