
ANNA-B4 series - System integration manual
UBX-21000517 - R03
Contents
Page 30 of 74
C1-Public
4
Open CPU software
ANNA-B40 series modules are used in an open CPU configuration allows customer applications to be
developed in a Nordic SDK environment in the ANNA-B4 module.
4.1
Zephyr
is a widely adopted open-source Real Time Operating System (RTOS) that is supported
on a multitude of chipsets, including the nRF52833 chip in the ANNA-B4 module. The Zephyr project
is supported by the Linux Foundation.
Nordic Semiconductor provides the nRF Connect SDK for development using the Zephyr OS, but it is
also possible to use a command-line environment.
Getting started with Zephyr on the ANNA-B4 module
Follow the procedure below to get started with Zephyr:
1.
Install the Toolchain Manager from the
nRF Connect for Desktop
application and from there
install the nRF Connect SDK. For more information, see the nRF Connect SDK
2.
If a command line environment is preferred, see the Getting Started section on the Zephyr
website
Board configuration in Zephyr
The Zephyr OS is similar to Linux in many respects. It uses a similar structure of
make
files and config
files as the Linux kernel and also uses a device tree file to set up the pin mapping for your board.
An example configuration for EVK-ANNA-B402 is available in the Zephyr distribution or from the
u-blox open CPU github repository
Copy the configuration to the
<install directory>/zephyr/boards/arm
folder and build the project
from your preferred environment.
Building for ANNA-B402 EVK on the Zephyr command-line
To build and flash the Zephyr “blinky” example for the ANNA
-B4 EVK, move to the Zephyr folder in
your installation and on the shell prompt enter:
~/zephyrproject/zephyr$
west build -b ubx_evkannab4_nrf52833 samples/basic/blinky
~/zephyrproject/zephyr$
west flash
4.2
Nordic nRF5 SDK
The Nordic nRF5 SDK includes a broad selection of drivers and libraries that provide a rich
development environment for a broad range of devices and applications. The SDK is delivered in zip
container file for easy installation.
The SDK comes with support for the SEGGER Embedded Studio, Keil microcontroller development
kit, IAR embedded workbench IDE, as well as a GCC compiler that supports many platforms and
languages.
☞
The nRF5 SDK is in maintenance mode by Nordic Semiconductor and will receive updates as
needed. For new projects Nordic Semiconductor recommend using nRF Connect SDK (see
Zephyr).