Commit b375052c authored by Jan Čapek's avatar Jan Čapek Committed by Freddie Chopin
Browse files

tcl STM32L0xx - add support for dual banked targets and for Nucleo-64 STM32L073



- stm32l0_dual_bank.cfg - implement dual bank configuration

- st_nucleo_l073rz.cfg - implement new board script

Change-Id: Ie8063e5bec45069a63d414d81b2068fe3cc7e4d7
Signed-off-by: default avatarJan Čapek <jan.capek@braiins.cz>
Reviewed-on: http://openocd.zylin.com/3957

Reviewed-by: default avatarCezary Gapiński <cezary.gapinski@gmail.com>
Reviewed-by: default avatarKarl Palsson <karlp@tweak.net.au>
Tested-by: jenkins
Reviewed-by: default avatarAurelio Lucchesi <me@0rel.com>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent e916bcda
# This is an ST NUCLEO-L073RZ board with single STM32L073RZ chip.
# http://www.st.com/en/evaluation-tools/nucleo-l073rz.html
source [find interface/stlink-v2-1.cfg]
transport select hla_swd
set WORKAREASIZE 0x2000
source [find target/stm32l0_dual_bank.cfg]
# There is only system reset line and JTAG/SWD command can be issued when SRST
reset_config srst_only
source [find target/stm32l0.cfg]
# Add the second flash bank.
set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment