Skip to content

Commit 4a2ba96

Browse files
committed
Merge remote-tracking branch 'upstream/master' into dfu-util2
2 parents f248732 + 2f1fd8e commit 4a2ba96

File tree

722 files changed

+611936
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

722 files changed

+611936
-81
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
124124
| :---: | --- | :---: | :--- |
125125
| :yellow_heart: | [ThunderPack](https://github.com/jgillick/ThunderPack) | **1.8.0** | |
126126

127-
128127
| Status | 3D printer boards | Release | Comment |
129128
| :---: | --- | :---: | :--- |
130129
| :green_heart: | [ARMED V1](https://github.com/ktand/Armed) | *1.5.0* | |
@@ -142,13 +141,14 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
142141
| :green_heart: | [RAK811 LoRa Tracker](https://www.rakwireless.com/en/) | *1.4.0* | Basic support |
143142
| :green_heart: | [RHF76-052](https://www.ai-thinker.com/) | *1.7.0* | Basic support |
144143

145-
| Status | Sparky flight controllers | Release | Comment |
144+
| Status | Electronic Speed Controller boards | Release | Comment |
146145
| :---: | --- | :---: | :--- |
147-
| :green_heart: | [Sparky V1](https://github.com/TauLabs/TauLabs/wiki/Sparky) | *1.6.0* | |
146+
| :yellow_heart: | Wraith V1 ESC | **1.8.0** | |
148147

149148
| Status | Generic flight controllers | Release | Comment |
150149
| :---: | --- | :---: | :--- |
151150
| :green_heart: | Afro Flight Rev5 (8/12MHz) | *1.7.0* | |
151+
| :green_heart: | [Sparky V1](https://github.com/TauLabs/TauLabs/wiki/Sparky) | *1.6.0* | |
152152

153153
| Status | [Midatronics](https://midatronics.com/) | Release | Comment |
154154
| :---: | --- | :---: | :--- |

boards.txt

Lines changed: 81 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,43 +1069,42 @@ GenL0.menu.upload_method.bmpMethod=BMP (Black Magic Probe)
10691069
GenL0.menu.upload_method.bmpMethod.upload.protocol=gdb_bmp
10701070
GenL0.menu.upload_method.bmpMethod.upload.tool=bmp_upload
10711071

1072-
###############################
1073-
# Sparky Flight Controllers
1074-
1075-
Sparky.name=Sparky flight controllers
1076-
1077-
Sparky.build.vid=0x0483
1078-
Sparky.build.core=arduino
1079-
Sparky.build.board=Sparky
1080-
Sparky.build.extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial}
1081-
1082-
# Sparky_V1 board
1083-
Sparky.menu.pnum.Sparky_V1=Sparky V1
1084-
Sparky.menu.pnum.Sparky_V1.upload.maximum_size=262144
1085-
Sparky.menu.pnum.Sparky_V1.upload.maximum_data_size=40960
1086-
Sparky.menu.pnum.Sparky_V1.build.mcu=cortex-m4
1087-
Sparky.menu.pnum.Sparky_V1.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
1088-
Sparky.menu.pnum.Sparky_V1.build.board=Sparky_V1
1089-
Sparky.menu.pnum.Sparky_V1.build.series=STM32F3xx
1090-
Sparky.menu.pnum.Sparky_V1.build.product_line=STM32F303xC
1091-
Sparky.menu.pnum.Sparky_V1.build.variant=SPARKY_F303CC
1092-
Sparky.menu.pnum.Sparky_V1.build.cmsis_lib_gcc=arm_cortexM4lf_math
1072+
################################################################################
1073+
# Electronic Speed Controller boards
1074+
1075+
ESC_board.name=Electronic speed controllers
1076+
1077+
ESC_board.build.vid=0x0483
1078+
ESC_board.build.core=arduino
1079+
ESC_board.build.board=FCE_board
1080+
ESC_board.build.extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial}
1081+
1082+
# Wraith32_V1 board
1083+
ESC_board.menu.pnum.Wraith32_V1=Wraith V1 ESC
1084+
ESC_board.menu.pnum.Wraith32_V1.upload.maximum_size=32768
1085+
ESC_board.menu.pnum.Wraith32_V1.upload.maximum_data_size=7936
1086+
ESC_board.menu.pnum.Wraith32_V1.build.mcu=cortex-m0
1087+
ESC_board.menu.pnum.Wraith32_V1.build.board=Wraith32_V1
1088+
ESC_board.menu.pnum.Wraith32_V1.build.series=STM32F0xx
1089+
ESC_board.menu.pnum.Wraith32_V1.build.product_line=STM32F051x8
1090+
ESC_board.menu.pnum.Wraith32_V1.build.variant=WRAITH32_F051K6
1091+
ESC_board.menu.pnum.Wraith32_V1.build.cmsis_lib_gcc=arm_cortexM0l_math
10931092

10941093
# Upload menu
1095-
Sparky.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
1096-
Sparky.menu.upload_method.swdMethod.upload.protocol=0
1097-
Sparky.menu.upload_method.swdMethod.upload.options=-g
1098-
Sparky.menu.upload_method.swdMethod.upload.tool=stm32CubeProg
1094+
ESC_board.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
1095+
ESC_board.menu.upload_method.swdMethod.upload.protocol=0
1096+
ESC_board.menu.upload_method.swdMethod.upload.options=-g
1097+
ESC_board.menu.upload_method.swdMethod.upload.tool=stm32CubeProg
10991098

1100-
Sparky.menu.upload_method.serialMethod=STM32CubeProgrammer (Serial)
1101-
Sparky.menu.upload_method.serialMethod.upload.protocol=1
1102-
Sparky.menu.upload_method.serialMethod.upload.options={serial.port.file} -s
1103-
Sparky.menu.upload_method.serialMethod.upload.tool=stm32CubeProg
1099+
ESC_board.menu.upload_method.serialMethod=STM32CubeProgrammer (Serial)
1100+
ESC_board.menu.upload_method.serialMethod.upload.protocol=1
1101+
ESC_board.menu.upload_method.serialMethod.upload.options={serial.port.file} -s
1102+
ESC_board.menu.upload_method.serialMethod.upload.tool=stm32CubeProg
11041103

1105-
Sparky.menu.upload_method.dfuMethod=STM32CubeProgrammer (DFU)
1106-
Sparky.menu.upload_method.dfuMethod.upload.protocol=2
1107-
Sparky.menu.upload_method.dfuMethod.upload.options=-g
1108-
Sparky.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
1104+
ESC_board.menu.upload_method.dfuMethod=STM32CubeProgrammer (DFU)
1105+
ESC_board.menu.upload_method.dfuMethod.upload.protocol=2
1106+
ESC_board.menu.upload_method.dfuMethod.upload.options=-g
1107+
ESC_board.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
11091108

11101109
################################################################################
11111110
# LoRa boards
@@ -1312,26 +1311,41 @@ Genericflight.name=Generic flight controllers
13121311
Genericflight.build.vid=0x0483
13131312
Genericflight.build.core=arduino
13141313
Genericflight.build.board=Genericflight
1315-
Genericflight.build.mcu=cortex-m3
1316-
Genericflight.build.series=STM32F1xx
1317-
Genericflight.build.cmsis_lib_gcc=arm_cortexM3l_math
13181314
Genericflight.build.extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} {build.bootloader_flags}
13191315

13201316
# AfroFlight Rev5
13211317
Genericflight.menu.pnum.AFROFLIGHT_F103CB=Afro Flight Rev5 (8MHz)
13221318
Genericflight.menu.pnum.AFROFLIGHT_F103CB.upload.maximum_size=131072
13231319
Genericflight.menu.pnum.AFROFLIGHT_F103CB.upload.maximum_data_size=20480
1320+
Genericflight.menu.pnum.AFROFLIGHT_F103CB.build.mcu=cortex-m3
1321+
Genericflight.menu.pnum.AFROFLIGHT_F103CB.build.series=STM32F1xx
1322+
Genericflight.menu.pnum.AFROFLIGHT_F103CB.build.cmsis_lib_gcc=arm_cortexM3l_math
13241323
Genericflight.menu.pnum.AFROFLIGHT_F103CB.build.board=AFROFLIGHT_F103CB
13251324
Genericflight.menu.pnum.AFROFLIGHT_F103CB.build.product_line=STM32F103xB
13261325
Genericflight.menu.pnum.AFROFLIGHT_F103CB.build.variant=AFROFLIGHT_F103CB
13271326

13281327
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M=Afro Flight Rev5 (12MHz)
13291328
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.upload.maximum_size=131072
13301329
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.upload.maximum_data_size=20480
1330+
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.build.mcu=cortex-m3
1331+
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.build.series=STM32F1xx
1332+
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.build.cmsis_lib_gcc=arm_cortexM3l_math
13311333
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.build.board=AFROFLIGHT_F103CB_12M
13321334
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.build.product_line=STM32F103xB
13331335
Genericflight.menu.pnum.AFROFLIGHT_F103CB_12M.build.variant=AFROFLIGHT_F103CB
13341336

1337+
# Sparky_V1 board
1338+
Genericflight.menu.pnum.Sparky_V1=Sparky V1 F303 FC
1339+
Genericflight.menu.pnum.Sparky_V1.upload.maximum_size=262144
1340+
Genericflight.menu.pnum.Sparky_V1.upload.maximum_data_size=40960
1341+
Genericflight.menu.pnum.Sparky_V1.build.mcu=cortex-m4
1342+
Genericflight.menu.pnum.Sparky_V1.build.series=STM32F3xx
1343+
Genericflight.menu.pnum.Sparky_V1.build.cmsis_lib_gcc=arm_cortexM4lf_math
1344+
Genericflight.menu.pnum.Sparky_V1.build.board=Sparky_V1
1345+
Genericflight.menu.pnum.Sparky_V1.build.product_line=STM32F303xC
1346+
Genericflight.menu.pnum.Sparky_V1.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
1347+
Genericflight.menu.pnum.Sparky_V1.build.variant=SPARKY_F303CC
1348+
13351349
# Upload menu
13361350
Genericflight.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
13371351
Genericflight.menu.upload_method.swdMethod.upload.protocol=0
@@ -1479,11 +1493,11 @@ GenL0.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
14791493
GenL0.menu.xserial.disabled=Disabled (no Serial support)
14801494
GenL0.menu.xserial.disabled.build.xSerial=
14811495

1482-
Sparky.menu.xserial.generic=Enabled (generic 'Serial')
1483-
Sparky.menu.xserial.none=Enabled (no generic 'Serial')
1484-
Sparky.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
1485-
Sparky.menu.xserial.disabled=Disabled (no Serial support)
1486-
Sparky.menu.xserial.disabled.build.xSerial=
1496+
ESC_board.menu.xserial.generic=Enabled (generic 'Serial')
1497+
ESC_board.menu.xserial.none=Enabled (no generic 'Serial')
1498+
ESC_board.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
1499+
ESC_board.menu.xserial.disabled=Disabled (no Serial support)
1500+
ESC_board.menu.xserial.disabled.build.xSerial=
14871501

14881502
LoRa.menu.xserial.generic=Enabled (generic 'Serial')
14891503
LoRa.menu.xserial.none=Enabled (no generic 'Serial')
@@ -1622,17 +1636,6 @@ GenL0.menu.usb.CDC.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC -DDISABLE_G
16221636
GenL0.menu.usb.HID=HID (keyboard and mouse)
16231637
GenL0.menu.usb.HID.build.enable_usb={build.usb_flags} -DUSBD_USE_HID_COMPOSITE
16241638

1625-
Sparky.menu.usb.none=None
1626-
Sparky.menu.usb.CDCgen=CDC (generic 'Serial' supersede U(S)ART)
1627-
Sparky.menu.usb.CDCgen.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC
1628-
Sparky.menu.usb.CDC=CDC (no generic 'Serial')
1629-
Sparky.menu.usb.CDC.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB
1630-
Sparky.menu.xusb.FS=Low/Full Speed
1631-
Sparky.menu.xusb.HS=High Speed
1632-
Sparky.menu.xusb.HS.build.usb_speed=-DUSE_USB_HS
1633-
Sparky.menu.xusb.HSFS=High Speed in Full Speed mode
1634-
Sparky.menu.xusb.HSFS.build.usb_speed=-DUSE_USB_HS -DUSE_USB_HS_IN_FS
1635-
16361639
3dprinter.menu.usb.none=None
16371640
3dprinter.menu.usb.CDCgen=CDC (generic 'Serial' supersede U(S)ART)
16381641
3dprinter.menu.usb.CDCgen.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC
@@ -1853,23 +1856,23 @@ GenL0.menu.opt.o3lto.build.flags.optimize=-O3 -flto
18531856
GenL0.menu.opt.ogstd=Debug (-g)
18541857
GenL0.menu.opt.ogstd.build.flags.optimize=-g -Og
18551858

1856-
Sparky.menu.opt.osstd=Smallest (-Os default)
1857-
Sparky.menu.opt.oslto=Smallest (-Os) with LTO
1858-
Sparky.menu.opt.oslto.build.flags.optimize=-Os -flto
1859-
Sparky.menu.opt.o1std=Fast (-O1)
1860-
Sparky.menu.opt.o1std.build.flags.optimize=-O1
1861-
Sparky.menu.opt.o1lto=Fast (-O1) with LTO
1862-
Sparky.menu.opt.o1lto.build.flags.optimize=-O1 -flto
1863-
Sparky.menu.opt.o2std=Faster (-O2)
1864-
Sparky.menu.opt.o2std.build.flags.optimize=-O2
1865-
Sparky.menu.opt.o2lto=Faster (-O2) with LTO
1866-
Sparky.menu.opt.o2lto.build.flags.optimize=-O2 -flto
1867-
Sparky.menu.opt.o3std=Fastest (-O3)
1868-
Sparky.menu.opt.o3std.build.flags.optimize=-O3
1869-
Sparky.menu.opt.o3lto=Fastest (-O3) with LTO
1870-
Sparky.menu.opt.o3lto.build.flags.optimize=-O3 -flto
1871-
Sparky.menu.opt.ogstd=Debug (-g)
1872-
Sparky.menu.opt.ogstd.build.flags.optimize=-g -Og
1859+
ESC_board.menu.opt.osstd=Smallest (-Os default)
1860+
ESC_board.menu.opt.oslto=Smallest (-Os) with LTO
1861+
ESC_board.menu.opt.oslto.build.flags.optimize=-Os -flto
1862+
ESC_board.menu.opt.o1std=Fast (-O1)
1863+
ESC_board.menu.opt.o1std.build.flags.optimize=-O1
1864+
ESC_board.menu.opt.o1lto=Fast (-O1) with LTO
1865+
ESC_board.menu.opt.o1lto.build.flags.optimize=-O1 -flto
1866+
ESC_board.menu.opt.o2std=Faster (-O2)
1867+
ESC_board.menu.opt.o2std.build.flags.optimize=-O2
1868+
ESC_board.menu.opt.o2lto=Faster (-O2) with LTO
1869+
ESC_board.menu.opt.o2lto.build.flags.optimize=-O2 -flto
1870+
ESC_board.menu.opt.o3std=Fastest (-O3)
1871+
ESC_board.menu.opt.o3std.build.flags.optimize=-O3
1872+
ESC_board.menu.opt.o3lto=Fastest (-O3) with LTO
1873+
ESC_board.menu.opt.o3lto.build.flags.optimize=-O3 -flto
1874+
ESC_board.menu.opt.ogstd=Debug (-g)
1875+
ESC_board.menu.opt.ogstd.build.flags.optimize=-g -Og
18731876

18741877
LoRa.menu.opt.osstd=Smallest (-Os default)
18751878
LoRa.menu.opt.oslto=Smallest (-Os) with LTO
@@ -2044,15 +2047,15 @@ GenL0.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float
20442047
GenL0.menu.rtlib.full=Newlib Standard
20452048
GenL0.menu.rtlib.full.build.flags.ldspecs=
20462049

2047-
Sparky.menu.rtlib.nano=Newlib Nano (default)
2048-
Sparky.menu.rtlib.nanofp=Newlib Nano + Float Printf
2049-
Sparky.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
2050-
Sparky.menu.rtlib.nanofs=Newlib Nano + Float Scanf
2051-
Sparky.menu.rtlib.nanofs.build.flags.ldspecs=--specs=nano.specs -u _scanf_float
2052-
Sparky.menu.rtlib.nanofps=Newlib Nano + Float Printf/Scanf
2053-
Sparky.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float -u _scanf_float
2054-
Sparky.menu.rtlib.full=Newlib Standard
2055-
Sparky.menu.rtlib.full.build.flags.ldspecs=
2050+
ESC_board.menu.rtlib.nano=Newlib Nano (default)
2051+
ESC_board.menu.rtlib.nanofp=Newlib Nano + Float Printf
2052+
ESC_board.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
2053+
ESC_board.menu.rtlib.nanofs=Newlib Nano + Float Scanf
2054+
ESC_board.menu.rtlib.nanofs.build.flags.ldspecs=--specs=nano.specs -u _scanf_float
2055+
ESC_board.menu.rtlib.nanofps=Newlib Nano + Float Printf/Scanf
2056+
ESC_board.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float -u _scanf_float
2057+
ESC_board.menu.rtlib.full=Newlib Standard
2058+
ESC_board.menu.rtlib.full.build.flags.ldspecs=
20562059

20572060
LoRa.menu.rtlib.nano=Newlib Nano (default)
20582061
LoRa.menu.rtlib.nanofp=Newlib Nano + Float Printf

cores/arduino/stm32/LL/stm32yyxx_ll_adc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_adc.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_adc.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_adc.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_bus.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_bus.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_bus.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_bus.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
#ifdef STM32H7xx
99
#include "stm32h7xx_ll_delayblock.h"
1010
#endif
11+
#ifdef STM32MP1xx
12+
#include "stm32mp1xx_ll_delayblock.h"
13+
#endif
1114
#pragma GCC diagnostic pop
1215
#endif /* _STM32YYXX_LL_DELAYBLOCK_H_ */

cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_gpio.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_gpio.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_gpio.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8+
#ifdef STM32MP1xx
9+
#include "stm32mp1xx_ll_ipcc.h"
10+
#endif
811
#ifdef STM32WBxx
912
#include "stm32wbxx_ll_ipcc.h"
1013
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_rcc.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_rcc.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_rcc.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
#ifdef STM32L4xx
2727
#include "stm32l4xx_ll_sdmmc.h"
2828
#endif
29+
#ifdef STM32MP1xx
30+
#include "stm32mp1xx_ll_sdmmc.h"
31+
#endif
2932
#pragma GCC diagnostic pop
3033
#endif /* _STM32YYXX_LL_SDMMC_H_ */

cores/arduino/stm32/LL/stm32yyxx_ll_system.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_system.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_system.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_system.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_usart.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_usart.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_usart.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_usart.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_utils.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifdef STM32L4xx
4242
#include "stm32l4xx_ll_utils.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_utils.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_utils.h"
4649
#endif

cores/arduino/stm32/stm32_def.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
#include "stm32l1xx.h"
4747
#elif defined(STM32L4xx)
4848
#include "stm32l4xx.h"
49+
#elif defined(STM32MP1xx)
50+
#include "stm32mp1xx.h"
4951
#elif defined(STM32WBxx)
5052
#include "stm32wbxx.h"
5153
#else

cores/arduino/stm32/stm32_def_build.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@
346346
#define CMSIS_STARTUP_FILE "startup_stm32l4s7xx.s"
347347
#elif defined(STM32L4S9xx)
348348
#define CMSIS_STARTUP_FILE "startup_stm32l4s9xx.s"
349+
#elif defined(STM32MP1xx)
350+
#define CMSIS_STARTUP_FILE "startup_stm32mp15xx.s"
349351
#elif defined(STM32WB50xx)
350352
#define CMSIS_STARTUP_FILE "startup_stm32wb50xx_cm4.s"
351353
#elif defined(STM32WB55xx)

cores/arduino/stm32/system_stm32yyxx.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
#ifdef STM32L4xx
3535
#include "system_stm32l4xx.c"
3636
#endif
37+
#ifdef STM32MP1xx
38+
#include "system_stm32mp1xx.c"
39+
#endif
3740
#ifdef STM32WBxx
3841
#include "system_stm32wbxx.c"
3942
#endif

libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
#ifdef STM32L4xx
3535
#include "stm32l4xx_hal.c"
3636
#endif
37+
#ifdef STM32MP1xx
38+
#include "stm32mp1xx_hal.c"
39+
#endif
3740
#ifdef STM32WBxx
3841
#include "stm32wbxx_hal.c"
3942
#endif

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
#ifdef STM32L4xx
3535
#include "stm32l4xx_hal_adc.c"
3636
#endif
37+
#ifdef STM32MP1xx
38+
#include "stm32mp1xx_hal_adc.c"
39+
#endif
3740
#ifdef STM32WBxx
3841
#include "stm32wbxx_hal_adc.c"
3942
#endif

0 commit comments

Comments
 (0)