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

interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg #237

Closed
blelem opened this issue May 12, 2020 · 1 comment · Fixed by #239
Closed

interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg #237

blelem opened this issue May 12, 2020 · 1 comment · Fixed by #239

Comments

@blelem
Copy link

blelem commented May 12, 2020

In section 1.4.4, the proposed configuration seems to be deprecated by STM.
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
since it generates a warning
WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg
the cfg file proposed by openocd seems to work fine, so perhaps the book could be updated accordingly.
openocd -f interface/stlink.cfg -f target/stm32f3x.cfg

BTW, It took me about an hour to get through the introduction/installation chapter. Considering the amount of different SW components involved, that was a smooth ride! Thanks for writing this book!

@bors bors bot closed this as completed in 1e6247e May 24, 2020
@bors bors bot closed this as completed in #239 May 24, 2020
@guswynn
Copy link

guswynn commented Oct 4, 2020

as far as I can tell, stlink.cfg does not yet exist on the homebrewed version of openocd on OSX, do you mind if I open a PR to add a note?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants