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>
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>
Some files were missing explicit License information.
Add Apache-2.0 SPDX tag in these few cases.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
For stm32 series, get the version tree found on
https://github.com/STMicroelectronics/STM32Cube
and apply patches to update module to the latest version
run with $ python ./scripts/update_stm32_package.py stm32xx
Signed-off-by: Francois Ramu <francois.ramu@st.com>