Can I use the espressif arduino-esp32 library in platformio?
Posted: Thu Feb 06, 2025 3:56 am
(I apologize if this question has been answered here already - the search on this forum is failing)
I'm successfully using the espressif arduino-esp32 library in the Arduino IDE, to create a MIDI controller that supports MIDI over both USB and BLE, and I want to move from the Arduino IDE to platformio + VSCode.
I've been able to get the BLE side of things to build using Arduino BLE MIDI libraries that aren't part of the espressif library, but I can't seem to get the USB library from arduino-esp32 to build in platformio in VSCode. The build is mostly successful, but it fails to find definitions for a few constants and functions while building the library's USB library.
I know the arduino-esp32 library officially only supports the Arduino IDE, but I'm hoping there's some way to configure platformio to use this library.
Thank you!
- Chris
I'm successfully using the espressif arduino-esp32 library in the Arduino IDE, to create a MIDI controller that supports MIDI over both USB and BLE, and I want to move from the Arduino IDE to platformio + VSCode.
I've been able to get the BLE side of things to build using Arduino BLE MIDI libraries that aren't part of the espressif library, but I can't seem to get the USB library from arduino-esp32 to build in platformio in VSCode. The build is mostly successful, but it fails to find definitions for a few constants and functions while building the library's USB library.
I know the arduino-esp32 library officially only supports the Arduino IDE, but I'm hoping there's some way to configure platformio to use this library.
Thank you!
- Chris