Make demo work with STM32F4 board from aliexpress for SecureHID project

This commit is contained in:
jaseg 2018-11-01 16:39:56 +09:00
parent 7e5d99e18f
commit 7c8490211b
3 changed files with 32 additions and 63 deletions

16
openocd.cfg Normal file
View file

@ -0,0 +1,16 @@
telnet_port 4444
gdb_port 3333
source [find interface/stlink-v2.cfg]
#interface jlink
#interface stlink-v2
#adapter_khz 10000
#transport select swd
#source /usr/share/openocd/scripts/target/stm32f0x.cfg
source [find target/stm32f4x_stlink.cfg]
init
arm semihosting enable
#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME