-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bsp_integration' into 'main'
Changed HAL to use BSP See merge request app-frameworks/esp-matter!547
- Loading branch information
Showing
12 changed files
with
180 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRCS app_reset.cpp | ||
INCLUDE_DIRS . | ||
REQUIRES device esp_matter) | ||
REQUIRES button esp_matter) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#enable BT | ||
CONFIG_BT_ENABLED=y | ||
CONFIG_BT_NIMBLE_ENABLED=y | ||
|
||
#disable BT connection reattempt | ||
CONFIG_BT_NIMBLE_ENABLE_CONN_REATTEMPT=n | ||
|
||
#enable lwip ipv6 autoconfig | ||
CONFIG_LWIP_IPV6_AUTOCONFIG=y | ||
|
||
# Use a custom partition table | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" | ||
CONFIG_PARTITION_TABLE_OFFSET=0xC000 | ||
|
||
# Enable chip shell | ||
CONFIG_ENABLE_CHIP_SHELL=y | ||
|
||
#enable lwIP route hooks | ||
CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT=y | ||
CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT=y | ||
|
||
# Button | ||
CONFIG_BUTTON_PERIOD_TIME_MS=20 | ||
CONFIG_BUTTON_LONG_PRESS_TIME_MS=5000 | ||
|
||
# disable softap by default | ||
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n | ||
|
||
# Disable DS Peripheral | ||
CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL=n | ||
|
||
# Use compact attribute storage mode | ||
CONFIG_ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE=y | ||
|
||
# Enable HKDF in mbedtls | ||
CONFIG_MBEDTLS_HKDF_C=y | ||
|
||
# Increase LwIP IPv6 address number to 6 (MAX_FABRIC + 1) | ||
# unique local addresses for fabrics(MAX_FABRIC), a link local address(1) | ||
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6 | ||
|
||
# ESP32-S3-DevKitC-1 Settings | ||
# Buttons | ||
CONFIG_BSP_BUTTONS_NUM=1 | ||
CONFIG_BSP_BUTTON_1_TYPE_GPIO=y | ||
CONFIG_BSP_BUTTON_1_GPIO=0 | ||
CONFIG_BSP_BUTTON_1_LEVEL=0 | ||
# LEDs | ||
CONFIG_BSP_LEDS_NUM=1 | ||
CONFIG_BSP_LED_TYPE_RGB=y | ||
CONFIG_BSP_LED_RGB_GPIO=48 | ||
CONFIG_BSP_LED_RGB_BACKEND_RMT=y |