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

How do I include a library in a new project?

Probably a silly question, but I am new to Nordic Semiconductor and can't figure this out. I am trying to make a new project based on the Template example for nrf51422_xxac_s100 and am getting an error when I try to include the "ble_nus.h" library that is used in other example projects. The nRF_BLE software pack is included in the Template project (where I found the ble_nus in other projects). If I try adding "#include "ble_nus.h" in main.c, it gives me: "fatal error: 'ble_nus.h' file not found". I am using Keil uVersion 5. Thanks in advance!

Parents Reply Children
No Data
Related