After upgrading Espressiff32 to 3.0 undefined reference to PEM file

Good day.
Today I updated the Espressif 32 platform. After that, the project stopped building, due to the fact that the PEM file declared in platformio.ini became unavailable

The build system has changed, see Add support for ESP-IDF v4.2 · Issue #455 · platformio/platform-espressif32 · GitHub for explanation and reasoning.

That embed_txtfiles platformio.ini directive is not needed anymore and it’s purely configured by ESP-IDFs build system. You need to add something to the src/CMakeLists.txt as shown in the official example

Thanks, I’ll try now