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

Starting a new nrf52 project in kiel

Hi all, I've always been a CSR developer and recently been asked to develop on the Nordic chip. The example code makes sense to me and its not to different to the CSR code. however, it seems impossibly convoluted to just start a new project, for example in CSR I would click new project -> minimal project and this would give me a suitable blank project.

When I click new project in Kiel I am asked to select a target device which makes sense, then I am presented with an incomprehensively large list of software components!?!? How do I know which to select for my project? Once I select the components I think I need then I'm presented with a project that doesn't compile and is missing main.c etc.

Surely there must be a default blank project I've scoured lots of PDF's about this and not really got the right information. One document mentioned copying an example project and renaming it? seems a bit impractical to me.

What I am most concerned about is I was told in confidence that Nordic is easier to develop on than CSR?!?! So I must be missing something because I was up and running in half the time with the CSR kit.

Parents
  • Hi,

    Which SDK version are you using? For NRF52 you should be using the nRF5 SDK v11.0.0: infocenter.nordicsemi.com/index.jsp

    Note that Keil CMSIS Packs have been deprecated in favor of everything in a single ZIP file starting with v11.0.0.

    After you download and unzip the SDK, you can find many examples in the examples folder along with their respective Keil and IAR project files with everything already set up to compile and run.

    If you want a "blank" BLE project to start with you can take a look at the "ble_app_template" project in "/examples/ble_peripheral"

    If you don't want to start with BLE there is also "template project" in "/examples/peripheral"

    Hope this helps.

  • After much tweaking yes, I finally got the project to compile - I had to adjust the includes paths to match the new project destination in both the includes (C/C++ tab) and edit the path of each separate file in the nrf_XXX folders in the project explorer. A bit tedious but got there in the end. Thank you for your support.

Reply Children
No Data
Related