ARMmbed / mbed-cli

Arm Mbed Command Line Interface
https://os.mbed.com
Apache License 2.0
334 stars 176 forks source link

mbed export -i vscode_gcc_arm problem #983

Open tdjastrzebski opened 4 years ago

tdjastrzebski commented 4 years ago

VS Code launch.json config file generated using mbed export -i vscode_gcc_arm, e.g.
mbed export -i vscode_gcc_arm --target NUCLEO_F767ZI --profile debug
uses depreciated pyOCD commands, tries to start depreciated pyocd-gdbserver.exe. Relevant line:
"debugServerPath": "pyocd-gdbserver.exe"

Also, it is possible to export target settings not supported by pyOCD , e.g. NUCLEO_746ZG, which may or may not make sense.

ciarmcom commented 4 years ago

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-946