2.點(diǎn)擊下圖的小錘子,或者project中的build all,編譯工程
3.點(diǎn)下圖的那個(gè)蟲子在里面選Debug Configurations...
4、打開后雙擊GDB hardware debugging會(huì)出現(xiàn)下面的界面,將相關(guān)參數(shù)填寫好
5、點(diǎn)擊下圖的select other,選擇 using standard gdb hardware debugging launcher
6、點(diǎn)擊debugger進(jìn)入如下界面,并配置好
7、點(diǎn)startup進(jìn)入下一界面,如下3個(gè)圖,其中initialization commands 填入的是
monitor speed 30
monitor endian little
monitor flash device = STM32F103RB
monitor reset
monitor speed auto
其它的按圖配置好就行了