Hi, i’m creating a USB MIDI Controller using an ESP32S3 N16R8.
I tried configuring my board using the Arduino IDE as this:
It’s working well when i upload the sketch to my board.
I’m trying to get it to work on Platform.IO but i don’t find any information on how to fix it. If i upload it using Platform.IO the board is not recognized as a MIDI USB.
I’m using MIDI-OX to verify if the board is detected, using Arduino IDE it’s detected but with platform IO no.
Here’s my platformio.ini content:
[env:adafruit_feather_esp32s3_tft]
platform = espressif32
board = adafruit_feather_esp32s3_tft
framework = arduino
monitor_speed = 115200
build_unflags =
-std=gnu++11
-D ARDUINO_USB_MODE=1
build_flags =
-std=gnu++17
-D USE_TINYUSB=1
-D ARDUINO_USB_MODE=0
-D ARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
adafruit/Adafruit SSD1306@^2.5.15
adafruit/Adafruit GFX Library@^1.12.4
tttapa/Control Surface@^2.1.0
fastled/FastLED@^3.10.3
i tried adding this line to the build flags found in another community post but not working either:
-D CFG_TUSB_CONFIG_FILE="${platformio.home_dir}/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/arduino_tinyusb/include/tusb_config.h"
While i’m at it, is there a documentation to know what build flags are available and what they exactly do ?
Have a great day ! Hope someone can help ^^
