Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add debug openocd#1976

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 4 commits intostm32duino:mainfromgautierg-st:add_debug_openocd
Mar 18, 2023
Merged

Conversation

gautierg-st
Copy link
Contributor

@gautierg-stgautierg-st commentedMar 15, 2023
edited
Loading

Summary

This PR implements the debug feature in Arduino 2.0

  • Modifies variant script to generate openocd.cfg file for all variants
  • Adds debugger configuration to platform.txt
  • Update boards.txt for all families
  • Adds openocd.cfg for all variants

Limitations

Doesn't work if selected board is a Nucleo-* due toarduino/arduino-ide#1960
Only use with Generic STM32xx series for the moment.

Closing issues

Fixes#1896

per1234 reacted with thumbs up emoji
@fpistmfpistm added enhancementNew feature or request arduino compatibility labelsMar 15, 2023
@fpistmfpistm added this to the2.5.0 milestoneMar 15, 2023
Copy link
Member

@fpistmfpistm left a comment

Choose a reason for hiding this comment

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

One remarks to test else LGTM.
Thanks

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
@fpistm
Copy link
Member

PR have been updated to workaround issue with{build.variant} property expansion:
arduino/arduino-ide#1960

@fpistmfpistm self-requested a reviewMarch 17, 2023 15:21
fpistmand others added3 commitsMarch 17, 2023 16:41
Due to several issue with Arduino IDE 2 to expand someproperties within Debugger configuration, postbuild recipeis used to copy the openocd.cg from the correct stm32 series.Somes issues have been raised on Arduino IDE GitHub, when solvedthis recipes should be removed and openocdscript added inthe boards.txt.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
STM32C0 has no target cfg file in openocd scripts directory.For all other variants, the openocd file is added.Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistmfpistm merged commit5c87586 intostm32duino:mainMar 18, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fpistmfpistmfpistm approved these changes

Assignees
No one assigned
Labels
arduino compatibilityenhancementNew feature or request
Projects
None yet
Milestone
2.5.0
Development

Successfully merging this pull request may close these issues.

Arduino IDE 2.x Debug feature support
2 participants
@gautierg-st@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp