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

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy