NINA-B3 series - System integration manual
UBX-17056748 - R13
Software
Page 19 of 72
C1-Public
#define
RASPBERRY_PI_15_PIN NRF_GPIO_PIN_MAP(0, 17)
#define
RASPBERRY_PI_19_PIN NRF_GPIO_PIN_MAP(0, 21)
#define
RASPBERRY_PI_21_PIN NRF_GPIO_PIN_MAP(0, 23)
#define
RASPBERRY_PI_23_PIN NRF_GPIO_PIN_MAP(0, 7)
#define
RASPBERRY_PI_27_PIN NRF_GPIO_PIN_MAP(0, 26)
#define
RASPBERRY_PI_29_PIN NRF_GPIO_PIN_MAP(1, 15)
#define
RASPBERRY_PI_31_PIN NRF_GPIO_PIN_MAP(1, 11)
#define
RASPBERRY_PI_33_PIN NRF_GPIO_PIN_MAP(1, 3)
#define
RASPBERRY_PI_35_PIN NRF_GPIO_PIN_MAP(1, 2)
#define
RASPBERRY_PI_37_PIN NRF_GPIO_PIN_MAP(1, 8)
#define
RASPBERRY_PI_8_PIN RX_PIN_NUMBER
#define
RASPBERRY_PI_10_PIN TX_PIN_NUMBER
#define
RASPBERRY_PI_12_PIN NRF_GPIO_PIN_MAP(0, 13)
#define
RASPBERRY_PI_16_PIN NRF_GPIO_PIN_MAP(0, 20)
#define
RASPBERRY_PI_18_PIN NRF_GPIO_PIN_MAP(0, 22)
#define
RASPBERRY_PI_22_PIN NRF_GPIO_PIN_MAP(0, 12)
#define
RASPBERRY_PI_24_PIN NRF_GPIO_PIN_MAP(0, 27)
#define
RASPBERRY_PI_26_PIN NRF_GPIO_PIN_MAP(0, 6)
#define
RASPBERRY_PI_28_PIN NRF_GPIO_PIN_MAP(1, 14)
#define
RASPBERRY_PI_32_PIN NRF_GPIO_PIN_MAP(1, 10)
#define
RASPBERRY_PI_36_PIN NRF_GPIO_PIN_MAP(1, 1)
#define
RASPBERRY_PI_38_PIN NRF_GPIO_PIN_MAP(1, 9)
#define
RASPBERRY_PI_40_PIN NRF_GPIO_PIN_MAP(0, 11)
#ifdef
__cplusplus
}
#endif
#endif
// CUSTOM_BOARD_H
Figure 3: Example of EVK-NINA-B3 custom board support file
The board file can also be downloaded from the u-blox shortrange open CPU github repository
To make the build system use your custom board file define the build variable
BOARD_CUSTOM
in the
build configuration. If you build on an existing example, undefine the default
BOARD_PCA10056
.
Adding a board configuration to your project
A flexible way of adding a board to your project is to add a new build configuration to your Segger
Studio project and then use this configuration to select the correct board file for your build. By adding
several configurations, you can build for several targets from the same Segger Studio project.