Using PlatformIO to get started with Arduino in CLion IDE

As an almost everyday Android Studio user for past 2 years I feel like my whole programming effectiveness and efficiency became kind of ‘tightly coupled’ with IntelliJ’s IDE product family. Probably that’s why, when my new Arduino Yún finally arrived, the first thing on my to-do list was configuring a CLion template project. Most of IDE plugins and other minor solutions seemed not to be working, and that’s when I’ve found out about…