As I said in my introduction message, I am currently working on the CMake support for STM32 boards. I have been told this was a feature some of you had requested, to overcome limitations of Arduino IDE (e.g., long build time...).
As this project is coming into beta, I would really like to get some feedback on it, in terms of features, performance, usability...
Here are the various entry points to get you started: Although being comfortable with CMake would be useful when using this project, it is not really a requirement: I have done my best to abstract any CMake-related complexity away.
The setup instructions are listed on a dedicated wiki page; briefly, you'll need CMake, Ninja, Python, plus a few Python modules to get running.
What is currently implemented:
- Building a sketch for any board the STM32 core supports, _quickly_ (about 10s on my machine);
- All the feature switches present in the Arduino IDE (and more!);
- Reading board definitions from boards.txt;
- Third-party Arduino libraries (typically in ~/Arduino/sketchbook);
- Uploading;
- Third-party bootloaders (Maple DFU Bootloader, HID Bootloader 2.2);
- Library management (download, update...);
- Automatic library dependency detection (you have to state explicitly that you use, e.g., the Wire library);