STM32CubeC5 initial release#352
Conversation
There was a problem hiding this comment.
Nit: rename commit scripts: genpinctrl: add jinja template to scripts: genpinctrl: add jinja template for HAL2 or something like that
Also: since this template is identical to pinctrl-template.j2 (minus STM32F1 support) except for genpinctrl.py --> genpinctrl_cubev2.py, why not just make the tool's name a Jinja template variable instead, and share the template between HAL1 and HAL2 scripts? (or rather, pass whether target is HAL1 or HAL2 - see other comment)
There was a problem hiding this comment.
I agree having a single template would be preferred
There was a problem hiding this comment.
Templates are not strictly identical. I'll leave as is for the moment. It can be reworked later.
There was a problem hiding this comment.
I agree having a single template would be preferred
| https://github.com/STMicroelectronics/STM32CubeC5 | ||
|
|
||
| Commit: | ||
| NA |
There was a problem hiding this comment.
bfb39f1c987ed1c6e49de19655d2c299a4aee462
7192986 to
c31e8f6
Compare
|
|
||
| Status: | ||
| Generated using STM32 Open Pin Data | ||
| Generated using external batabase: |
There was a problem hiding this comment.
| Generated using external batabase: | |
| Generated using external database: |
| @@ -5,25 +5,28 @@ Origin: | |||
| Generated | |||
|
|
|||
| Status: | |||
| Generated using STM32 Open Pin Data | |||
| Generated using external batabase: | |||
There was a problem hiding this comment.
| Generated using external batabase: | |
| Generated using external database: |
| @@ -5,25 +5,28 @@ Origin: | |||
| Generated | |||
|
|
|||
| Status: | |||
| Generated using STM32 Open Pin Data | |||
| Generated using external batabase: | |||
There was a problem hiding this comment.
| Generated using external batabase: | |
| Generated using external database: |
This script automates the generation of pinctrl files for STM32 HAL2. It will work the same way as the generation script for the HAL1 version with the consideration of several soc folders present in the directory given as input. It adds a new Jinja template for HAL2. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Update readme file to indicate the source files for STM32 HAL2 pinctrl generation. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Update pinctrl matches for STM32C5 pinctrl generation. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Generate pinctrl files for STM32C5x series. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
str4t0m
left a comment
There was a problem hiding this comment.
Not really familiar with the HAL2 yet, but made two observations.
Add Cube HAL and LL drivers and SoC files for STM32C5x series. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Generate LL headers for STM32C5x series. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This PR adds the STM32CubeC5 (HAL, LL and CMSIS) along with the pinctrl dts.
STM32CubeC5 introduces the new HAL2 and therefore uses a different layout than former HAL.
Pinctrl generation is different (extracted from json instead of xml) and necessitates a new generation script.