Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ab9a0f

Browse filesBrowse files
feat(zigbee): Update to esp-zigbee-sdk 1.6.5 and fix ci.json files (#11436)
* feat(zigbee): Update esp-zigbee-sdk and fix ci.json files * fix(ci): Check if LED_BUILTIN exist * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent a6bba43 commit 0ab9a0f
Copy full SHA for 0ab9a0f

File tree

Expand file treeCollapse file tree

4 files changed

+10
-5
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+10
-5
lines changed

‎idf_component.yml

Copy file name to clipboardExpand all lines: idf_component.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ dependencies:
5454
espressif/esp_modem:
5555
version: "^1.1.0"
5656
espressif/esp-zboss-lib:
57-
version: "==1.6.3"
57+
version: "==1.6.4" # compatible with esp-zigbee-lib 1.6.5
5858
require: public
5959
rules:
6060
- if: "target not in [esp32c2, esp32p4]"
6161
espressif/esp-zigbee-lib:
62-
version: "==1.6.3"
62+
version: "==1.6.5"
6363
require: public
6464
rules:
6565
- if: "target not in [esp32c2, esp32p4]"
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"fqbn_append": "PartitionScheme=zigbee_zczr,ZigbeeMode=zczr",
33
"requires": [
4-
"CONFIG_SOC_IEEE802154_SUPPORTED=y"
4+
"CONFIG_ZB_ENABLED=y"
55
]
66
}

‎libraries/Zigbee/examples/Zigbee_Power_Outlet/Zigbee_Power_Outlet.ino

Copy file name to clipboardExpand all lines: libraries/Zigbee/examples/Zigbee_Power_Outlet/Zigbee_Power_Outlet.ino
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@
3434

3535
/* Zigbee power outlet configuration */
3636
#define ZIGBEE_OUTLET_ENDPOINT 1
37-
uint8_t led = RGB_BUILTIN;
37+
38+
#ifdef LED_BUILTIN // Use built-in LED if defined for the board
39+
uint8_t led = LED_BUILTIN;
40+
#else
41+
uint8_t led = 2; // Use custom LED pin
42+
#endif
43+
3844
uint8_t button = BOOT_PIN;
3945

4046
ZigbeePowerOutlet zbOutlet = ZigbeePowerOutlet(ZIGBEE_OUTLET_ENDPOINT);
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"fqbn_append": "PartitionScheme=zigbee_zczr,ZigbeeMode=zczr",
33
"requires": [
4-
"CONFIG_SOC_IEEE802154_SUPPORTED=y",
54
"CONFIG_ZB_ENABLED=y"
65
]
76
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.