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 header file in SEGGER Embedded studio?

Hi.

I am trying to add a delay to a project using nrf_delay_ms(100);

I have added the following, however I get an error saying "nrf_delay.h: No such file or directory"

#include "nrf_delay.h"

I have also gone into the Preprocessor - > User include directories, and added; 

"../../../../../../components/libraries/delay"

Am I missing something elsewhere? I am used to microchip PIC development, which is a lot simpler than using this SDK.

Thanks

Related