Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(platform): Add OpenOCD programming support (STlink and DAP) #2528

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

nedseb
Copy link
Contributor

@nedseb nedseb commented Sep 27, 2024

  • Modified platform.txt to enable programming via OpenOCD, which was already used for debugging.
  • Added an example demonstrating how to program all Nucleo-64 boards, whether they use STLink or DAPLink.

To avoid conflict, the support for STeaMi will be added after the merge of the PR #2526

Benefits:

  • Enables programming of STeaMi boards.
  • Supports P_NUCLEO boards that use DAPLink instead of STLink to leverage WebUSB functionality.

… 64 boards

- Modified `platform.txt` to enable programming via OpenOCD, which was already used for debugging.
- Added an example demonstrating how to program all Nucleo-64 boards, whether they use STLink or DAPLink.

To avoid conflict, the support for STeaMi will be added after the merge of the PR stm32duino#2526

*Benefits:*

- Enables programming of STeaMi boards.
- Supports P_NUCLEO boards that use DAPLink instead of STLink to leverage WebUSB functionality.
@nedseb nedseb force-pushed the nedseb_platform_upload_openocd branch from 8a20dde to f52cbd8 Compare September 27, 2024 09:38
@nedseb nedseb changed the title feat(platform): Add OpenOCD programming support for STeaMi and Nucleo 64 feat(platform): Add OpenOCD programming support for STeaMi and P_NUCLEO WB55 Sep 27, 2024
@nedseb
Copy link
Contributor Author

nedseb commented Sep 27, 2024

Seems related to issue #2437

@fpistm fpistm added the enhancement New feature or request label Sep 27, 2024
@fpistm fpistm added this to the 2.9.0 milestone Sep 27, 2024
else only one menu is displayed, the last one.

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm
Copy link
Member

fpistm commented Sep 27, 2024

Hi @nedseb

Thanks again for the PR.

Seems related to issue #2437

Right.
/CC @maxgerhardt

About the PR I've pushed 2 commits. 1 to fix issue with the menu and 1 to enhance the openOCD tagret definition.
I've tested the debug and it always works.

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm changed the title feat(platform): Add OpenOCD programming support for STeaMi and P_NUCLEO WB55 feat(platform): Add OpenOCD programming support (STlink and DAP) Oct 1, 2024
@fpistm fpistm linked an issue Oct 1, 2024 that may be closed by this pull request
@fpistm fpistm merged commit ea74156 into stm32duino:main Oct 1, 2024
24 checks passed
nedseb added a commit to nedseb/Arduino_Core_STM32 that referenced this pull request Oct 1, 2024
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
Development

Successfully merging this pull request may close these issues.

Add OpenOCD + CMSIS-DAP upload and debug
2 participants