@@ -1009,6 +1009,46 @@ GenF4.menu.upload_method.hidMethod.upload.tool=hid_upload
1009
1009
GenF4.menu.upload_method.hidMethod.build.flash_offset=0x4000
1010
1010
GenF4.menu.upload_method.hidMethod.build.bootloader_flags=-DBL_HID -DVECT_TAB_OFFSET={build.flash_offset}
1011
1011
1012
+ ################################################################################
1013
+ # Generic L0
1014
+ GenL0.name=Generic STM32L0 series
1015
+ GenL0.build.vid=0x0483
1016
+ GenL0.build.core=arduino
1017
+ GenL0.build.board=GenL0
1018
+ GenL0.build.extra_flags={build.usb_flags} -DUSBD_USE_CDC -D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
1019
+ GenL0.build.mcu=cortex-m0plus
1020
+ GenL0.build.series=STM32L0xx
1021
+ GenL0.build.cmsis_lib_gcc=arm_cortexM0l_math
1022
+
1023
+ # ThunderPack
1024
+ GenL0.menu.pnum.THUNDER_PACK=ThunderPack
1025
+ GenL0.menu.pnum.THUNDER_PACK.upload.maximum_size=196608
1026
+ GenL0.menu.pnum.THUNDER_PACK.upload.maximum_data_size=20480
1027
+ GenL0.menu.pnum.THUNDER_PACK.build.board=THUNDER_PACK
1028
+ GenL0.menu.pnum.THUNDER_PACK.build.product_line=STM32L072xx
1029
+ GenL0.menu.pnum.THUNDER_PACK.build.variant=THUNDER_PACK
1030
+
1031
+ # Upload menu
1032
+ GenL0.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
1033
+ GenL0.menu.upload_method.swdMethod.upload.protocol=0
1034
+ GenL0.menu.upload_method.swdMethod.upload.options=-g
1035
+ GenL0.menu.upload_method.swdMethod.upload.tool=stm32CubeProg
1036
+
1037
+ GenL0.menu.upload_method.serialMethod=STM32CubeProgrammer (Serial)
1038
+ GenL0.menu.upload_method.serialMethod.upload.protocol=1
1039
+ GenL0.menu.upload_method.serialMethod.upload.options={serial.port.file} -s
1040
+ GenL0.menu.upload_method.serialMethod.upload.tool=stm32CubeProg
1041
+
1042
+ GenL0.menu.upload_method.dfuMethod=STM32CubeProgrammer (DFU)
1043
+ GenL0.menu.upload_method.dfuMethod.upload.protocol=2
1044
+ GenL0.menu.upload_method.dfuMethod.upload.options=-g
1045
+ GenL0.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
1046
+
1047
+ GenL0.menu.upload_method.bmpMethod=BMP (Black Magic Probe)
1048
+ GenL0.menu.upload_method.bmpMethod.upload.protocol=gdb_bmp
1049
+ GenL0.menu.upload_method.bmpMethod.upload.tool=bmp_upload
1050
+
1051
+
1012
1052
###############################
1013
1053
# Sparky Flight Controllers
1014
1054
@@ -1991,35 +2031,3 @@ Midatronics.menu.rtlib.nanofps=Newlib Nano + Float Printf/Scanf
1991
2031
Midatronics.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float -u _scanf_float
1992
2032
Midatronics.menu.rtlib.full=Newlib Standard
1993
2033
Midatronics.menu.rtlib.full.build.flags.ldspecs=
1994
-
1995
- ###############################
1996
- # ThunderPack
1997
- ThunderPack.name=ThunderPack
1998
- ThunderPack.build.core=arduino
1999
- ThunderPack.build.product_line=STM32L072xx
2000
- ThunderPack.build.board=ThunderPack
2001
- ThunderPack.build.variant=THUNDER_PACK
2002
- ThunderPack.build.mcu=cortex-m0plus
2003
- ThunderPack.build.series=STM32L0xx
2004
- ThunderPack.build.cmsis_lib_gcc=arm_cortexM0l_math
2005
- ThunderPack.build.vid=0x0483
2006
- ThunderPack.build.extra_flags={build.usb_flags} -DUSBD_USE_CDC -D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0
2007
-
2008
- ThunderPack.upload.maximum_size=196608
2009
- ThunderPack.upload.maximum_data_size=20480
2010
-
2011
- ThunderPack.menu.upload_method.dfuUtil=DFU Util
2012
- ThunderPack.menu.upload_method.dfuUtil.upload.tool=dfu_util
2013
- ThunderPack.menu.upload_method.dfuUtil.upload.protocol=
2014
- ThunderPack.menu.upload_method.dfuUtil.upload.usbID=0483:df11
2015
- ThunderPack.menu.upload_method.dfuUtil.upload.address=0x08000000:leave
2016
-
2017
- ThunderPack.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
2018
- ThunderPack.menu.upload_method.swdMethod.upload.protocol=0
2019
- ThunderPack.menu.upload_method.swdMethod.upload.options=-g
2020
- ThunderPack.menu.upload_method.swdMethod.upload.tool=stm32CubeProg
2021
-
2022
- ThunderPack.menu.upload_method.dfuMethod=STM32CubeProgrammer (DFU)
2023
- ThunderPack.menu.upload_method.dfuMethod.upload.protocol=2
2024
- ThunderPack.menu.upload_method.dfuMethod.upload.options=-g
2025
- ThunderPack.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
0 commit comments