Skip to content

Commit

Permalink
Merge pull request #17226 from dylad/pr/boards/nrf9160dk/add_riotboot…
Browse files Browse the repository at this point in the history
…_support

boards/nrf9160dk: add riotboot support
  • Loading branch information
benpicco authored Nov 19, 2021
2 parents 4c03d10 + fe76b3f commit e0b3cba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions boards/nrf9160dk/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ config BOARD_NRF9160DK
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART

# Put other features for this board (in alphabetical order)
select HAS_RIOTBOOT
2 changes: 2 additions & 0 deletions boards/nrf9160dk/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart

FEATURES_PROVIDED += riotboot
3 changes: 1 addition & 2 deletions cpu/nrf9160/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ RAM_START_ADDR ?= 0x20000000

LINKER_SCRIPT ?= cortexm.ld

FLASHFILE = $(BINFILE)
FLASHFILE ?= $(BINFILE)

PROGRAMMER ?= jlink
JLINK_DEVICE = NRF9160_XXAA


include $(RIOTCPU)/nrf5x_common/Makefile.include
include $(RIOTMAKE)/arch/cortexm.inc.mk

0 comments on commit e0b3cba

Please sign in to comment.