Skip to content

Commit 8d47080

Browse files
committed
fix: wrong debug target config for stm32l0 and stm32l1
Fixes stm32duino#2471. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 5e4f220 commit 8d47080

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

boards.txt

+12-12
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ Nucleo_64.menu.pnum.NUCLEO_L010RB.build.series=STM32L0xx
664664
Nucleo_64.menu.pnum.NUCLEO_L010RB.build.product_line=STM32L010xB
665665
Nucleo_64.menu.pnum.NUCLEO_L010RB.build.variant=STM32L0xx/L010RBT
666666
Nucleo_64.menu.pnum.NUCLEO_L010RB.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
667-
Nucleo_64.menu.pnum.NUCLEO_L010RB.debug.server.openocd.scripts.2=target/stm32l0x.cfg
667+
Nucleo_64.menu.pnum.NUCLEO_L010RB.debug.server.openocd.scripts.2=target/stm32l0.cfg
668668
Nucleo_64.menu.pnum.NUCLEO_L010RB.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L0x0.svd
669669

670670
# NUCLEO_L053R8 board
@@ -678,7 +678,7 @@ Nucleo_64.menu.pnum.NUCLEO_L053R8.build.series=STM32L0xx
678678
Nucleo_64.menu.pnum.NUCLEO_L053R8.build.product_line=STM32L053xx
679679
Nucleo_64.menu.pnum.NUCLEO_L053R8.build.variant=STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T
680680
Nucleo_64.menu.pnum.NUCLEO_L053R8.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
681-
Nucleo_64.menu.pnum.NUCLEO_L053R8.debug.server.openocd.scripts.2=target/stm32l0x.cfg
681+
Nucleo_64.menu.pnum.NUCLEO_L053R8.debug.server.openocd.scripts.2=target/stm32l0.cfg
682682
Nucleo_64.menu.pnum.NUCLEO_L053R8.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L053.svd
683683

684684
# NUCLEO_L073RZ board
@@ -692,7 +692,7 @@ Nucleo_64.menu.pnum.NUCLEO_L073RZ.build.series=STM32L0xx
692692
Nucleo_64.menu.pnum.NUCLEO_L073RZ.build.product_line=STM32L073xx
693693
Nucleo_64.menu.pnum.NUCLEO_L073RZ.build.variant=STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T
694694
Nucleo_64.menu.pnum.NUCLEO_L073RZ.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
695-
Nucleo_64.menu.pnum.NUCLEO_L073RZ.debug.server.openocd.scripts.2=target/stm32l0x.cfg
695+
Nucleo_64.menu.pnum.NUCLEO_L073RZ.debug.server.openocd.scripts.2=target/stm32l0.cfg
696696
Nucleo_64.menu.pnum.NUCLEO_L073RZ.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L0x3.svd
697697

698698
# NUCLEO_L152RE board
@@ -705,7 +705,7 @@ Nucleo_64.menu.pnum.NUCLEO_L152RE.build.board=NUCLEO_L152RE
705705
Nucleo_64.menu.pnum.NUCLEO_L152RE.build.series=STM32L1xx
706706
Nucleo_64.menu.pnum.NUCLEO_L152RE.build.product_line=STM32L152xE
707707
Nucleo_64.menu.pnum.NUCLEO_L152RE.build.variant=STM32L1xx/L151RET_L152RET_L162RET
708-
Nucleo_64.menu.pnum.NUCLEO_L152RE.debug.server.openocd.scripts.2=target/stm32l1x.cfg
708+
Nucleo_64.menu.pnum.NUCLEO_L152RE.debug.server.openocd.scripts.2=target/stm32l1.cfg
709709
Nucleo_64.menu.pnum.NUCLEO_L152RE.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L1xx/STM32L152.svd
710710

711711
# NUCLEO_L433RC_P board
@@ -972,7 +972,7 @@ Nucleo_32.menu.pnum.NUCLEO_L031K6.build.board=NUCLEO_L031K6
972972
Nucleo_32.menu.pnum.NUCLEO_L031K6.build.series=STM32L0xx
973973
Nucleo_32.menu.pnum.NUCLEO_L031K6.build.product_line=STM32L031xx
974974
Nucleo_32.menu.pnum.NUCLEO_L031K6.build.variant=STM32L0xx/L031K(4-6)T_L041K6T
975-
Nucleo_32.menu.pnum.NUCLEO_L031K6.debug.server.openocd.scripts.2=target/stm32l0x.cfg
975+
Nucleo_32.menu.pnum.NUCLEO_L031K6.debug.server.openocd.scripts.2=target/stm32l0.cfg
976976
Nucleo_32.menu.pnum.NUCLEO_L031K6.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L0x1.svd
977977

978978
# NUCLEO_L412KB board
@@ -1083,7 +1083,7 @@ Disco.menu.pnum.B_L072Z_LRWAN1.build.product_line=STM32L072xx
10831083
Disco.menu.pnum.B_L072Z_LRWAN1.build.variant=STM32L0xx/L072CBY_L072CZ(E-Y)_L073CZY_L082CZY
10841084
Disco.menu.pnum.B_L072Z_LRWAN1.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
10851085
Disco.menu.pnum.B_L072Z_LRWAN1.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
1086-
Disco.menu.pnum.B_L072Z_LRWAN1.debug.server.openocd.scripts.2=target/stm32l0x.cfg
1086+
Disco.menu.pnum.B_L072Z_LRWAN1.debug.server.openocd.scripts.2=target/stm32l0.cfg
10871087
Disco.menu.pnum.B_L072Z_LRWAN1.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L0x2.svd
10881088

10891089
# B-L475E-IOT01A board
@@ -9182,7 +9182,7 @@ GenL0.build.series=STM32L0xx
91829182
GenL0.build.flash_offset=0x0
91839183
GenL0.upload.maximum_size=0
91849184
GenL0.upload.maximum_data_size=0
9185-
GenL0.debug.server.openocd.scripts.2=target/stm32l0x.cfg
9185+
GenL0.debug.server.openocd.scripts.2=target/stm32l0.cfg
91869186
GenL0.vid.0=0x0483
91879187
GenL0.pid.0=0x5740
91889188

@@ -10464,7 +10464,7 @@ GenL1.build.series=STM32L1xx
1046410464
GenL1.build.flash_offset=0x0
1046510465
GenL1.upload.maximum_size=0
1046610466
GenL1.upload.maximum_data_size=0
10467-
GenL1.debug.server.openocd.scripts.2=target/stm32l1x.cfg
10467+
GenL1.debug.server.openocd.scripts.2=target/stm32l1.cfg
1046810468
GenL1.vid.0=0x0483
1046910469
GenL1.pid.0=0x5740
1047010470

@@ -12722,7 +12722,7 @@ LoRa.menu.pnum.ACSIP_S76S.build.product_line=STM32L073xx
1272212722
LoRa.menu.pnum.ACSIP_S76S.build.variant=STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T
1272312723
LoRa.menu.pnum.ACSIP_S76S.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
1272412724
LoRa.menu.pnum.ACSIP_S76S.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
12725-
LoRa.menu.pnum.ACSIP_S76S.debug.server.openocd.scripts.2=target/stm32l0x.cfg
12725+
LoRa.menu.pnum.ACSIP_S76S.debug.server.openocd.scripts.2=target/stm32l0.cfg
1272612726
LoRa.menu.pnum.ACSIP_S76S.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L0x3.svd
1272712727

1272812728
# Generic node SE by The Things Industries
@@ -12789,7 +12789,7 @@ LoRa.menu.pnum.RAK811_TRACKER.build.series=STM32L1xx
1278912789
LoRa.menu.pnum.RAK811_TRACKER.build.product_line=STM32L151xB
1279012790
LoRa.menu.pnum.RAK811_TRACKER.build.variant=STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A)
1279112791
LoRa.menu.pnum.RAK811_TRACKER.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
12792-
LoRa.menu.pnum.RAK811_TRACKER.debug.server.openocd.scripts.2=target/stm32l1x.cfg
12792+
LoRa.menu.pnum.RAK811_TRACKER.debug.server.openocd.scripts.2=target/stm32l1.cfg
1279312793
LoRa.menu.pnum.RAK811_TRACKER.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L1xx/STM32L151.svd
1279412794

1279512795
LoRa.menu.pnum.RAK811_TRACKERA=RAK811 LoRa Tracker (32kb RAM)
@@ -12802,7 +12802,7 @@ LoRa.menu.pnum.RAK811_TRACKERA.build.product_line=STM32L151xBA
1280212802
LoRa.menu.pnum.RAK811_TRACKERA.build.variant=STM32L1xx/L100C6Ux(A)_L151C(6-8-B)(T-U)x(A)_L152C(6-8-B)(T-U)x(A)
1280312803
LoRa.menu.pnum.RAK811_TRACKERA.build.variant_h=variant_RAK811_TRACKER.h
1280412804
LoRa.menu.pnum.RAK811_TRACKERA.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
12805-
LoRa.menu.pnum.RAK811_TRACKERA.debug.server.openocd.scripts.2=target/stm32l1x.cfg
12805+
LoRa.menu.pnum.RAK811_TRACKERA.debug.server.openocd.scripts.2=target/stm32l1.cfg
1280612806

1280712807
# RHF76_052 board
1280812808
LoRa.menu.pnum.RHF76_052=RHF76 052
@@ -12815,7 +12815,7 @@ LoRa.menu.pnum.RHF76_052.build.product_line=STM32L051xx
1281512815
LoRa.menu.pnum.RHF76_052.build.variant=STM32L0xx/L051C(6-8)(T-U)
1281612816
LoRa.menu.pnum.RHF76_052.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
1281712817
LoRa.menu.pnum.RHF76_052.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
12818-
LoRa.menu.pnum.RHF76_052.debug.server.openocd.scripts.2=target/stm32l0x.cfg
12818+
LoRa.menu.pnum.RHF76_052.debug.server.openocd.scripts.2=target/stm32l0.cfg
1281912819
LoRa.menu.pnum.RHF76_052.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L0xx/STM32L0x1.svd
1282012820

1282112821
# ELEKTOR_F072C8

0 commit comments

Comments
 (0)