Skip to content

Commit 23eceb0

Browse files
committed
[MP1] Add basic #define in cores/arduino/stm32
1 parent cedb608 commit 23eceb0

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

cores/arduino/stm32/stm32_def.h

+2
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

+2
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

+3
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

0 commit comments

Comments
 (0)