Commit Graph

13 Commits

Author SHA1 Message Date
Francois Ramu 9576a09ada stm32cube: update stm32mp1 to version V1.4.0
Update Cube version for STM32MP1xx series
on https://github.com/STMicroelectronics
from version v1.2.0
to version v1.4.0

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2021-04-02 08:56:46 -05:00
Alexandre Bourdiol 1e5111a2c1 stm32cube:add systematic compilation of '_hal_rcc_ex.c'
Add systematic compialtion of '..._hal_rcc_ex.c' in 'CMakeLists.txt'
generation. There is more and more dependence of HAL IP to
'..._hal_rcc_ex.c'

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2020-10-27 08:03:47 -05:00
Francois Ramu c25d94c94f stm32cube: update stm32mp1 to version 1.2.0
Update Cube version for STM32MP1xx series
   on https://github.com/STMicroelectronics
   from version 1.0.0
   to version 1.2.0

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2020-03-26 14:58:28 -05:00
Francois Ramu 7447c32a7a stm32cube: update stm32f3 to version V1.11.0
Update Cube version for STM32F3xx series
   on https://github.com/STMicroelectronics
   from version v1.10.0
   to version v1.11.0

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2020-01-14 15:30:36 +01:00
Erwan Gouriou 92bdc131f9 stm32cube: all: Rename Kconfig symbol xxx_CRYPT to xxx_CRYP
Each Cube peripheral API _foo.h has a matching Kconfig symbol
USE_STM32_HAL_FOO. This convention is useful for automatic package
update.
Crypto API derogates from this rule, which breaks automatic update:
- API is _cryp.h
- Kconfig is USE_STM32_HAL_CRYPT

Fix this by aligning Kconfig symbol on API naming.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-12-09 11:54:23 -06:00
Marc Herbert 2077622128 make stm32cube a zephyr_library()
Stops leaking very long source paths in build directories; makes them
deterministic.

This is identical to what was already merged in
https://github.com/zephyrproject-rtos/hal_nordic/pull/6
or https://github.com/zephyrproject-rtos/zephyr/pull/19531
see previous code reviews there.

See also CMake issue https://gitlab.kitware.com/cmake/cmake/issues/19475
for more details.

This is basically a search/replace of "zephyr_sources" with
"zephyr_library_sources"

For instance, when running sanitycheck -p stm3210c_eval, this changes
the build directories from:

sample.helloworld/
└── zephyr
    ├── CMakeFiles
    │   │   ├── HOME
    │   │   │   └── JOHN
    │   │   │      └── ZEPHYRPROJECT
    │   │   │          └── modules
    │   │   │             └── hal
    │   │   │                └── stm32
    │   │   │                    └── stm32cube
    │   │   │                       └── stm32f1xx
    │   │   │                          ├── drivers
    │   │   │                          │  └── src
    │   │   │                          │     ├── stm32f1xx_hal.c.obj
    │   │   │                          │     ├── stm32f1xx_hal_rcc.c.obj
    │   │   │                          │     └── stm32f1xx_ll_utils.c.obj
    │   │   │                          └── soc
    │   │   │                              └── system_stm32f1xx.c.obj

... to:

sample.helloworld/
├── modules
│   ├── stm32
│   │   ├── CMakeFiles
│   │   └── stm32cube
│   │       ├── CMakeFiles
│   │       │   └── ..__modules__hal__stm32__stm32cube.dir
│   │       │       └── stm32f1xx
│   │       │           ├── drivers
│   │       │           │   └── src
│   │       │           │       ├── stm32f1xx_hal.c.obj
│   │       │           │       ├── stm32f1xx_hal_rcc.c.obj
│   │       │           │       └── stm32f1xx_ll_utils.c.obj
│   │       │           └── soc
│   │       │               └── system_stm32f1xx.c.obj
│   │       ├──
│   │       ├── lib..__modules__hal__stm32__stm32cube.a

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-10-23 06:37:43 -05:00
Yaël Boutreux 272281a199 stm32cube: stm32mp1xx: drivers: add SPI's LL
Add SPI LL files for STM32MP1x.

Signed-off-by: Yaël Boutreux <yael.boutreux@st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2019-08-02 09:28:01 -04:00
Yaël Boutreux a9090422ca stm32cube: stm32mp1xx: soc: Update SPI registers definition
Update CMSIS SPI registers definition

Signed-off-by: Yaël Boutreux <yael.boutreux@st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2019-08-02 09:28:01 -04:00
Arnaud Pouliquen 49c26855a6 stm32mp1: add i2c ll driver
Add I2C LL support on top of the V1.0 release.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2019-07-24 11:54:01 +02:00
Arnaud Pouliquen 397208b41a ext: hal: add new API to get stm32 ipcc num of channel
Add API to read the The IPCC peripheral HWCFGR register and return the
number of channels capability.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2019-06-21 09:29:10 -04:00
Arnaud Pouliquen f6460402e9 ext: hal: fix naming in rcc ll
The CONFIG_ prefix is reserved in Zephyr, rename CONFIG_SHIFT and
associated constants by adding a RCC_ prefix

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2019-04-19 12:05:27 -05:00
Arnaud Pouliquen 3d963c8647 ext: hal: add stm32mp1 exti ll driver
The stm32mp1 exti ll driver is mandatory for compilation.
add it on top of stm32cubeMP1 version 1.0.0.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2019-04-19 12:05:27 -05:00
Arnaud Pouliquen 5706a250ab 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>
2019-04-19 12:05:27 -05:00