Handle partitioned and unpartitioned SD cards #32

Merged
matthias merged 1 commits from sd-partition-support into main 2025-08-05 19:51:59 +00:00
Owner

Add utils.MBRPartition to implement basic partitioned device support.

Try to mount partition 1 of SDCard first, if that fails, try to mount
entire device as FAT file system.

Signed-off-by: Matthias Blankertz matthias@blankertz.org

Add utils.MBRPartition to implement basic partitioned device support. Try to mount partition 1 of SDCard first, if that fails, try to mount entire device as FAT file system. Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
matthias self-assigned this 2025-08-05 18:13:39 +00:00
matthias added 1 commit 2025-08-05 18:13:40 +00:00
Handle partitioned and unpartitioned SD cards
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m29s
Check code formatting / Check-C-Format (push) Successful in 45m13s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
fd00a9f12f
Add utils.MBRPartition to implement basic partitioned device support.

Try to mount partition 1 of SDCard first, if that fails, try to mount
entire device as FAT file system.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
matthias requested review from stefank 2025-08-05 18:13:40 +00:00
matthias force-pushed sd-partition-support from fd00a9f12f to e9bd4f72b6 2025-08-05 19:16:59 +00:00 Compare
stefank approved these changes 2025-08-05 19:38:24 +00:00
matthias merged commit 679495bf2b into main 2025-08-05 19:51:59 +00:00
matthias deleted branch sd-partition-support 2025-08-05 19:52:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TonBERRY/tonberry-pico#32