# choose st-link/j-link/dap-link etc. # choose CMSIS-DAP Debugger adapter driver cmsis-dap # select SWD port transport select swd # 0x10000 = 64K Flash Size # 1MB on robomaster-C set FLASH_SIZE 0x100000 source [find target/stm32f4x.cfg] # download speed = 10MHz # 10MHz on FireDebugger adapter speed 10000 # connect under reset # reset_config srst_only