Open
Description
Description
When using the pyocd flash plugin (e.g with mbedgt -c pyocd) with pyocd version 0.24 or greater the following error is seen:
The "pyocd" feature is not installed. Please run "pip install mbed-os-tools[pyocd]" to enable the "pyocd" copy plugin.
Downgrading pyocd to version 0.23 or less fixes the issue.
The culprit is this line: https://github.com/ARMmbed/mbed-os-tools/blob/master/src/mbed_os_tools/test/host_tests_plugins/module_copy_pyocd.py#L21 which imports the FileProgrammer from pyocd. With recent versions of pyocd FileProgrammer was refactored into its own file. See: pyocd/pyOCD#790 and pyocd/pyOCD@a437e14
Issue request type
[ ] Question
[ ] Enhancement
[x ] Bug