mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-23 10:09:03 +10:00
This should allow to share common configs for both regular access and high-level adapters. Use the newly-added functionality in stlink and icdi drivers, amend the configs accordingly. Runtime-tested with a TI tm4c123g board. Change-Id: Ibb88266a4ca25f06f6c073e916c963f017447bad Signed-off-by: Paul Fertser <fercerpav@gmail.com> [gus@projectgus.com: context-specific deprecation warnings] Signed-off-by: Angus Gratton <gus@projectgus.com> [andrew.smirnov@gmail.com: additional nrf51.cfg mods] Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Tested-by: Andrey Skvortsov <andrej.skvortzov@gmail.com> Reviewed-on: http://openocd.zylin.com/1664 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
9 lines
251 B
INI
9 lines
251 B
INI
source [find target/stm32l.cfg]
|
|
|
|
# The stm32lx 384kb have a dual bank flash.
|
|
# Let's add a definition for the second bank here.
|
|
|
|
# Add the second flash bank.
|
|
set _FLASHNAME $_CHIPNAME.flash1
|
|
flash bank $_FLASHNAME stm32lx 0x8030000 0 0 0 $_TARGETNAME
|