Skip to content

Commit 7999a46

Browse files
authored
Merge pull request #935 from fpistm/MP1Update
[MP1] Cube update
2 parents bbb0cf1 + 7157171 commit 7999a46

File tree

84 files changed

+394907
-15954
lines changed

Some content is hidden

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

84 files changed

+394907
-15954
lines changed

cores/arduino/stm32/LL/stm32yyxx_ll.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include "stm32yyxx_ll_crs.h"
1717
#include "stm32yyxx_ll_dac.h"
1818
#include "stm32yyxx_ll_delayblock.h"
19-
#include "stm32yyxx_ll_dma.h"
2019
#include "stm32yyxx_ll_dma2d.h"
20+
#include "stm32yyxx_ll_dma.h"
2121
#include "stm32yyxx_ll_dmamux.h"
2222
#include "stm32yyxx_ll_exti.h"
2323
#include "stm32yyxx_ll_fmac.h"

cores/arduino/stm32/LL/stm32yyxx_ll_cortex.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_cortex.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_cortex.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_cortex.h"
4649
#endif

cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
#ifdef STM32L4xx
2424
#include "stm32l4xx_ll_fmc.h"
2525
#endif
26+
#ifdef STM32MP1xx
27+
#include "stm32mp1xx_ll_fmc.h"
28+
#endif
2629
#pragma GCC diagnostic pop
2730
#endif /* _STM32YYXX_LL_FMC_H_ */

cores/arduino/stm32/LL/stm32yyxx_ll_rtc.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_rtc.h"
4343
#endif
44+
#ifdef STM32MP1xx
45+
#include "stm32mp1xx_ll_rtc.h"
46+
#endif
4447
#ifdef STM32WBxx
4548
#include "stm32wbxx_ll_rtc.h"
4649
#endif

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc.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_rtc.c"
3636
#endif
37+
#ifdef STM32MP1xx
38+
#include "stm32mp1xx_hal_rtc.c"
39+
#endif
3740
#ifdef STM32WBxx
3841
#include "stm32wbxx_hal_rtc.c"
3942
#endif

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.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_rtc_ex.c"
3636
#endif
37+
#ifdef STM32MP1xx
38+
#include "stm32mp1xx_hal_rtc_ex.c"
39+
#endif
3740
#ifdef STM32WBxx
3841
#include "stm32wbxx_hal_rtc_ex.c"
3942
#endif

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sram.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@
2525
#ifdef STM32L4xx
2626
#include "stm32l4xx_hal_sram.c"
2727
#endif
28+
#ifdef STM32MP1xx
29+
#include "stm32mp1xx_hal_sram.c"
30+
#endif

libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_ll_fmc.c"
1818
#endif
19+
#ifdef STM32MP1xx
20+
#include "stm32mp1xx_ll_fmc.c"
21+
#endif

libraries/SrcWrapper/src/LL/stm32yyxx_ll_rtc.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_ll_rtc.c"
3636
#endif
37+
#ifdef STM32MP1xx
38+
#include "stm32mp1xx_ll_rtc.c"
39+
#endif
3740
#ifdef STM32WBxx
3841
#include "stm32wbxx_ll_rtc.c"
3942
#endif

libraries/SrcWrapper/src/stm32/clock.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@
4343
extern "C" {
4444
#endif
4545

46-
#if defined(STM32MP1xx)
47-
#include "stm32mp1xx_hal.h"
48-
/* STM32MP1xx does not have own stm32mp1xx_ll_cortex.h so define functions manually.
49-
*/
50-
__STATIC_INLINE uint32_t LL_SYSTICK_IsActiveCounterFlag(void)
51-
{
52-
return ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == (SysTick_CTRL_COUNTFLAG_Msk));
53-
}
54-
#endif
55-
5646
/**
5747
* @brief Function called to read the current micro second
5848
* @param None

0 commit comments

Comments
 (0)