Skip to content

feat: update stm32cubeprog options#119

Merged
fpistm merged 4 commits into
stm32duino:mainfrom
fpistm:stm32cubeprog_options
Jul 21, 2026
Merged

feat: update stm32cubeprog options#119
fpistm merged 4 commits into
stm32duino:mainfrom
fpistm:stm32cubeprog_options

Conversation

@fpistm

@fpistm fpistm commented Jul 21, 2026

Copy link
Copy Markdown
Member

This PR includes:

Linked to stm32duino/Arduino_Core_STM32#3028

fpistm added 2 commits July 21, 2026 14:24
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
sort per feature and alphabetical order.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the stm32CubeProg.sh flashing helper to align and extend STM32CubeProgrammer CLI options, including a breaking rename of the firmware path flag and added SWD connection parameters.

Changes:

  • Renames firmware file option from -f/--file to -b/--bin and reorganizes usage() help text.
  • Adds SWD-specific options for frequency (-f/--freq) and ST-Link serial selection (-n/--snum), and threads them into the SWD --connect parameters.
  • Updates getopt short/long option definitions and corresponding argument parsing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread stm32CubeProg.sh
Comment thread stm32CubeProg.sh Outdated
fpistm added 2 commits July 21, 2026 16:34
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: bipoe <bipoeman12@gmail.com>
Co-Authored-By: Frederic Pillon <frederic.pillon@st.com>
@fpistm
fpistm force-pushed the stm32cubeprog_options branch from 408fab9 to 744264d Compare July 21, 2026 14:34
@fpistm
fpistm merged commit fe1ffaa into stm32duino:main Jul 21, 2026
@fpistm
fpistm deleted the stm32cubeprog_options branch July 21, 2026 14:45
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