Tips for importing an esp-idf project?


Espressif has a number of sample projects under the esp-iot-solution umbrella (in fact a GitHub repo by that name). I’m wondering if there is an easy way to import projects in that format. There are dozens of useful drivers there.

One peculiarity is that the esp-idf is imported as a submodule of said project and I’m betting they use some build system magic to isolate it from the system wide IDF.

Hints, tips, pointers?

Could you point to a few projects?

This is a nice starting point as it directly touches a couple drivers (LCD, input) and corresponding adapters.

Of course the idea is not to just port it but kind of meta-port it in a way not entirely different from what’s available via Kconfig/make menuconfig.