Hi all,
since this thread is kind of the main thread for ESP-ADF + pIO, I thought I’d share this for everyone who’s still struggling with getting it to work: Since pIO supports external components, it’s possible to just add the components of ESP-ADF to your project and it will compile just fine with a few lines added to platform.ini:
1.) Embed the duerOS profile binary in the firmware
board_build.embed_txtfiles = components/dueros_service/duer_profile
2.) Configure a supported board:
build_flags = -D CONFIG_ESP_LYRATD_MSC_V2_2_BOARD
3.) Fix an error in the linker-script generation (see this pIO thread and this related GitHub issue):
build_unflags = -Wl,--end-group
I created a GitHub repo with a pre-configured project containing the ESP-ADF TCP-Client example. It uses the most recent ESP-IDF version supported by pIO framework-espidf 3.40300.0 (4.3.0)
with ESP-ADF v2.3.