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

Create project Keil - RunTime - nrf52

Hello,

I'm starting to program a Nordic microcontroller, the nRF52. I was able to compile the various examples.

Now I would like to create my own project and use the different libraries that are used in Nordic examples.

How should I do? How to recover or create a main.c ? Should you include files manually?

Thank you in advance for your answers.

Parents
  • Hi,

    I would recommend using the template examples in the SDK as a starting point for developing your own application. Most of the libraries should already be included here, so you don’t need to add all the files manually.

    If you are developing a project with BLE, use the ble_app_template example. It located in the folder <SDK_InstallFolder>\examples\ble_peripheral\ble_app_template

    If you are not planning to use BLE, use the template example in the folder <SDK_InstallFolder>\examples\peripheral\template_project


    You can download the SDK from here.

Reply
  • Hi,

    I would recommend using the template examples in the SDK as a starting point for developing your own application. Most of the libraries should already be included here, so you don’t need to add all the files manually.

    If you are developing a project with BLE, use the ble_app_template example. It located in the folder <SDK_InstallFolder>\examples\ble_peripheral\ble_app_template

    If you are not planning to use BLE, use the template example in the folder <SDK_InstallFolder>\examples\peripheral\template_project


    You can download the SDK from here.

Children
No Data
Related