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

Need a support to do spi interfacing in segger embedded studio using nRF51822 module

Dear Sir/Madam,

I'am new to segger embedded studio.I would like to do SPI interfacing of an IC using nRF51822 with segger embedded studio.

Please guide me how to add the necessary driver files into my project.

Regards

Pavankumar S

Parents Reply
  • You should follow the tutorial closely, the nrf.h file is located in the components/device directory:

    • Select Project -> Edit Options... and then select the Preprocessor tab
    • Add ../../../../../../components/device to the User Include Directories field to include the device header files in our Embedded Studio project

    Your user include directories should look like this now:

    image description

    I also see that you have added system_nrf52.c and ses_startup_nrf52.s, these will not work for nRF51 chips. You may find some useful information in this post.

Children
Related