-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add bootloader reset for SMLIGHT SLZB-07 #63
Merged
Merged
Conversation
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
Chip number for USB gpio chips will depend on what other system gpio chips already exist on the system. Add support to search by chip label to find chip number.
puddly
reviewed
Feb 6, 2024
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #63 +/- ##
==========================================
- Coverage 62.45% 61.78% -0.68%
==========================================
Files 14 14
Lines 1718 1748 +30
==========================================
+ Hits 1073 1080 +7
- Misses 645 668 +23 ☔ View full report in Codecov by Sentry. |
robarnold
referenced
this pull request
in marinatedconcrete/config
Feb 28, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [universal-silabs-flasher](https://github.com/NabuCasa/universal-silabs-flasher) | `==0.0.17` -> `==0.0.19` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/universal-silabs-flasher/0.0.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/universal-silabs-flasher/0.0.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/universal-silabs-flasher/0.0.17/0.0.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/universal-silabs-flasher/0.0.17/0.0.19?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>NabuCasa/universal-silabs-flasher (universal-silabs-flasher)</summary> ### [`v0.0.19`](https://github.com/NabuCasa/universal-silabs-flasher/releases/tag/v0.0.19) [Compare Source](https://github.com/NabuCasa/universal-silabs-flasher/compare/v0.0.18...v0.0.19) #### What's Changed - Add bootloader reset for SMLIGHT SLZB-07 by [@​tl-sl](https://github.com/tl-sl) in [https://github.com/NabuCasa/universal-silabs-flasher/pull/63](https://github.com/NabuCasa/universal-silabs-flasher/pull/63) #### New Contributors - [@​tl-sl](https://github.com/tl-sl) made their first contribution in [https://github.com/NabuCasa/universal-silabs-flasher/pull/63](https://github.com/NabuCasa/universal-silabs-flasher/pull/63) **Full Changelog**: NabuCasa/universal-silabs-flasher@v0.0.18...v0.0.19 ### [`v0.0.18`](https://github.com/NabuCasa/universal-silabs-flasher/releases/tag/v0.0.18) [Compare Source](https://github.com/NabuCasa/universal-silabs-flasher/compare/v0.0.17...v0.0.18) #### What's Changed - Bump minimum bellows version to 0.38.0 by [@​puddly](https://github.com/puddly) in [https://github.com/NabuCasa/universal-silabs-flasher/pull/65](https://github.com/NabuCasa/universal-silabs-flasher/pull/65) **Full Changelog**: NabuCasa/universal-silabs-flasher@v0.0.17...v0.0.18 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/marinatedconcrete/config). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New hardware revision of SMLIGHT SLZB-07 dongle will have bootloader reset hooked up to the GPIO on the CP2102N chip. GPIO drivers for this have been included in mainline Linux since long ago and it works fine with gpiod.
As this is a USB chip the actual chip number for the
/dev/gpiochip
device will depend on what other system gpio devices might already exist on the system. So have added support to search by chip label to find the chip number, which will return the path of first found CP210X USB chip. Both gpiod API's are covered and have been tested.slzb-07 is added with the
chip_name
key to activate above search.Patches by @darkxst on behalf of @smlight-dev.