Closed seafoams closed 2 years ago
Made a little more progress by commenting out the Nimble library altogether, though there's much more incompatible here than I previously thought. I may just have to suck it up and exchange for an ESP32 board instead.
I do not see the advantages to use an ESP32-S2 but I can be wrong.
Cons
Pro
Understood, though I only needed USB hosting since this'll be powered directly by my PC. PedalinoMini is just far more robust and fully-featured than other midi controllers I've found on github. I appreciate all the work you've done for it! I'll most likely be getting an ESP32 to program this more easiy.
Since the ESP32-S2 has integrated USB, I figured it'd be a nice all-in-one solution instead of buying two separate boards to have USB MIDI functionality. The ESP32-S2 is supported by Arduino core for the ESP32. Unfortunately, I'm having trouble with building in PlatformIO. I'm using the Adafruit Metro ESP32-S2.
I've changed platformio.ini to include:
as is recommended in PlatformIO's Espressif documentation here and here.
Since the ESP32-S2 does not have Bluetooth, I've disabled all BLE related inclusions and flags in platformio.ini and PedalinoMini.cpp. However, I'm still getting a mountain of errors.
Is there simply no easy way to build for the S2 without a major rework? I've been starting to go through and disable everything else non-essential, but this seems to be way above my skill level. I've attached the relevant files and diagnostics for where I'm currently at. Would greatly appreciate any advice!
ESP32-S2 attempt.zip