flash/nor/at91samd: Use 32-bit register writes for ST-Link compat
[fw/openocd] / tcl / target / stm32f4x_stlink.cfg
1 #
2 # STM32f4x stlink pseudo target
3 #
4
5 if { [info exists CHIPNAME] == 0 } {
6    set CHIPNAME stm32f4x
7 }
8
9 if { [info exists CPUTAPID] == 0 } {
10    set CPUTAPID 0x2ba01477
11 }
12
13 if { [info exists WORKAREASIZE] == 0 } {
14    set WORKAREASIZE 0x10000
15 }
16
17 source [find target/stm32_stlink.cfg]
18
19 # stm32f4x family uses stm32f2x driver
20 set _FLASHNAME $_CHIPNAME.flash
21 flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME