Help using CLion + CMake + ESP-IDF v4.0+
Posted: Sat Oct 12, 2019 11:47 am
Hi,
Now that the ESP-IDF is moving away from Make to Ninja (and Clion doesn't support Ninja) do any of the ESP engineers (who have said that they use Clion*) have any tips to get this to work with IDF v4.x+ please?
I bumbled into this GitHub just ("Ninja support for CLion IDE (working with newer versions of clion)" https://gist.github.com/arichardson/3de ... edd2e0fe63
But no luck getting that to work either.
I have been able to get Clion + Cmake + IDFv4 working with the Make variant, I could launch almost any of the IDF CMake API macros from the CLion 'Run Configurations' menu, i.e. I was able to build my project bin using 'gen_project_binary'.
However, trying to launch the 'monitor' failed, it was unable to find a 'project_settings.json' file in the build folder.
I launch CLion from a shell script that sets all the Environment vars, to reduce the amount of CLion settings/duplications.
As much as I like Clion, I'd be really keen to hear what the internal ESP developers use and find to be 'the best'/'most popular'.
Thanks
*https://esp32.com/viewtopic.php?f=13&t=11280
Now that the ESP-IDF is moving away from Make to Ninja (and Clion doesn't support Ninja) do any of the ESP engineers (who have said that they use Clion*) have any tips to get this to work with IDF v4.x+ please?
I bumbled into this GitHub just ("Ninja support for CLion IDE (working with newer versions of clion)" https://gist.github.com/arichardson/3de ... edd2e0fe63
But no luck getting that to work either.
I have been able to get Clion + Cmake + IDFv4 working with the Make variant, I could launch almost any of the IDF CMake API macros from the CLion 'Run Configurations' menu, i.e. I was able to build my project bin using 'gen_project_binary'.
However, trying to launch the 'monitor' failed, it was unable to find a 'project_settings.json' file in the build folder.
I launch CLion from a shell script that sets all the Environment vars, to reduce the amount of CLion settings/duplications.
As much as I like Clion, I'd be really keen to hear what the internal ESP developers use and find to be 'the best'/'most popular'.
Thanks
*https://esp32.com/viewtopic.php?f=13&t=11280