Skip to content

Commit

Permalink
hw/bsp/nordic_pca10056: Switch to use common download script
Browse files Browse the repository at this point in the history
This also changes default downloader to nrfutil

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Dec 2, 2024
1 parent 90c5968 commit 8cd6230
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 41 deletions.
2 changes: 1 addition & 1 deletion hw/bsp/nordic_pca10056/bsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bsp.arch: cortex_m4
bsp.compiler: compiler/arm-none-eabi-m4
bsp.linkerscript: autogenerated
bsp.part2linkerscript: "hw/bsp/nordic_pca10056/split-nordic_pca10056.ld"
bsp.downloadscript: "hw/bsp/nordic_pca10056/nordic_pca10056_download.sh"
bsp.downloadscript: "hw/scripts/download.sh"
bsp.debugscript: "hw/bsp/nordic_pca10056/nordic_pca10056_debug.sh"

bsp.flash_map:
Expand Down
40 changes: 0 additions & 40 deletions hw/bsp/nordic_pca10056/nordic_pca10056_download.sh

This file was deleted.

1 change: 1 addition & 0 deletions hw/bsp/nordic_pca10056/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pkg.cflags.HARDFLOAT:
pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf52xxx"
- "@apache-mynewt-core/libc"
- "@apache-mynewt-core/hw/scripts"
- "@apache-mynewt-core/sys/flash_map"
- "@apache-mynewt-core/boot/startup"

Expand Down
5 changes: 5 additions & 0 deletions hw/bsp/nordic_pca10056/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ syscfg.vals:
QSPI_PIN_DIO3: 23
GPIO_AS_PIN_RESET: 1

MYNEWT_DOWNLOADER: nrfutil
JLINK_TARGET: NRF52
PYOCD_TARGET: nrf52840
MYNEWT_DOWNLOADER_MFG_IMAGE_FLASH_OFFSET: 0x0

syscfg.vals.BLE_CONTROLLER:
TIMER_0: 0
TIMER_5: 1
Expand Down

0 comments on commit 8cd6230

Please sign in to comment.