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

newbie facing issues in understanding the documents

I am a newbie to BLE and starting with nordic ble chip. I downloaded SDK 15.0.1, is there any proper document explaining SDK directory structure.
Thanks

Parents
  • I think what you are looking for is an explanation of the different folders in the SDK and what their contents are. As far as I'm aware this does not exist (I've also tried looking for it when I started out). Below is a short explanation of the main folders. Note I'm also a beginner and this reflects what (I think) I've understood so far

    Components: Code for the different peripherals on-board the Nordic IC's

    Config: Configuration files for IC's

    Documentation: Some license files, images, change history of the SDK & links to the infocenter documentation (as linked by Andreas)

    Examples: All the examples in the SDK

    External: Some software compatible with nRF chips made by external sources (e.g. RTOS, file system)

    External_tools: Tools to ease development (only cmsis in 15.0.0, used by some IDE's to modify sdk_config.h easily)

    Integration: Mostly legacy drivers

    Modules: Driver files for on-board peripherals

    The examples incorporate the solution and hex-file for each example. The solutions link to the other folders to get the used modules/components/etc. Any documentation on how to use the drivers and develop is in the infocenter.

    I hope this can help you further a bit.

  • Thanks for the reply.

    One more question, I know you are also a beginner and i'm asking the question without even trying - If I want to create my custom project how can I do that using the Nordic SDK.

    If I want to use UART to communicate to a sensor, BLE to send data to Gateway. How to create this project ?

    I hope I was able to convey my message.

  • This is a question often asked, you will find some ways to do it when you search the devzone.

    The easiest way I've read of is to edit one of the example projects. Just create a copy of it first so you have a back up of the original. This is also often advised/suggested to beginners by Nordic employees.

    Personally I've created a new project and copied all the source files of the example I wanted to use into it. Then I added all the header files and the most complete version of sdk_config.h I could find. I might have forgotten a step or two here, just know it takes a lot of time. My reasoning was that I wanted to create a more or less "clean" project in a different location from the SDK. 

Reply
  • This is a question often asked, you will find some ways to do it when you search the devzone.

    The easiest way I've read of is to edit one of the example projects. Just create a copy of it first so you have a back up of the original. This is also often advised/suggested to beginners by Nordic employees.

    Personally I've created a new project and copied all the source files of the example I wanted to use into it. Then I added all the header files and the most complete version of sdk_config.h I could find. I might have forgotten a step or two here, just know it takes a lot of time. My reasoning was that I wanted to create a more or less "clean" project in a different location from the SDK. 

Children
No Data
Related