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>
Update Cube version for STM32H7xx series
on https://github.com/STMicroelectronics
from version v1.8.0
to version v1.9.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32G0xx series
on https://github.com/STMicroelectronics
from version v1.4.0
to version v1.4.1
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32F4xx series
on https://github.com/STMicroelectronics
from version v1.25.2
to version v1.26.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32F7xx series
on https://github.com/STMicroelectronics
from version v1.16.0
to version v1.16.1
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32G4xx series
on https://github.com/STMicroelectronics
from version v1.3.0
to version v1.4.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32L4xx series
on https://github.com/STMicroelectronics
from version v1.16.0
to version v1.17.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32FL5xx series
on https://github.com/STMicroelectronics
from version v1.3.1
to version v1.4.0
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Update Cube version for STM32F1xx series
on https://github.com/STMicroelectronics
from version v1.8.2
to version v1.8.3
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F2xx series
on https://github.com/STMicroelectronics
from version v1.9.1
to version v1.9.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F3xx series
on https://github.com/STMicroelectronics
from version v1.11.1
to version v1.11.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32L0xx series
on https://github.com/STMicroelectronics
from version v1.11.3
to version v1.12.0
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F4xx series
on https://github.com/STMicroelectronics
from version v1.25.1
to version v1.25.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update Cube version for STM32F0xx series
on https://github.com/STMicroelectronics
from version v1.11.1
to version v1.11.2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
When running ./update_stm32_package.py, script breaks due to
unexpected presence of common_ll/ under stm32cube/ .
Skip update when this directory is parsed.
Additionally, update README to avoid recurrent issue when using
the script.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
The content of stm32g0xx_hal_hcd.h should be included only
on devices where the usb peripheral is available,
but this is not the case in STM32CubeG0 v1.4.0 release.
This commit fixes that issue.
Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
Update Cube version for STM32G0xx series
on https://github.com/STMicroelectronics
from version v1.3.0
to version v1.4.0
Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
Re-generate pinctrl files using STM32 open pin data. No changes are
present since data is based on the same CubeMX version.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Change script to require STM32 Open Pin Data as input. README file is
now autogenerated so that it will always include the STM32 Open Pin Data
commit used for generation.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This new set of files includes "additional functions"
analog signals as defined in reference manuals.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
It is now possible that mode is not provided for non-F1 series
configs.
On F1 series ADC1_IN0 could be af 0.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Due to inference of mode for default configurations, mode
should not be set unless it specifies a specific signal variant.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
For non-F1 series:
Add generation of additional functions by inferring mode based
on AF detection instead of the mode value filed in config file.
This allows to detect that a signal should use 'analog' mode
when no AF function is associated to it.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
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>
Define class Stm32SerieUpdate
Use Pathlib instead of os.path
Add CLI option to provide directory path where to clone
STM32Cube repo (-r <repo_path>)
Reformat README.rst
Add *.pyc to .gitignore
Refactor variable naming (mainly paths),
* to be fully compilant with PEP8
* to be more understandable
* to simplify maintenance
Usage changed. Basic usage:
* update a single serie:
'python3 update_stm32_package.py -s <stm32_serie>'
* update all serie at once:
'python3 update_stm32_package.py
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
The script is able to generate common LL headers which can be used in
both Zephyr and applications to make it easier to create family
independent code.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>