Anybody use something other than the arduino IDE for editing? The lack of code completion makes discovery kind of painful. I’m super new to this type of dev, but if I get time I’m going to try to make this work with CLion, but I have the Jetbrains blinders on and really don’t know the C++ ecosystem all that well.
I’m using Emacs to edit the firmware files, and the CLI build system to build & flash it.
As a first step, you could try using an external editor with Arduino: in Preferences, tick the “Use external editor” button. Then you can edit the sketch in your editor of choice, and when it comes to compiling, go back to the Arduino IDE and do the compile & flash step there only.
Yeah, the Arduino IDE is abhorrent. I use Sublime Text (used to use VS Code) with the EasyClangComplete plugin. For compiling, I just use the CLI and a good old
EasyClangComplete is able to get almost everything going, but any references to
CRBG throws a warning, as does
I use Visual Studio Code with the Arduino extension and it works really well.
Thanks for suggestions. Will check them out today (ish).
I’m using Emacs and algernon’s docker build script. It’s easier to use and I don’t have to install any Arduino programs. Works great!