Minimal barebones CLion Arduino example
This is a minimal example, built around the blink sketch, that demonstrates how to work on your arduino sketches using CLion using no additional software.
Tested with CLion 2017.3.1 and Arduino 1.8.5 on Uno and M0.
See the explanatory blog post for more details.
Alternatives
- Visual Studio Code with the Arduino extension is amazing and works out of the box.
- PlatformIO CLion integration: http://docs.platformio.org/en/latest/ide/clion.html
- Arduino CMake: https://github.com/queezythegreat/arduino-cmake