How to concatenate cmake targets?

ramier
Posts: 8
Joined: Sat Dec 18, 2021 9:01 pm

How to concatenate cmake targets?

Postby ramier » Sat Dec 18, 2021 9:07 pm

Hey,

I am using clion during development. Everything works fine so far, I used the tutorial provided by clion for the esp-idf setup https://www.jetbrains.com/help/clion/esp-idf.html.
When building and monitoring the log I have two options, first running build with cmake and then running monitor with cmake or simply running `idf.py flash monitor`.

Is there a way to reproduce `idf.py flash monitor` with cmake? I am able to run each of these command separately, but how can I combine them in cmake?
And where can I find the flash and monitor targets in cmake?

Thank you

Who is online

Users browsing this forum: No registered users and 295 guests