
- #CLION TUTORIAL HOW TO#
- #CLION TUTORIAL INSTALL#
- #CLION TUTORIAL SOFTWARE#
#CLION TUTORIAL INSTALL#
After installing Python, install using pip install nrfutil.
Nordic nrfutil by Nordic Semiconductor – a utility for generating DFU packages. This also includes the JLink installer – install it. Nordic command line tools ( nrfjprog and mergehex) by Nordic Semiconductor – Wrapper utility around JLink. You will need the following dependencies: If you are using different nRF5 hardware, you’ll need to modify the variables at the top of the root CMakeLists.txt later in the tutorial. This tutorial assumes you are using an nRF52 DK. Let’s set up an example project, using CLion as our IDE. It also makes adding the DFU bootloader very simple and provides many macros for adding the nRF5 SDK libraries to your project as you need them. So we built nRF5-cmake-scripts, which uses the mesh SDK scripts and provides CMake functions to add your own targets. However, the nRF52 SDK does not support development with CMake/CLion out of the box, but the Nordic nRF5 Mesh SDK does use CMake – although it does not support external projects. It’s useful to be able to share code across those platforms, so that you can write and test the code just once for both the firmware and the App.ĬLion is a great IDE for C and embedded development, and CMake provides many advantages such as the ability to create libraries that can be shared across platforms and to integrate those libraries into an application easily. These provide great starting points to develop a Bluetooth Low Energy device of your own.Īt NRB Tech we use the Nordic nRF52 series SoCs to build products such as AirTurn’s range of foot pedals, which act as a keyboard, mouse, MIDI device, or use a proprietary protocol.īluetooth products are often a combination of a low power device and an App. Some of the example projects available in the SDK include: Nordic provides a very complete SDK which contains many example applications and good documentation, making it easy to get started and build IoT devices. Nordic’s nRF52 series of Bluetooth Low Energy System-on-Chips (SoCs) are versatile and widely used in IoT products, supporting many different applications. #CLION TUTORIAL SOFTWARE#
Nick founded NRB Tech in 2018 to build useful and sustainable IoT products through a combination of in-depth hardware, software and user experience expertise.
#CLION TUTORIAL HOW TO#
Are you interested in embedded development? In this guest blog post Nick Brook, founder at NRB Tech, shows how to use CLion for nRF52.