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

Common download scripts for NRF5x #3352

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Nov 28, 2024

This PR:

  • switches Nordic DK boards to use common download script download.sh.
    That way it's possible to select downloader with syscfg value MYNEWT_DOWNLOADER (jlink/nrfjprog/nrfutil/pyocd).
  • adds support to download using new Nordic tool nrfutil.
  • enables verification when nrfjprog is selected
  • adds second flash map for pca10059 (USB dongle that ships without debugger and SWD connector) selectable with syscfg value. When BSP_NRF_SDK_FLASH_LAYOUT=1 Nordic specific flash map is used. Additionally nrfutil will download firmware using nordicDfu protocol activated after reset button in pressed

This add initial support to program Nordic targets
with nrfutil.

Signed-off-by: Jerzy Kasenberg <[email protected]>
@kasjer kasjer requested a review from sjanc November 28, 2024 13:29
@github-actions github-actions bot added Nordic Nordic related BSP size/m labels Nov 28, 2024
With this change it's possible to flash USB dongle with
nrfutil without connected debugger (dongle does not have
SWD connector).

Signed-off-by: Jerzy Kasenberg <[email protected]>
This also changes default downloader to nrfutil

Signed-off-by: Jerzy Kasenberg <[email protected]>
This also changes default downloader to nrfutil

Signed-off-by: Jerzy Kasenberg <[email protected]>
This enables verification after flashing.

Signed-off-by: Jerzy Kasenberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant