NINA-B1 series - System integration manual
UBX-15026175 - R16
Software
Page 19 of 63
C1-Public
Figure 6 Setting up board configuration to use evk_nina_b1.h board file
The build for your configuration now uses your custom board file.
2.2.2
Zephyr
Zephyr [16] is a widely adopted open-source Real Time Operating System (RTOS) that is supported
on a multitude of chipsets, including the nRF52832 chip in the NINA-B1 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 other editors with for example a command-line environment for building.
Getting started with Zephyr on the NINA-B1 module
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 page [20]
2)
If a command line environment is preferred, refer to the Getting Started section on the Zephyr
website [16] for more information.
Defining a board configuration in Zephyr
The Zephyr OS is like Linux and uses a similar structure of make files and config files as the Linux
kernel. It also uses a device tree file to set up the pin mapping for your board.
Although an example configuration for EVK-NINA-B1 is not yet included in the Zephyr distribution,
the configuration can be downloaded from the u-blox shortrange open CPU github repository [17].
Copy the configuration to the
<install directory>/zephyr/boards/arm
folder and the build the
project in your preferred environment.