Skip to content
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

EBL parsing #11

Merged
merged 13 commits into from
Jan 4, 2024
Merged

EBL parsing #11

merged 13 commits into from
Jan 4, 2024

Conversation

puddly
Copy link
Collaborator

@puddly puddly commented Dec 18, 2022

Allows for older sticks (e.g. HUSBZB-1) to be flashed.

@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2022

Codecov Report

Base: 60.67% // Head: 63.71% // Increases project coverage by +3.04% 🎉

Coverage data is based on head (47e6b05) compared to base (a6f3f63).
Patch coverage: 88.40% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #11      +/-   ##
==========================================
+ Coverage   60.67%   63.71%   +3.04%     
==========================================
  Files          11       11              
  Lines        1134     1174      +40     
==========================================
+ Hits          688      748      +60     
+ Misses        446      426      -20     
Impacted Files Coverage Δ
universal_silabs_flasher/flash.py 54.54% <33.33%> (ø)
universal_silabs_flasher/gecko_bootloader.py 38.70% <50.00%> (ø)
universal_silabs_flasher/flasher.py 29.67% <66.66%> (+0.56%) ⬆️
universal_silabs_flasher/common.py 67.03% <85.71%> (+1.55%) ⬆️
universal_silabs_flasher/firmware.py 93.45% <94.11%> (ø)
universal_silabs_flasher/cpc_types.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Hedda
Copy link

Hedda commented May 19, 2023

Any updates on Ember Bootload parsing for flashing adapters using Silicon Labs Ember EM35x, EM358x, or ETRX35x SoCs/MCUs?

PS: Off-topic workaround tip; end-users reading this, know third-party Elelabs and/or walthowd utilities can flash Silabs EM/ETRX:

PPS: Unofficial firmware images for EM357, EM3581, EM3585, EM3587, and EM3588 are found in this repository (use at own risk!):

@codecov-commenter
Copy link

Codecov Report

Attention: 26 lines in your changes are missing coverage. Please review.

Comparison is base (4f7fff0) 60.67% compared to head (1cf65ba) 61.97%.
Report is 1 commits behind head on dev.

Files Patch % Lines
universal_silabs_flasher/gecko_bootloader.py 14.28% 12 Missing ⚠️
universal_silabs_flasher/flash.py 12.50% 7 Missing ⚠️
universal_silabs_flasher/firmware.py 94.11% 3 Missing ⚠️
universal_silabs_flasher/flasher.py 50.00% 3 Missing ⚠️
universal_silabs_flasher/common.py 85.71% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #11      +/-   ##
==========================================
+ Coverage   60.67%   61.97%   +1.29%     
==========================================
  Files          14       14              
  Lines        1653     1741      +88     
==========================================
+ Hits         1003     1079      +76     
- Misses        650      662      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@puddly puddly merged commit 50b483a into dev Jan 4, 2024
22 of 24 checks passed
robarnold referenced this pull request in marinatedconcrete/config Jan 4, 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.15` -> `==0.0.16` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/universal-silabs-flasher/0.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/universal-silabs-flasher/0.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/universal-silabs-flasher/0.0.15/0.0.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/universal-silabs-flasher/0.0.15/0.0.16?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.16`](https://github.com/NabuCasa/universal-silabs-flasher/releases/tag/v0.0.16)

[Compare
Source](https://github.com/NabuCasa/universal-silabs-flasher/compare/v0.0.15...v0.0.16)

#### What's Changed

- Compatibility with gpiod 2.x by
[@&#8203;puddly](https://github.com/puddly) in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/50](https://github.com/NabuCasa/universal-silabs-flasher/pull/50)
- Migrate to zigpy CI and pre-commit hooks by
[@&#8203;puddly](https://github.com/puddly) in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/53](https://github.com/NabuCasa/universal-silabs-flasher/pull/53)
- Bootloader reset improvements by
[@&#8203;darkxst](https://github.com/darkxst) in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/51](https://github.com/NabuCasa/universal-silabs-flasher/pull/51)
- Disconnect stream writer without closing the transport by
[@&#8203;puddly](https://github.com/puddly) in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/58](https://github.com/NabuCasa/universal-silabs-flasher/pull/58)
- EBL parsing by [@&#8203;puddly](https://github.com/puddly) in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/11](https://github.com/NabuCasa/universal-silabs-flasher/pull/11)
- Update README.md with bootloader reset option by
[@&#8203;darkxst](https://github.com/darkxst) in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/54](https://github.com/NabuCasa/universal-silabs-flasher/pull/54)
- Run `isort` to fix CI by [@&#8203;puddly](https://github.com/puddly)
in
[https://github.com/NabuCasa/universal-silabs-flasher/pull/59](https://github.com/NabuCasa/universal-silabs-flasher/pull/59)

**Full Changelog**:
NabuCasa/universal-silabs-flasher@v0.0.15...v0.0.16

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants