dansheme gravatar image

Posted 2017-06-22 09:50:54 +0100

blogs->all

nRF52 Development with CLion

image description

TL;DR

If you just want to navigate (without debugging) through the nRF5-SDK using CLion, follow the following steps. For debugging go to “Debugging the nRF52 with CLion” in the full post.

  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 Full Story

While working on Jumper's µLogger, I decided enough is enough and I needed a proper IDE for developing embedded software. I wrote a script that lets you use CLion for navigating through the nRF5-SDK and even connect it to a debugger.

Check out the full post on Medium

2 comments

eyeye gravatar image

Posted June 23, 2017, 4:15 a.m.

Nice work. CLion is a very excellent IDE for C/C++ development.

SvenKBach gravatar image

Posted July 17, 2017, 1:39 p.m.

Keep us updated when ARM GCC can be worked out. Nice work (Y)

Sign in to comment.