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

Error: L6218E: Undefined symbol bsp_init (referred from main.o). ".\_build\nrf51422_xxac.axf" - 1 Errors, 0 Warning(s).

hi all,

i am currently using version 8 sdk. i tried to include bsp_init() function in my code. i attached following header files

#include "nrf51.h"
#include <stdbool.h>
#include <stdint.h>
#include "boards.h"
#include "bsp.h"
#include "app_timer.h"
#include "nordic_common.h"
#include "nrf_error.h"
#include "app_uart.h"
#include "app_error.h"
#include "nrf_delay.h"
#include "nrf.h"

before calling bsp_init() i initialized 1. lfclk() 2. timer also. but when i am compiling i am getting error as

linking... ._build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol bsp_init (referred from main.o). "._build\nrf51422_xxac.axf" - 1 Errors, 0 Warning(s). Target not created

. i am beginner to nordic help me. thanks in advance

Parents Reply Children
No Data
Related