Create Project
Create New Project - Simple LED Blink and Print Serial Message
Let's create a new custom project.
1. Create Folder and Files
Let's create project named "mySooniLED" at C:\ncs\workspace\mySooniLED
You need 3 files for your first project.
mySooniLED\ (project folder)
src\main.c
CMakeLists.txt
prj.conf
So, It should look like this.


2. Source Codes
This is a simple led blink example codes.
2.1 src/main.c
We get gpio device and control directly instead of alias name such as led-0
2.2 CMakeLists.txt
2.3 prj.conf
3. Open as Segger Project
3.1 Open Segger IDE
3.3 Select Project and Board
Select "C:\ncs\workspace\mySooniLED" project folder by use "..." button.
Check '3rd party kits'.
Select 'soonisys_sldev_nrf9160ns'.
OK.

3.4 Build and Run
Last updated