This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Board is not defined

Hello everyone, I want to run project ble_uart on NRF52832 in Keil. At the beginning of the main.c I add #define BOARD_NRF6310

But get error C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Examples\11.0.0-2.alpha\bsp\boards.h(44): error: #35: #error directive: "Board is not defined"

main.c(334): error: #20: identifier "nrf_clock_lf_cfg_t" is undefined nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC; main.c(337): error: #94-D: the size of an array must be greater than zero SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);

Related