Nordic Semiconductor nRF9151 DK

nRF9151 DK + Zephyr

The official Mender documentation explains how Mender works. This is a board-specific complement to the official documentation.

Device description

This is an Mender-MCU integration sample for nRF9151 DK.

This project is based on nRF Connect and hardware from Nordic Semiconductor

The project is not intended to be a complete reference design for a commercial product, but rather a source of inspiration.

Support level

Supported board:

Level of testing:

  • Sample integration tested with nRF Connect SDK v3.2.1
  • Build, flash, console access, and OTA artifact generation are covered in the project README

Getting started

Before getting started, make sure you have a proper nRF Connect development environment.

Install nRF Util:

nrfutil install sdk-manager

Install v3.2.1 SDK:

nrfutil sdk-manager install v3.2.1

Start the nRF Connect SDK toolchain shell:

nrfutil sdk-manager toolchain launch --ncs-version v3.2.1 --shell

Set up workspace:

mkdir -p ~/src/nrf9151-dk-mender-workspace && cd ~/src/nrf9151-dk-mender-workspace
west init -m https://github.com/id8-engineering/nrf9151-dk-mender --mr main .
cd nrf9151-dk-mender
west update

Export Mender tenant token:

export MENDER_TENANT_TOKEN="< paste token here, from https://eu.hosted.mender.io/ui/settings/organization >"

Build application:

west build -p always -b nrf9151dk/nrf9151/ns app -- \
  "-Dapp_CONFIG_MENDER_SERVER_TENANT_TOKEN=\"${MENDER_TENANT_TOKEN}\""

Flash firmware:

west flash

The Mender Artifact is generated at:

  • build/app/zephyr/zephyr.mender

Upload this file to:

Console access example:

minicom -D /dev/ttyACM0 -b 115200

References

Known issues

1 Like