-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Esp32-S3 does not appear as Midi-USB #1108
Comments
I don't use PlatformIO myself, so I'm afraid I won't be able to provide detailed support. Control Surface uses the built-in |
I get a similar problem with Raspberry Pi Pico in Platformio. Is it the same? The problem seems to be that MIDIUSB doesn't detect the architecture.
|
@madskjeldgaard that's a different problem. You need to ignore the |
Ah okay thanks ! |
I get the following message when I try your suggestion (https://github.com/espressif/arduino-esp32/blob/master/libraries/USB/examples/MIDI/MidiController/MidiController.ino) #include "USBMIDI.h" |
@ashojon Which version of the arduino-esp32 core are you using? USB MIDI support was added in version 3.0.0: https://github.com/espressif/arduino-esp32/releases/tag/3.0.0-alpha3 |
@tttapa I'm not entirely sure. The platform I use is Espressif 6.9.0 |
That version is based on v2.0.17 of the Arduino ESP32 core, so it doesn't support MIDI over USB yet. |
Does this mean I can't use PlatformIO and Visual Studio Code to develop MIDI over USB for ESP32? |
I'm afraid so. Here's a thread I found while googling: platformio/platform-espressif32#1225 Regarding VSCode, you can still use it for editing your code, you don't have to use the Arduino IDE for that. (Although I haven't personally used it for ESP32+Arduino, only for AVR boards or directly using the ESP-IDF). |
Describe the bug
I have an ESP32-S3 board and am trying to build a USB and BLE MIDI controller using the Control Surface library. Both USB and BLE MIDI work perfectly in the Arduino IDE. However, when I use PlatformIO with Visual Studio Code, the USB MIDI does not appear in Windows MIDI monitor software.
That is what I used as setting in Arduino IDE
Set board to ESP32-S3 in
Tools -> Board -> esp32 -> ESP32S3 Dev Module
Set USB mode to USB-OTG
Tools -> USB Mode -> USB-OTG (TinyUSB)
Connect the dev board to the PC (UART USB port)
Select the according port in
Tools -> Port
That is what I used as Setting in Platformio
[env:esp32s3usbotg]
platform = espressif32
board = esp32s3usbotg
framework = arduino
board_build.mcu = esp32s3
lib_deps = https://github.com/tttapa/Control-Surface.git#main
lib_ignore = MIDIUSB
Expected behavior
Esp32-S3 should recognized as MIDI-USB
Code
cpp
language specifier, as shown below. This ensures that the code is displayed correctly and that syntax highlighting is enabled. (See the GitHub Markdown guide.)The text was updated successfully, but these errors were encountered: