Skip to content

Commit d59cfcb

Browse files
juickarerwango
authored andcommitted
stm32cube:stm32mp13xx: Add initial support of the stm32mp13xx series
Origin: https://github.com/STMicroelectronics/STM32CubeMP13 Commit: 0ef689b06775da063006da84d952d8bd48f9e5e1 Signed-off-by: Julien Racki <[email protected]>
1 parent 4ec1fd2 commit d59cfcb

File tree

199 files changed

+689225
-0
lines changed

Some content is hidden

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

199 files changed

+689225
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Copyright (c) 2025 STMicroelectronics
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
zephyr_library_sources(soc/system_stm32mp13xx_A7.c)
6+
zephyr_library_sources(drivers/src/stm32mp13xx_hal.c)
7+
zephyr_library_sources(drivers/src/stm32mp13xx_hal_rcc.c)
8+
zephyr_library_sources(drivers/src/stm32mp13xx_hal_rcc_ex.c)
9+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32mp13xx_hal_adc.c)
10+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32mp13xx_hal_adc_ex.c)
11+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CEC drivers/src/stm32mp13xx_hal_cec.c)
12+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32mp13xx_hal_cortex.c)
13+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32mp13xx_hal_crc.c)
14+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32mp13xx_hal_crc_ex.c)
15+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP drivers/src/stm32mp13xx_hal_cryp.c)
16+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP_EX drivers/src/stm32mp13xx_hal_cryp_ex.c)
17+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32mp13xx_hal_dac.c)
18+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32mp13xx_hal_dac_ex.c)
19+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI drivers/src/stm32mp13xx_hal_dcmi.c)
20+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM drivers/src/stm32mp13xx_hal_dfsdm.c)
21+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM_EX drivers/src/stm32mp13xx_hal_dfsdm_ex.c)
22+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32mp13xx_hal_dma.c)
23+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32mp13xx_hal_dma_ex.c)
24+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_EXTI drivers/src/stm32mp13xx_hal_exti.c)
25+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FDCAN drivers/src/stm32mp13xx_hal_fdcan.c)
26+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32mp13xx_hal_gpio.c)
27+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32mp13xx_hal_hash.c)
28+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HASH_EX drivers/src/stm32mp13xx_hal_hash_ex.c)
29+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HSEM drivers/src/stm32mp13xx_hal_hsem.c)
30+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32mp13xx_hal_i2c.c)
31+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32mp13xx_hal_i2c_ex.c)
32+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IPCC drivers/src/stm32mp13xx_hal_ipcc.c)
33+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32mp13xx_hal_lptim.c)
34+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MDIOS drivers/src/stm32mp13xx_hal_mdios.c)
35+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MDMA drivers/src/stm32mp13xx_hal_mdma.c)
36+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32mp13xx_hal_pwr.c)
37+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32mp13xx_hal_pwr_ex.c)
38+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32mp13xx_hal_qspi.c)
39+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32mp13xx_hal_rng.c)
40+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32mp13xx_hal_rtc.c)
41+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32mp13xx_hal_rtc_ex.c)
42+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32mp13xx_hal_sai.c)
43+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32mp13xx_hal_sai_ex.c)
44+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32mp13xx_hal_sd.c)
45+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD_EX drivers/src/stm32mp13xx_hal_sd_ex.c)
46+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32mp13xx_hal_smartcard.c)
47+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32mp13xx_hal_smartcard_ex.c)
48+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32mp13xx_hal_smbus.c)
49+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS_EX drivers/src/stm32mp13xx_hal_smbus_ex.c)
50+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPDIFRX drivers/src/stm32mp13xx_hal_spdifrx.c)
51+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32mp13xx_hal_spi.c)
52+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32mp13xx_hal_spi_ex.c)
53+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32mp13xx_hal_sram.c)
54+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32mp13xx_hal_tim.c)
55+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32mp13xx_hal_tim_ex.c)
56+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32mp13xx_hal_uart.c)
57+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32mp13xx_hal_uart_ex.c)
58+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32mp13xx_hal_usart.c)
59+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART_EX drivers/src/stm32mp13xx_hal_usart_ex.c)
60+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32mp13xx_hal_wwdg.c)
61+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32mp13xx_ll_adc.c)
62+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DELAYBLOCK drivers/src/stm32mp13xx_ll_delayblock.c)
63+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32mp13xx_ll_dma.c)
64+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32mp13xx_ll_exti.c)
65+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32mp13xx_ll_fmc.c)
66+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32mp13xx_ll_gpio.c)
67+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32mp13xx_ll_i2c.c)
68+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32mp13xx_ll_lptim.c)
69+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32mp13xx_ll_pwr.c)
70+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32mp13xx_ll_rcc.c)
71+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32mp13xx_ll_rtc.c)
72+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32mp13xx_ll_sdmmc.c)
73+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32mp13xx_ll_spi.c)
74+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32mp13xx_ll_tim.c)
75+
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32mp13xx_ll_usart.c)

stm32cube/stm32mp13xx/LICENSE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2025 STMicroelectronics.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its contributors
15+
may be used to endorse or promote products derived from this software without
16+
specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

stm32cube/stm32mp13xx/README

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
STM32CubeMP13
2+
#############
3+
4+
Origin:
5+
ST Microelectronics
6+
https://github.com/STMicroelectronics/STM32CubeMP13
7+
8+
Status:
9+
version 1.2.0
10+
11+
Purpose:
12+
ST Microelectronics official MCU package for STM32MP13 series.
13+
14+
Description:
15+
This package is an extract of official STM32CubeMP13 package written by ST Microelectronics.
16+
It is composed of STM32Cube hardware abstraction layer (HAL) and low layer (LL) plus a set
17+
of CMSIS headers files, one for each SoC in STM32MP1 series.
18+
19+
Dependencies:
20+
None.
21+
22+
URL:
23+
https://github.com/STMicroelectronics/STM32CubeMP13
24+
25+
Commit:
26+
0ef689b06775da063006da84d952d8bd48f9e5e1
27+
28+
Maintained-by:
29+
External
30+
31+
License:
32+
BSD-3-Clause
33+
34+
License Link:
35+
https://opensource.org/licenses/BSD-3-Clause
36+
37+
Patch List:
38+
39+
*Changes from official delivery:
40+
-dos2unix applied
41+
-trailing white spaces removed
42+
43+
*Provision to enable hal & ll asserts added
44+
-Modified stm32cube/stm32mp13xx/drivers/include/stm32_assert_templates.h
45+
46+
See release_note.html from STM32Cube

0 commit comments

Comments
 (0)