作用是免得自己输命令行,CMSIS-DAP通用(现在叫DAP-LINK).
顺便介绍一下pyocd库
专门用来测试和调试Arm单片机的工具,包含下载通信调试的前端页面。
pyOCD is an open source Python based tool and package for programming and debugging Arm Cortex-M microcontrollers with a wide range of debug probes. It is fully cross-platform, with support for Linux, macOS, Windows, and FreeBSD.
复制代码python用户可以一键安装
$ python3 -mpip install -U pyocd
复制代码GitHub地址放在下面
<u>https://github.com/pyocd/pyOCD</u>
复制代码