forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ESP32] CI: Build applications for C6 and H2 targets and added light-…
…switch (project-chip#28515) * [ESP32] CI: Build applications for C6 and H2 targets and added light-swich * Its a 4M flash device * Enable CONFIG_MBEDTLS_HKDF_C for C6
- Loading branch information
Showing
4 changed files
with
108 additions
and
4 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
35 changes: 35 additions & 0 deletions
35
examples/light-switch-app/esp32/sdkconfig.defaults.esp32c3
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,35 @@ | ||
CONFIG_IDF_TARGET="esp32c3" | ||
CONFIG_IDF_TARGET_ESP32C3=y | ||
CONFIG_DEVICE_TYPE_ESP32_C3_DEVKITM=y | ||
|
||
# Default to 921600 baud when flashing and monitoring device | ||
CONFIG_ESPTOOLPY_BAUD_921600B=y | ||
CONFIG_ESPTOOLPY_BAUD=921600 | ||
CONFIG_ESPTOOLPY_COMPRESSED=y | ||
CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y | ||
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 | ||
|
||
#enable BT | ||
CONFIG_BT_ENABLED=y | ||
CONFIG_BT_NIMBLE_ENABLED=y | ||
|
||
#enable lwip ipv6 autoconfig | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=y | ||
|
||
# Use a custom partition table | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
|
||
#enable lwIP route hooks | ||
CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT=y | ||
CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT=y | ||
|
||
# Serial Flasher config | ||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE="4MB" | ||
|
||
# Enable HKDF in mbedtls | ||
CONFIG_MBEDTLS_HKDF_C=y | ||
|
||
# Move functions from IRAM to flash | ||
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=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,60 @@ | ||
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 HKDF in mbedtls | ||
CONFIG_MBEDTLS_HKDF_C=y |