Skip to content

Conversation

JordanYates
Copy link
Contributor

Add a basic implementation of performing a DFU to the newest application version from an image on an exFAT filesystem. Typically this is going to be a SD card.

Update zephyr fork to simplify BME280 driver.

Signed-off-by: Jordan Yates <[email protected]>
Add a function to feed all watchdog channels for situations where the
CPU is expected to be significantly blocked.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates force-pushed the feature/exfat_dfu branch 2 times, most recently from d924b27 to b786a99 Compare September 12, 2024 10:21
Add a function to claim the exfat filesystem object for external use.
This is required as the filesystem object is not thread-safe by itself.

Signed-off-by: Jordan Yates <[email protected]>
Add a basic implementation of performing a DFU to the newest application
version from an image on an exFAT filesystem. Typically this is going to
be a SD card.

Signed-off-by: Jordan Yates <[email protected]>
Add tests for detecting the newest image and copying that image to
a flash area.

Signed-off-by: Jordan Yates <[email protected]>
Enable upgrading the application from an SD card if it exists.

Signed-off-by: Jordan Yates <[email protected]>
Increment version to `v0.1.0`.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 73.63636% with 29 lines in your changes missing coverage. Please review.

Project coverage is 92.06%. Comparing base (16043e9) to head (6e9c454).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
subsys/dfu/dfu_exfat.c 64.55% 17 Missing and 11 partials ⚠️
subsys/data_logger/backends/exfat_multi_file.c 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   92.74%   92.06%   -0.69%     
==========================================
  Files         103      104       +1     
  Lines        3834     3943     +109     
  Branches      597      619      +22     
==========================================
+ Hits         3556     3630      +74     
- Misses        137      158      +21     
- Partials      141      155      +14     

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

@JordanYates JordanYates merged commit 41da40a into main Sep 12, 2024
10 checks passed
@JordanYates JordanYates deleted the feature/exfat_dfu branch September 12, 2024 11:23
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.

1 participant