Skip to content

feat(matter): removes CHIPOBLE to manage it case by case #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: release/v5.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion configs/defconfig.common
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ CONFIG_I2S_ISR_IRAM_SAFE=y
# Matter Settings
#
# Disable Matter BLE
CONFIG_ENABLE_CHIPOBLE=n
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n
# ESP Insights
CONFIG_ENABLE_ESP_INSIGHTS_TRACE=n
Expand Down
3 changes: 3 additions & 0 deletions configs/defconfig.esp32
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096

# Matter settings:
CONFIG_ENABLE_CHIPOBLE=n
3 changes: 3 additions & 0 deletions configs/defconfig.esp32c3
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ CONFIG_ESP_WIFI_SCAN_CACHE=y
CONFIG_ESP_WIFI_MBO_SUPPORT=y
CONFIG_ESP_WIFI_11R_SUPPORT=y
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096

# Matter settings:
CONFIG_ENABLE_CHIPOBLE=y
8 changes: 6 additions & 2 deletions configs/defconfig.esp32c5
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
# end of OpenThread

# Matter shall use only WiFi
CONFIG_ENABLE_MATTER_OVER_THREAD=n
# Matter settings: WiFi and OpenThread + CHIPoBLE
CONFIG_ENABLE_CHIPOBLE=y
CONFIG_ENABLE_MATTER_OVER_THREAD=y
# Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id.
CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
CONFIG_WIFI_NETWORK_ENDPOINT_ID=0

#
# Zigbee
Expand Down
8 changes: 6 additions & 2 deletions configs/defconfig.esp32c6
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
# end of OpenThread

# Matter shall use only WiFi
CONFIG_ENABLE_MATTER_OVER_THREAD=n
# Matter settings: WiFi and OpenThread + CHIPoBLE
CONFIG_ENABLE_CHIPOBLE=y
CONFIG_ENABLE_MATTER_OVER_THREAD=y
# Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id.
CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
CONFIG_WIFI_NETWORK_ENDPOINT_ID=0

#
# Zigbee
Expand Down
10 changes: 10 additions & 0 deletions configs/defconfig.esp32h2
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
# end of OpenThread

# Matter settings: OpenThread + CHIPoBLE
CONFIG_ENABLE_CHIPOBLE=y
CONFIG_ENABLE_MATTER_OVER_THREAD=y
# Disable Matter over WiFi
CONFIG_ENABLE_WIFI_AP=n
CONFIG_ENABLE_WIFI_STATION=n
# Set endpoint id for Thread
CONFIG_THREAD_NETWORK_ENDPOINT_ID=0


#
# Zigbee
#
Expand Down
3 changes: 3 additions & 0 deletions configs/defconfig.esp32s2
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ CONFIG_ULP_COPROC_ENABLED=y
CONFIG_ULP_COPROC_TYPE_FSM=y
# CONFIG_ULP_COPROC_TYPE_RISCV=y
CONFIG_ULP_COPROC_RESERVE_MEM=512

# Matter settings:
CONFIG_ENABLE_CHIPOBLE=n
3 changes: 3 additions & 0 deletions configs/defconfig.esp32s3
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ CONFIG_ULP_COPROC_RESERVE_MEM=512
# RGB Display Optimizations
# CONFIG_LCD_RGB_ISR_IRAM_SAFE is not set
CONFIG_LCD_RGB_RESTART_IN_VSYNC=y

# Matter settings:
CONFIG_ENABLE_CHIPOBLE=y
2 changes: 1 addition & 1 deletion main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ dependencies:
version: "1.4.1"
require: public
rules:
- if: "target not in [esp32c2, esp32h2, esp32p4]"
- if: "target not in [esp32c2, esp32p4]"