2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2014-11-21 16:14:57 -06:00
|
|
|
source [find target/stm32l1.cfg]
|
2013-09-28 05:23:15 -05:00
|
|
|
|
2014-11-21 16:14:57 -06:00
|
|
|
# The stm32l1x 384kb have a dual bank flash.
|
2013-01-24 06:49:08 -06:00
|
|
|
# Let's add a definition for the second bank here.
|
|
|
|
|
|
|
|
# Add the second flash bank.
|
|
|
|
set _FLASHNAME $_CHIPNAME.flash1
|
2015-01-24 04:57:58 -06:00
|
|
|
flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME
|