修改部分文件

This commit is contained in:
kai
2024-03-23 11:06:37 +08:00
parent 9961e1acfb
commit 59dc4c7ed8
9 changed files with 19 additions and 517 deletions

View File

@@ -347,8 +347,8 @@ clean:
# download directl without debugging
#######################################
download_dap:
openocd -f openocd_dap.cfg -c init -c halt -c "flash write_image erase $(BUILD_DIR)/$(TARGET).bin 0x08000000" -c reset -c shutdown
openocd -f openocd_dap.cfg -c "program $(BUILD_DIR)/$(TARGET).elf verify reset exit"
download_jlink:
JFlash -openprj'stm32.jflash' -open'$(BUILD_DIR)/$(TARGET).hex',0x8000000 -auto -startapp -exit
openocd -f openocd_jlink.cfg -c "program $(BUILD_DIR)/$(TARGET).elf verify reset exit"
# *** EOF ***