CLion example - STM8 + IAR compiler + CMake Very basic, it's just compiles Tools used CLion 2021.2.1(?) CMake 3.20 or 3.21.1(bundled to CLion) MinGW-w64 IAR Embedded Workbench for STM8 How 2 Run Set up a CLion toolchain out of MinGW and iccstm8.exe compiler shipped with IAR EWSTM8