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

west flash -r nrfjprog --erase --softreset does not work on STM32 devices #4

Closed
glenn-andrews opened this issue Oct 1, 2023 · 5 comments

Comments

@glenn-andrews
Copy link

let cmd = `west flash -r nrfjprog --erase --softreset`;

What happens if this is changed to just west flash and let West decide on the correct runner to use?

@jaredwolff
Copy link
Contributor

I think that may be OK. I'll have to experiment with it. Does that change work for you with the STM32?

@glenn-andrews
Copy link
Author

glenn-andrews commented Oct 5, 2023

I have no clue. I don't know how to rebuild and install a standalone extension. Are there build instructions somewhere?

If you can build it and provide instructions for installing a standalone extension on my Windows PC, I'll be happy to test it out for you.

@LokleLama
Copy link

there is a pull request that should help: #7

@jaredwolff
Copy link
Contributor

@glenn-andrews you now should be able to customize the runner you want to use for your project. You can run Zephyr Tools: Change Runner to select a runner and also add any extra arguments. You can see the commit here: #17

@glenn-andrews
Copy link
Author

Thank you! Very helpful!

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

No branches or pull requests

3 participants