I had a project running on the esp-idf, using Espressif’s own Visual Studio Code plugin.
After all the effort it took to get it working, I thought I’d try again with PlatformIO. I got a test pio project running fine, with ocd-based debugging working great with my esp32-pico-v4 board and an ESP-Prog JTAG adapter.
So then I copied my project’s code into a fresh pio project. This project uses BlueKitchen’s btstack library.
The plain-IDF setup for btstack is pretty straightforward - it comes with a .py script which, when run, copies the component into IDF at $IDF_PATH.
Since PIO installs its own IDF, I re-ran that script with
$IDF_PATH set to PIO’s version. Completed fine.
But, when I build my project, I get
btstack.h: No such file or directory errors.
Has anyone had any luck referencing btstack from a PlatformIO project?