Skip to content

Implement pyOCD SWD/JTAG programming support with dynamic target detection#36

Draft
andrewleech wants to merge 12 commits into
Josverl:mainfrom
andrewleech:pyocd
Draft

Implement pyOCD SWD/JTAG programming support with dynamic target detection#36
andrewleech wants to merge 12 commits into
Josverl:mainfrom
andrewleech:pyocd

feat: Add handling for known dependency issues with pyOCD on Python 3…

f5e0760
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed May 15, 2026 in 1s

70.59% (-4.96%) compared to f75f06a

View this Pull Request on Codecov

70.59% (-4.96%) compared to f75f06a

Details

Codecov Report

❌ Patch coverage is 48.86076% with 404 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.59%. Comparing base (f75f06a) to head (f5e0760).

Files with missing lines Patch % Lines
mpflash/cli_pyocd.py 14.38% 125 Missing ⚠️
mpflash/flash/pyocd_core.py 60.81% 100 Missing and 25 partials ⚠️
mpflash/flash/pyocd_flash.py 39.22% 109 Missing and 1 partial ⚠️
mpflash/flash/__init__.py 34.54% 32 Missing and 4 partials ⚠️
mpflash/flash/debug_probe.py 87.09% 7 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   75.55%   70.59%   -4.96%     
==========================================
  Files          54       58       +4     
  Lines        3031     3809     +778     
  Branches      488      622     +134     
==========================================
+ Hits         2290     2689     +399     
- Misses        621      974     +353     
- Partials      120      146      +26     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.