AnubisF / nrf5-sdk-clion

Use Nordic's nRF5-SDK with CLion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nordic's nRF5-SDK with CLion

Hey there embedded developers, you deserve a modern IDE!

Running this script from the root directory of your nRF5-SDK will create CMakelists.txt files for all of the example projects in the SDK.

Disclaimer: This will not let you build or flash your project from CLion but you will be able to navigate through your project and the SDK libraries.

How to use it

Tested on Ubuntu 16.04 and macOS

  1. (optional) Create a backup for your current nrf5-SDK directory
  2. cd into the root of the nrf5-SDK directory
  3. curl -s https://raw.githubusercontent.com/Jumperr-labs/nrf5-sdk-clion/master/nrf5-sdk-to-clion.sh | bash
  4. Open "./CMakeLists.txt" and uncomment the desired project's path (you can uncomment multiple projects)
  5. From CLion, go to File-->Open and choose the root directory of the nRF5-SDK.

The last stage is needed since adding all of the example projects to the CMakeLists.txt file would overload CLion.

About

Use Nordic's nRF5-SDK with CLion

License:Apache License 2.0


Languages

Language:Shell 100.0%