I have been playing around with Platform IO for a bit now and have had it mostly working well. But recently I have run into an error that has me stumped. I am just using the simple example ESP IDF Hello World project in Platform IO. I used the automated feature to create the project from Home Screen. At build time, I get an initial error that states
Generating assembly for certificate bundle... CMake Error at /Users/sriraj/.platformio/packages/framework-espidf/tools/cmake/scripts/data_file_embed_asm.cmake:26 (file): file failed to open for reading (No such file or directory): /Users/sriraj/Documents/PlatformIO/Projects/211102-232123-espidf-hello-world/.pio/build/esp32dev/x509_crt_bundle *** Error 1
Then it proceeds to build everything else before giving a fatal error -
*** [.pio/build/esp32dev/.pio/build/esp32dev/x509_crt_bundle.o] Source .pio/build/esp32dev/x509_crt_bundle.S' not found, needed by target .pio/build/esp32dev/.pio/build/esp32dev/x509_crt_bundle.o'.
Please note the following:
- I got out of Platform IO - used the regular ESP IDF framework and was able to compile the same program without any issues.
- I ran menuconfig and disabled mbedTLS root certificate bundle and it did nothing
- I uninstalled and reinstalled both ESP IDF framework and Platform IO - no luck
If I create a Platform IO ESP - Arduino example project (Blink) - it compiles and runs. If I run a similar hello world program using plain vanilla ESP-IDF it works.
I am stumped! Please help… thanks in advance