Skip to content

Commit f8306bc

Browse files
rwalton-armPatater
authored andcommitted
Update pyOCD to v0.31.0
Fix the FileProgrammer import path as that has changed.
1 parent 25748a6 commit f8306bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ def read(fname):
8484
install_requires=requirements,
8585
tests_require=test_requirements,
8686
extras_require={
87-
"pyocd": ["pyocd==0.14.0"]
87+
"pyocd": ["pyocd>=0.31.0"]
8888
},
8989
)

src/mbed_os_tools/test/host_tests_plugins/module_copy_pyocd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
try:
2020
from pyocd.core.helpers import ConnectHelper
21-
from pyocd.flash.loader import FileProgrammer
21+
from pyocd.flash.file_programmer import FileProgrammer
2222
PYOCD_PRESENT = True
2323
except ImportError:
2424
PYOCD_PRESENT = False

0 commit comments

Comments
 (0)