francoiscampbell / CLionArduinoPlugin

A plugin for CLion that enables arduino-cmake integration.
155 stars 41 forks source link

CLion Arduino Plugin

This is a JetBrains CLion plugin that integrates Arduino CMake into the IDE.

The current features are to create an Arduino CMake project in one click, and to create new sketch files.

For those asking how to upload, you need to specify the serial port in the CMakeLists.txt file. For example:

set(${CMAKE_PROJECT_NAME}_BOARD uno)
set(${CMAKE_PROJECT_NAME}_PORT /dev/ttys0)

This will create the 'upload' configuration in your Run Configurations and you can click the Run button or use the keyboard shortcut to upload.

Future features are to add menu option to easily change the board type, port number, import existing Arduino projects, etc.

Update on status:

It seems that arduino-cmake (the backing plugin) development has pretty much stalled, which is the root cause of most of the issues here, so I've got my own fork and I've tried to implement most of the fixes from previous forks of the project, which are also mostly dead. This project was just an exercise in making a JetBrains plugin that turned out well, but I don't have a lot of free time on my hands to do this though, what with full-time university and what not, so I can't give a definite date on what will be fixed when, but I will make an effort to get it done.

Release Notes

1.2.2

1.2.1

1.2.0

1.1.0

1.0.2

1.0.1

1.0