As with F103 generic, there's no readily available L1 board with USB device A custom LED is used to track boot process, but otherwise this should be portable to any L1 board, except for the openocd configuration file. Tests pass straight away, which is good, as it uses the existing f103 usb driver.
16 lines
508 B
INI
16 lines
508 B
INI
# l1 generic, using a l4 disco board
|
|
source [find interface/stlink-v2-1.cfg]
|
|
set WORKAREASIZE 0x2000
|
|
source [find target/stm32l1.cfg]
|
|
|
|
hla_serial "066DFF495351885087171826" # My l4 disco
|
|
|
|
# Serial of my l1 disco used as stlink here.
|
|
#hla_serial "S?l\x06H?WQ%\x10\x18?" # My l1 disco
|
|
|
|
tpiu config internal swodump.stm32l1-generic.log uart off 32000000
|
|
|
|
# Uncomment to reset on connect, for grabbing under WFI et al
|
|
reset_config srst_only srst_nogate
|
|
# reset_config srst_only srst_nogate connect_assert_srst
|