build fix: ft2232
[openocd.git] / tcl / target / stm32w108_stlink.cfg
blobc28b9b997271e45a5ccc2a58c654b8cf00e4f640
2 # STM32W108xx stlink pseudo target
5 if { [info exists CHIPNAME] == 0 } {
6    set CHIPNAME stm32w108
9 if { [info exists CPUTAPID] == 0 } {
10    set CPUTAPID 0x1ba01477
13 if { [info exists WORKAREASIZE] == 0 } {
14    # 4k -- This should work for all chips, though perhaps not optimally
15    set WORKAREASIZE 0x1000
18 source [find target/stm32_stlink.cfg]
20 # Use the flash driver from the EM357
21 set _FLASHNAME $_CHIPNAME.flash
22 # 64k (0x10000) of flash
23 flash bank $_FLASHNAME em357 0x08000000 0x10000 0 0 $_TARGETNAME