-
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.
ESP: Add support on all-clusters-app and lighting-app for ESP32-C6 (#…
- Loading branch information
Showing
12 changed files
with
180 additions
and
27 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
64 changes: 64 additions & 0 deletions
64
examples/all-clusters-app/esp32/sdkconfig.defaults.esp32c6
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,64 @@ | ||
CONFIG_IDF_TARGET="esp32c6" | ||
|
||
# Default to 921600 baud when flashing and monitoring device | ||
CONFIG_ESPTOOLPY_BAUD_921600B=y | ||
CONFIG_ESPTOOLPY_BAUD=921600 | ||
CONFIG_ESPTOOLPY_COMPRESSED=y | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ="40m" | ||
CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y | ||
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 | ||
|
||
# libsodium | ||
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y | ||
|
||
|
||
# NIMBLE | ||
CONFIG_BT_ENABLED=y | ||
CONFIG_BT_NIMBLE_ENABLED=y | ||
CONFIG_BT_NIMBLE_EXT_ADV=n | ||
CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE=70 | ||
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n | ||
|
||
# Disable OpenThread | ||
CONFIG_OPENTHREAD_ENABLED=n | ||
|
||
# Disable lwip ipv6 autoconfig | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=n | ||
|
||
# Use a custom partition table | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
|
||
# LwIP config for OpenThread | ||
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8 | ||
CONFIG_LWIP_MULTICAST_PING=y | ||
|
||
# mbedTLS | ||
CONFIG_MBEDTLS_HARDWARE_AES=n | ||
CONFIG_MBEDTLS_HARDWARE_MPI=n | ||
CONFIG_MBEDTLS_HARDWARE_SHA=n | ||
CONFIG_MBEDTLS_HARDWARE_ECC=y | ||
CONFIG_MBEDTLS_CMAC_C=y | ||
CONFIG_MBEDTLS_KEY_EXCHANGE_ECJPAKE=y | ||
CONFIG_MBEDTLS_ECJPAKE_C=y | ||
|
||
# MDNS platform | ||
CONFIG_USE_MINIMAL_MDNS=y | ||
CONFIG_ENABLE_EXTENDED_DISCOVERY=y | ||
|
||
# FreeRTOS should use legacy API | ||
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y | ||
|
||
# Wi-Fi Settings | ||
CONFIG_ENABLE_WIFI_STATION=y | ||
CONFIG_ENABLE_WIFI_AP=n | ||
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp' | ||
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y | ||
|
||
# Enable OTA Requestor | ||
CONFIG_ENABLE_OTA_REQUESTOR=y | ||
|
||
# Enable chip shell | ||
CONFIG_ENABLE_CHIP_SHELL=y |
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
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,64 @@ | ||
CONFIG_IDF_TARGET="esp32c6" | ||
|
||
# Default to 921600 baud when flashing and monitoring device | ||
CONFIG_ESPTOOLPY_BAUD_921600B=y | ||
CONFIG_ESPTOOLPY_BAUD=921600 | ||
CONFIG_ESPTOOLPY_COMPRESSED=y | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ="40m" | ||
CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y | ||
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 | ||
|
||
# libsodium | ||
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y | ||
|
||
|
||
# NIMBLE | ||
CONFIG_BT_ENABLED=y | ||
CONFIG_BT_NIMBLE_ENABLED=y | ||
CONFIG_BT_NIMBLE_EXT_ADV=n | ||
CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE=70 | ||
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n | ||
|
||
# Disable OpenThread | ||
CONFIG_OPENTHREAD_ENABLED=n | ||
|
||
# Disable lwip ipv6 autoconfig | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=n | ||
|
||
# Use a custom partition table | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
|
||
# LwIP config for OpenThread | ||
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8 | ||
CONFIG_LWIP_MULTICAST_PING=y | ||
|
||
# mbedTLS | ||
CONFIG_MBEDTLS_HARDWARE_AES=n | ||
CONFIG_MBEDTLS_HARDWARE_MPI=n | ||
CONFIG_MBEDTLS_HARDWARE_SHA=n | ||
CONFIG_MBEDTLS_HARDWARE_ECC=y | ||
CONFIG_MBEDTLS_CMAC_C=y | ||
CONFIG_MBEDTLS_KEY_EXCHANGE_ECJPAKE=y | ||
CONFIG_MBEDTLS_ECJPAKE_C=y | ||
|
||
# MDNS platform | ||
CONFIG_USE_MINIMAL_MDNS=y | ||
CONFIG_ENABLE_EXTENDED_DISCOVERY=y | ||
|
||
# FreeRTOS should use legacy API | ||
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y | ||
|
||
# Wi-Fi Settings | ||
CONFIG_ENABLE_WIFI_STATION=y | ||
CONFIG_ENABLE_WIFI_AP=n | ||
# Enable this to avoid implicit declaration of function 'esp_send_assoc_resp' | ||
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y | ||
|
||
# Enable OTA Requestor | ||
CONFIG_ENABLE_OTA_REQUESTOR=y | ||
|
||
# Enable chip shell | ||
CONFIG_ENABLE_CHIP_SHELL=y |
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
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