-
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.
Browse files
Browse the repository at this point in the history
* ESP32: Add support for ESP32-P4 * Restyled by clang-format * Restyled by prettier-yaml --------- Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
9b008bc
commit 43aa98c
Showing
8 changed files
with
106 additions
and
18 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
37 changes: 37 additions & 0 deletions
37
examples/all-clusters-app/esp32/sdkconfig.defaults.esp32p4
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,37 @@ | ||
CONFIG_IDF_TARGET="esp32p4" | ||
|
||
# Flash size and partition | ||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
|
||
# Enable BLE Host but use remote controller | ||
CONFIG_BT_ENABLED=y | ||
CONFIG_BT_NIMBLE_ENABLED=y | ||
CONFIG_BT_NIMBLE_TRANSPORT_UART=n | ||
CONFIG_ESP_ENABLE_BT=y | ||
|
||
# Increase main task stack size | ||
CONFIG_ESP_MAIN_TASK_STACK_SIZE=4096 | ||
|
||
# Disable Wi-Fi Soft AP | ||
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n | ||
|
||
# LwIP | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=y | ||
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6 | ||
|
||
# mbedtls | ||
CONFIG_MBEDTLS_HKDF_C=y | ||
|
||
# Matter shell | ||
CONFIG_ENABLE_CHIP_SHELL=y | ||
|
||
# OTA requestor | ||
CONFIG_ENABLE_OTA_REQUESTOR=y | ||
|
||
# Do not deinit BLE after commissioning | ||
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n | ||
|
||
# ESP32-P4 Function EV Board use ESP32C6 as slave device | ||
CONFIG_SLAVE_IDF_TARGET_ESP32C6=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
CONFIG_IDF_TARGET="esp32p4" | ||
|
||
# Flash size and partition | ||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
|
||
# Enable BLE Host but use remote controller | ||
CONFIG_BT_ENABLED=y | ||
CONFIG_BT_NIMBLE_ENABLED=y | ||
CONFIG_BT_NIMBLE_TRANSPORT_UART=n | ||
CONFIG_ESP_ENABLE_BT=y | ||
|
||
# Increase main task stack size | ||
CONFIG_ESP_MAIN_TASK_STACK_SIZE=4096 | ||
|
||
# Disable Wi-Fi Soft AP | ||
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n | ||
|
||
# LwIP | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=y | ||
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6 | ||
|
||
# mbedtls | ||
CONFIG_MBEDTLS_HKDF_C=y | ||
|
||
# Matter shell | ||
CONFIG_ENABLE_CHIP_SHELL=y | ||
|
||
# OTA requestor | ||
CONFIG_ENABLE_OTA_REQUESTOR=y | ||
|
||
# Do not deinit BLE after commissioning | ||
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n | ||
|
||
# ESP32-P4 Function EV Board use ESP32C6 as slave device | ||
CONFIG_SLAVE_IDF_TARGET_ESP32C6=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
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