Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Creating a new project from example code in nrf5sdk/replicating example code in new project

Hello,

I was trying to recreate the blinky program for the nrf52840dk using the nRF5sdk using Segger embedded studio.

I tried doing it by opening the blinky example code and it works but when I tried to copy-paste the blinky folder in a new folder and try to run the program, the program doesnt run stating I lack the necessary files (.h and .c) that are in the components folder. I then went to copy-paste the components folder but still to no avail. 

What do I do to resolve this? what is the better way to create the modification of the code in a new file without changing the original source code from the examples folder of nRF5 sdk?

Parents Reply Children
Related