Skip to content
Permalink
Browse files

ext: hal: Enable support for stm32mp1xx hal

Provide required changes to stm32cube HAL and LL for the
STM32MP1X series MCU.

Origin: ST Microelectronics
License: BSD-3-Clause
URL: https://github.com/STMicroelectronics/STM32CubeMP1
Commit: 1.1.0
Purpose: HAL layer for STM32MP1
Maintained-by: External

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
  • Loading branch information...
arnop2 authored and galak committed Feb 20, 2019
1 parent e0afd7e commit e529af1f20f7516e0217e8899f875e4117609381
Showing with 319,154 additions and 0 deletions.
  1. +5 −0 ext/hal/st/stm32cube/CMakeLists.txt
  2. +6 −0 ext/hal/st/stm32cube/Kconfig
  3. +57 −0 ext/hal/st/stm32cube/stm32mp1xx/CMakeLists.txt
  4. +39 −0 ext/hal/st/stm32cube/stm32mp1xx/README
  5. +57 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32_assert.h
  6. +771 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal.h
  7. +1,826 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_adc.h
  8. +1,114 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_adc_ex.h
  9. +794 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_cec.h
  10. +339 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_conf.h
  11. +441 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_cortex.h
  12. +344 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_crc.h
  13. +153 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_crc_ex.h
  14. +537 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_cryp.h
  15. +123 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_cryp_ex.h
  16. +528 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dac.h
  17. +231 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dac_ex.h
  18. +659 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dcmi.h
  19. +199 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_def.h
  20. +799 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dfsdm.h
  21. +89 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dfsdm_ex.h
  22. +953 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dma.h
  23. +256 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_dma_ex.h
  24. +371 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_exti.h
  25. +2,319 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_fdcan.h
  26. +358 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_gpio.h
  27. +317 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_gpio_ex.h
  28. +621 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_hash.h
  29. +159 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_hash_ex.h
  30. +210 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_hsem.h
  31. +786 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_i2c.h
  32. +151 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_i2c_ex.h
  33. +291 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_ipcc.h
  34. +710 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_lptim.h
  35. +535 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_mdios.h
  36. +858 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_mdma.h
  37. +496 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_pwr.h
  38. +440 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_pwr_ex.h
  39. +750 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_qspi.h
  40. +4,493 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_rcc.h
  41. +2,028 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_rcc_ex.h
  42. +380 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_rng.h
  43. +961 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_sai.h
  44. +105 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_sai_ex.h
  45. +802 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_sd.h
  46. +113 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_sd_ex.h
  47. +743 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_smbus.h
  48. +544 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_spdifrx.h
  49. +1,020 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_spi.h
  50. +77 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_spi_ex.h
  51. +1,943 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_tim.h
  52. +547 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_tim_ex.h
  53. +1,596 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_uart.h
  54. +499 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_uart_ex.h
  55. +1,020 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_usart.h
  56. +285 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_usart_ex.h
  57. +307 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_hal_wwdg.h
  58. +7,100 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_adc.h
  59. +2,932 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_bus.h
  60. +96 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_delayblock.h
  61. +984 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_gpio.h
  62. +723 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_ipcc.h
  63. +5,975 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_rcc.h
  64. +1,073 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_sdmmc.h
  65. +1,239 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_system.h
  66. +4,377 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_usart.h
  67. +395 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/include/stm32mp1xx_ll_utils.h
  68. +841 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal.c
  69. +3,730 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_adc.c
  70. +2,447 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_adc_ex.c
  71. +1,001 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_cec.c
  72. +439 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_cortex.c
  73. +518 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_crc.c
  74. +225 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_crc_ex.c
  75. +4,530 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_cryp.c
  76. +352 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_cryp_ex.c
  77. +1,559 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dac.c
  78. +622 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dac_ex.c
  79. +1,188 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dcmi.c
  80. +3,561 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dfsdm.c
  81. +131 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dfsdm_ex.c
  82. +1,591 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dma.c
  83. +603 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_dma_ex.c
  84. +767 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_exti.c
  85. +5,097 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_fdcan.c
  86. +564 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_gpio.c
  87. +3,066 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_hash.c
  88. +916 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_hash_ex.c
  89. +437 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_hsem.c
  90. +7,055 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_i2c.c
  91. +347 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_i2c_ex.c
  92. +780 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_ipcc.c
  93. +1,659 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_lptim.c
  94. +633 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_mdios.c
  95. +1,854 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_mdma.c
  96. +101 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_msp.c
  97. +781 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_pwr.c
  98. +798 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_pwr_ex.c
  99. +2,658 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_qspi.c
  100. +2,699 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_rcc.c
  101. +3,406 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_rcc_ex.c
  102. +820 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_rng.c
  103. +2,645 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_sai.c
  104. +128 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_sai_ex.c
  105. +3,500 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_sd.c
  106. +306 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_sd_ex.c
  107. +2,673 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_smbus.c
  108. +1,260 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_spdifrx.c
  109. +3,494 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_spi.c
  110. +227 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_spi_ex.c
  111. +5,688 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_tim.c
  112. +2,041 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_tim_ex.c
  113. +167 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_timebase_tim.c
  114. +4,226 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_uart.c
  115. +732 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_uart_ex.c
  116. +4,072 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_usart.c
  117. +532 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_usart_ex.c
  118. +409 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_hal_wwdg.c
  119. +1,071 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_adc.c
  120. +172 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_delayblock.c
  121. +307 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_gpio.c
  122. +2,285 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_rcc.c
  123. +1,570 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_sdmmc.c
  124. +472 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_usart.c
  125. +651 −0 ext/hal/st/stm32cube/stm32mp1xx/drivers/src/stm32mp1xx_ll_utils.c
  126. +25,183 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp151axx_cm4.h
  127. +25,183 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp151cxx_cm4.h
  128. +26,766 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp153axx_cm4.h
  129. +26,766 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp153cxx_cm4.h
  130. +27,987 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp157axx_cm4.h
  131. +28,169 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp157cxx_cm4.h
  132. +220 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/stm32mp1xx.h
  133. +305 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/system_stm32mp1xx.c
  134. +122 −0 ext/hal/st/stm32cube/stm32mp1xx/soc/system_stm32mp1xx.h
@@ -27,8 +27,13 @@ set(stm_socs
stm32f7x
stm32l0x
stm32l4x
stm32mp1x
)

if(CONFIG_STM32_CORE_CM4)
zephyr_compile_definitions( -DCORE_CM4 )
endif()

foreach(stm_soc ${stm_socs})
string(TOUPPER ${stm_soc} soc_to_upper)
if(CONFIG_SOC_SERIES_${soc_to_upper})
@@ -122,6 +122,9 @@ config USE_STM32_HAL_I2C_EX
config USE_STM32_HAL_I2S
bool

config USE_STM32_HAL_IPCC
bool

config USE_STM32_HAL_I2S_EX
bool

@@ -308,6 +311,9 @@ config USE_STM32_LL_HRTIM
config USE_STM32_LL_I2C
bool

config USE_STM32_LL_IPCC
bool

config USE_STM32_LL_LPTIM
bool

@@ -0,0 +1,57 @@
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0

zephyr_sources(soc/system_stm32mp1xx.c)
zephyr_sources(drivers/src/stm32mp1xx_hal.c)
zephyr_sources(drivers/src/stm32mp1xx_hal_rcc.c)

zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32mp1xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32mp1xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32mp1xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32mp1xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32mp1xx_hal_crc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT drivers/src/stm32mp1xx_hal_cryp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT_EX drivers/src/stm32mp1xx_hal_cryp_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32mp1xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32mp1xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI drivers/src/stm32mp1xx_hal_dcmi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM drivers/src/stm32mp1xx_hal_dfsdm.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM_EX drivers/src/stm32mp1xx_hal_dfsdm_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32mp1xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32mp1xx_hal_dma_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32mp1xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32mp1xx_hal_hash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH_EX drivers/src/stm32mp1xx_hal_hash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32mp1xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32mp1xx_hal_i2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IPCC drivers/src/stm32mp1xx_hal_ipcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32mp1xx_hal_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32mp1xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32mp1xx_hal_pwr_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32mp1xx_hal_qspi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32mp1xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32mp1xx_hal_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32mp1xx_hal_sai.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32mp1xx_hal_sai_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32mp1xx_hal_sd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD_EX drivers/src/stm32mp1xx_hal_sd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32mp1xx_hal_smbus.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32mp1xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32mp1xx_hal_spi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32mp1xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32mp1xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32mp1xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32mp1xx_hal_uart_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32mp1xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART_EX drivers/src/stm32mp1xx_hal_usart_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32mp1xx_hal_wwdg.c)

zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32mp1xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32mp1xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32mp1xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32mp1xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32mp1xx_ll_sdmmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32mp1xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32mp1xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32mp1xx_ll_utils.c)
@@ -0,0 +1,39 @@
STM32CubeMP1
###########

Origin:
ST Microelectronics
https://github.com/STMicroelectronics/STM32CubeMP1

Status:
version 1.0.0

Purpose:
ST Microelectronics official MCU package for STM32MP1 series.

Description:
This package is an extract of official STM32CubeMP1 package written by ST Microelectronics.
It is composed of STM32Cube hardware abstraction layer (HAL) and low layer (LL) plus a set
of CMSIS headers files, one for each SoC in STM32MP1 series.

Dependencies:
None.

URL:
https://github.com/STMicroelectronics/STM32CubeMP1

commit:
version 1.0.0

Maintained-by:
External

License:
BSD-3-Clause

License Link:
https://opensource.org/licenses/BSD-3-Clause

Patch List:

* Initial version
@@ -0,0 +1,57 @@
/**
******************************************************************************
* @file stm32_assert.h
* @author MCD Application Team
* @brief STM32 assert template file.
* This file should be copied to the application folder and renamed
* to stm32_assert.h.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef STM32_ASSERT_H
#define STM32_ASSERT_H

#ifdef __cplusplus
extern "C" {
#endif

/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Includes ------------------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
#ifdef USE_FULL_ASSERT
/**
* @brief The assert_param macro is used for function's parameters check.
* @param expr: If expr is false, it calls assert_failed function
* which reports the name of the source file and the source
* line number of the call that failed.
* If expr is true, it returns no value.
* @retval None
*/
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
/* Exported functions ------------------------------------------------------- */
void assert_failed(uint8_t* file, uint32_t line);
#else
#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */

#ifdef __cplusplus
}
#endif

#endif /* STM32_ASSERT_H */


/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 comments on commit e529af1

Please sign in to comment.
You can’t perform that action at this time.