forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsdkconfig.defaults
More file actions
27 lines (23 loc) · 1.13 KB
/
Copy pathsdkconfig.defaults
File metadata and controls
27 lines (23 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_PM_ENABLE=y
# esp32_ble
CONFIG_BT_ENABLED=y
# esp32_camera
CONFIG_SPIRAM=y