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

nrf: Added support for writing with nrfjprog on all nrf boards #1738

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

sago35
Copy link
Member

@sago35 sago35 commented Mar 22, 2021

tinygo flash -programmer command to write using nrfjprog

This PR makes it possible for all nrf devices to support the same writing style.
Basically, it should be possible to write with openocd, but if for some reason someone wants to use nrfjprog, the -programmer command option can be used.

It is related to the following
tinygo-org/tinygo-site#157

`tinygo flash -programmer command` to write using nrfjprog
@@ -2,7 +2,6 @@
"inherits": ["nrf52840"],
"build-tags": ["pca10056"],
"flash-method": "command",
Copy link
Member Author

Choose a reason for hiding this comment

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

Only pca10056 has command as the default.
It might be better to adapt it to openocd, but I don't know.
I will fix it if someone wants to.

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 this pull request may close these issues.

1 participant