I received my nRF52840-DK (PCA10056) last week and today I was given the task to get started.
I started setup my environment with my preferred choice: Arduino IDE.
Unfortunately I could not get it to work, and some forums on the internet suggest not to use Arduino IDE because it's not officially supported.
The next choice I took is Segger Embedded Studio.
It was easy to follow and install the Nordic package.
Eventually I found out it's really easy to upload an example, as written here:
https://infocenter.nordicsemi.com/pdf/getting_started_ses.pdf
Now I want to start to develop my own programs, but I'm completely lost where to begin.
I could not find any tutorial that gets me started with the basics.
I thought the following website was a good start:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf52840_dk%2FUG%2Fcommon%2Fnordic_tools.html&anchor=nordic_tools
Or:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fintro.html
But there is never actual content how to actually start programming.
I also tried to "reverse engineer" the examples to figure out the relation between the source files:
~/Downloads/software/nRF5_SDK/nRF5_SDK_15.3.0_59ac345/examples/peripheral/blinky
If I copy main.c from blinky to a blank project in SES, I get the following error:
no such file or directory nrf_delay.h
Is some path variable not updated? Do I need to manually add the .h files to my project?
How can I import my project from Arduino IDE to SES?
How can I communicate via serial interface?
I also noticed that blinky had a lot of external include files. Are these all necessary?