我在树莓派上起了openocd的服务,这样就可以通过网络远程调试单片机,但是rt thread studio的Debugger设置中,必须启动pyOCD,而我实际并不需要pyOCD来进行调试。
目前为了跳过这个限制,我不得不写了个无限等待的程序来骗过rt thread studio。
请rt thread studio考虑加入关闭本地调试的功能。
以下是我的步骤
这一步我把pyOCD.exe替换为了我写的无限等待的程序,这样rt thread studio就认为pyOCD正常启动了。
pyOCD终端无任何输出,因为被替换掉了。
能看到openocd的输出。