-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESP32: Fix build failure of light switch app for esp32h2.
- Loading branch information
1 parent
06edeee
commit 48e0f80
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
examples/light-switch-app/esp32/sdkconfig.defaults.esp32h2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CONFIG_IDF_TARGET="esp32h2" | ||
|
||
# Enable OpenThread | ||
CONFIG_OPENTHREAD_ENABLED=y | ||
CONFIG_OPENTHREAD_SRP_CLIENT=y | ||
CONFIG_OPENTHREAD_LOG_LEVEL_DYNAMIC=n | ||
CONFIG_OPENTHREAD_LOG_LEVEL_NOTE=y | ||
CONFIG_OPENTHREAD_CLI=n | ||
CONFIG_OPENTHREAD_DNS_CLIENT=y | ||
|
||
# Disable lwip ipv6 autoconfig | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=n | ||
|
||
# LwIP config for OpenThread | ||
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8 | ||
CONFIG_LWIP_MULTICAST_PING=y | ||
|
||
# MDNS platform | ||
CONFIG_USE_MINIMAL_MDNS=n | ||
CONFIG_ENABLE_EXTENDED_DISCOVERY=y | ||
|
||
# Disable STA for ESP32H2 | ||
CONFIG_ENABLE_WIFI_STATION=n | ||
|
||
# Enable nano format | ||
CONFIG_NEWLIB_NANO_FORMAT=y |