Open xabadabazinho opened 4 years ago
I'm not a PlatformIO user myself, but it looks like it's trying to build the MIDIUSB library, which shouldn't be necessary for ESP32. I'm not sure what causes this, it might be the dependencies specified in Control Surface's library.json file, or it might detect it on its own by scanning the header files used in the code using the pio LDF.
Adding lib_ignore = MIDIUSB
to your platformio.ini
file should get around this issue for now.
I'll see if I can fix this more permanently in the library.json
file of the library.
Works perfectly Thanks a lot.
On an unrelated note: there have been huge improvements in the ESP32 Bluetooth MIDI backend, I've added SysEx support and replaced the Arduino BLE library with the native ESP-IDF Bluetooth API because the former had concurrency issues. The changes haven't made it into the master branch yet, but you can check them out on the new-input
branch if you want.
Suggestion to add lib_ignore = MIDIUSB
worked well for Teensy 4.0 as well
Hi, it's still reproduced
Hi, thanks for the fastastic library. I´m compiling without problems in Arduino IDE, but having erros in Platformio/VSC using BLE with ESP32 and Control Surface@^1.2.0-4:
Platformio.ini
===================================================== The code
======================================================= errors: