8000 STM32MP1xx: Add basic #define in cores/arduino/stm32 · stm32duino/Arduino_Core_STM32@b679102 · GitHub
[go: up one dir, main page]

Skip to content

Commit b679102

Browse files
committed
STM32MP1xx: Add basic #define in cores/arduino/stm32
1 parent c505ee7 commit b679102

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

cores/arduino/stm32/stm32_def.h

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

cores/arduino/stm32/stm32_def_build.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@
330330
#define CMSIS_STARTUP_FILE "startup_stm32l4s7xx.s"
331331
#elif defined(STM32L4S9xx)
332332
#define CMSIS_STARTUP_FILE "startup_stm32l4s9xx.s"
333+
#elif defined(STM32MP1xx)
334+
#define CMSIS_STARTUP_FILE "startup_stm32mp15xx.s"
333335
#elif defined(STM32WB55xx)
334336
#define CMSIS_STARTUP_FILE "startup_stm32wb55xx_cm4.s"
335337
#else

cores/arduino/stm32/system_stm32yyxx.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
#ifdef STM32L4xx
3232
#include "system_stm32l4xx.c"
3333
#endif
34+
#ifdef STM32MP1xx
35+
#include "system_stm32mp1xx.c"
36+
#endif
3437
#ifdef STM32WBxx
3538
#include "system_stm32wbxx.c"
3639
#endif

0 commit comments

Comments
 (0)
0