-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Silabs] Add silabs zephyr light #39998
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
base: master
Are you sure you want to change the base?
[Silabs] Add silabs zephyr light #39998
Conversation
400226c
to
30e4db0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a new lighting-app example for Zephyr on Silabs platforms. The changes are extensive, including new source code, build scripts, and documentation. The overall structure is good, but I've found a few issues, including some high-severity configuration problems that could lead to build failures, and some areas in the documentation that could be clearer. Addressing these points will improve the quality and usability of the new example.
examples/lighting-app/silabs/zephyr/boards/siwx917_rb4338a.overlay
Outdated
Show resolved
Hide resolved
PR #39998: Size comparison from eb24758 to d0402ea Full report (70 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
#### Commission the device over BLE-WiFi: | ||
|
||
```bash | ||
./out/linux-x64-chip-tool/chip-tool pairing ble-wifi 1 ${SSID} ${PASSWORD} 20202021 3840 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./out/linux-x64-chip-tool/chip-tool pairing ble-wifi 1 ${SSID} ${PASSWORD} 20202021 3840 | |
./out/linux-x64-chip-tool/chip-tool pairing ble-wifi ${NODE_ID} ${SSID} ${PASSWORD} 20202021 3840 |
|
||
```bash | ||
# Turn on the light | ||
./out/linux-x64-chip-tool/chip-tool onoff on 1 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess if {NODE_ID} is used as suggested above the follow-up command should use that too
|
||
Where: | ||
|
||
- `1` is the node ID assigned to the device |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That works too. As you prefer.
@@ -0,0 +1,57 @@ | |||
/* | |||
* Copyright (c) 2024 Project CHIP Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Copyright (c) 2024 Project CHIP Authors | |
* Copyright (c) 2025 Project CHIP Authors |
@@ -0,0 +1,69 @@ | |||
# | |||
# Copyright (c) 2022 Project CHIP Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Copyright (c) 2022 Project CHIP Authors | |
# Copyright (c) 2025 Project CHIP Authors |
@@ -0,0 +1,27 @@ | |||
# | |||
# Copyright (c) 2022 Project CHIP Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Copyright (c) 2022 Project CHIP Authors | |
# Copyright (c) 2025 Project CHIP Authors |
PR template asks for a bit more details about what was tested to help reviewers in their duty |
Summary
Add Lighting-app application for Zephyr
Does not work yet as is since the whole Zephyr support was broken down into multiples small PR.
Related issues
none
Testing
Tested internally at Silicon Labs