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

Setup a new project for nRF32528 with Segger Embedded Studio

Hello,

I want to create an application for the nRF52832 using Segger Embedded Studio and the nRF-SDK. In order to have a clean and portable solution I would like to have a project folder outside the SDK that contains my own source code as well as all dependencies.

With most frameworks that I have used in the past all I had to do, was to copy a number of header and library files (that I may had to build myself) into my new project and use them once they were in there. With the nRF-SDK it seems to be a little more complicated.

As far as I can tell single functionalites (like the peripheral Clock) are seperated into several layers, there is a bunch of legacy stuff floating around and to top it all of the files in question are scattered randomly into multiple folders (I'm sure it's way more thought out than that, but that's the current impression I have).

So for an example let's say I would want to build an application that needs control over:

  1. the chips peripherals like ADCs, Clock, etc.
  2. the UART interface
  3. Bluetooth features

Do I really have to hunt down all the dependencies (and their recursive dependencies) manually and copy them into my own project or is there a more elegant solution to solve that issue?

(btw. if someone could explain me how the SDK is structured that would be really appreciated as well)

Best regards,
Malek

Related