Browse Source

retore Makefile

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 6 years ago
parent
commit
4c3f3ea5e5
  1. 4
      Makefile
  2. 1
      cmsis/src/startup_stm32f429_439xx.S
  3. 4
      gdb/openocd.cfg

4
Makefile

@ -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

1
cmsis/src/startup_stm32f429_439xx.S

@ -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

4
gdb/openocd.cfg

@ -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]

Loading…
Cancel
Save