Signed-off-by: surenyi <surenyi82@163.com>
@ -11,8 +11,8 @@ GDB := $(CROSS)gdb
OOCD ?= openocd
#OOCD_INTERFACE ?= stlink-v2-1
#OOCD_TRANSPORT ?= hla_swd
#OOCD_INTERFACE ?= jlink
OOCD_INTERFACE ?= cmsis-dap
#OOCD_INTERFACE ?= cmsis-dap
OOCD_INTERFACE ?= jlink
OOCD_TRANSPORT ?= swd
OOCD_TARGET ?= stm32f4x
@ -103,7 +103,6 @@ LoopFillZerobss:
bl SystemInit
/* Call static constructors */
bl __libc_init_array
bl SystemCoreClockUpdate
/* Call the application's entry point.*/
bl main
bx lr
@ -1,6 +1,6 @@
#source [find interface/stlink-v2-1.cfg]
source [find interface/cmsis-dap.cfg]
#source [find interface/jlink.cfg]
#source [find interface/cmsis-dap.cfg]
source [find interface/jlink.cfg]
transport select swd
source [find target/stm32f4x.cfg]