Skip to content

script to add new serie to the Arduino_Core_STM32#1248

Merged
fpistm merged 1 commit intostm32duino:masterfrom
FRASTM:script_add
Dec 2, 2020
Merged

script to add new serie to the Arduino_Core_STM32#1248
fpistm merged 1 commit intostm32duino:masterfrom
FRASTM:script_add

Conversation

@FRASTM
Copy link
Copy Markdown
Contributor

@FRASTM FRASTM commented Dec 2, 2020

This change in the CI/utils/stm32update.py is creating a new option -a which will add a new serie in the Arduino_Core_STM32
Exemple to add the new stm32l5xx serie:
$ python3 stm32update.py -a l5

Not tested: combination of several series in '-a' option, combination of options ('-a' -'c' ...)
TODO: this new stm32YY serie is added at the end of the list in STM32YYxx_CMSIS_version.md and STM32YYxx_HAL_Driver_version.md files

Signed-off-by: Francois Ramu francois.ramu@st.com

use: -a <new_serie_to_add ex: l5>

Signed-off-by: Francois Ramu <francois.ramu@st.com>
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm self-requested a review December 2, 2020 17:03
Copy link
Copy Markdown
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FRASTM I've force update your branch with some fixes.

  • Check if the version already exists
  • Fix python script formatting using black and flake8
  • Sorted MD files update
  • Simplify new serie addition

@fpistm fpistm merged commit d856484 into stm32duino:master Dec 2, 2020
@fpistm fpistm added the enhancement New feature or request label Dec 2, 2020
@fpistm fpistm added this to the 2.0.0 milestone Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants