Skip to content

[New series] STM32MP1xx (just Cube package) #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_adc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_adc.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_adc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_bus.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_bus.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_bus.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
#ifdef STM32H7xx
#include "stm32h7xx_ll_delayblock.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_delayblock.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_DELAYBLOCK_H_ */
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_gpio.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_gpio.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_gpio.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32MP1xx
#include "stm32mp1xx_ll_ipcc.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_ipcc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_rcc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_rcc.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_rcc.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_sdmmc.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_sdmmc.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_SDMMC_H_ */
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_system.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_system.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_system.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_usart.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_usart.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_usart.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_ll_utils.h"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_ll_utils.h"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_ll_utils.h"
#endif
Expand Down
2 changes: 2 additions & 0 deletions cores/arduino/stm32/stm32_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
#include "stm32l1xx.h"
#elif defined(STM32L4xx)
#include "stm32l4xx.h"
#elif defined(STM32MP1xx)
#include "stm32mp1xx.h"
#elif defined(STM32WBxx)
#include "stm32wbxx.h"
#else
Expand Down
2 changes: 2 additions & 0 deletions cores/arduino/stm32/stm32_def_build.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@
#define CMSIS_STARTUP_FILE "startup_stm32l4s7xx.s"
#elif defined(STM32L4S9xx)
#define CMSIS_STARTUP_FILE "startup_stm32l4s9xx.s"
#elif defined(STM32MP1xx)
#define CMSIS_STARTUP_FILE "startup_stm32mp15xx.s"
#elif defined(STM32WB50xx)
#define CMSIS_STARTUP_FILE "startup_stm32wb50xx_cm4.s"
#elif defined(STM32WB55xx)
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/system_stm32yyxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "system_stm32l4xx.c"
#endif
#ifdef STM32MP1xx
#include "system_stm32mp1xx.c"
#endif
#ifdef STM32WBxx
#include "system_stm32wbxx.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_adc.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_adc.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_adc.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_adc_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_adc_ex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_adc_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_cec.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_cec.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_cortex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_cortex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_cortex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_crc.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_crc.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_crc.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_crc_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_crc_ex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_crc_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_cryp.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_cryp.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_cryp.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_cryp_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_cryp_ex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_cryp_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dac.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dac.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dac_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dac_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dcmi.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dcmi.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dfsdm.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dfsdm.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm_ex.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dfsdm_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dfsdm_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dma.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dma.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_dma.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_dma_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_dma_ex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_dma_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_exti.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_exti.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_exti.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_fdcan.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_fdcan.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_gpio.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_gpio.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_gpio.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_hash.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_hash.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_hash_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_hash_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_hsem.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_hsem.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_hsem.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_i2c.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_i2c.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_i2c.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_i2c_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_i2c_ex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_i2c_ex.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_ipcc.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_ipcc.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_lptim.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_lptim.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_lptim.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_mdios.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_mdios.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_mdma.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_mdma.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_msp_template.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_msp_template.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_msp_template.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_msp_template.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_pwr.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_pwr.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_pwr.c"
#endif
3 changes: 3 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#ifdef STM32L4xx
#include "stm32l4xx_hal_pwr_ex.c"
#endif
#ifdef STM32MP1xx
#include "stm32mp1xx_hal_pwr_ex.c"
#endif
#ifdef STM32WBxx
#include "stm32wbxx_hal_pwr_ex.c"
#endif
Loading