Replace direct NimBLE-Arduino dependency with max22/ESP32-BLE-MIDI wrapper library (v0.3.2). Rewrite ble_midi_transport to use BLEMidiServer API instead of raw NimBLEDevice calls. Removes patch_nimble_device() from pre_build.py — no longer needed since BT controller init is managed by the library internally. The library uses NimBLE v1.4.1 internally and configures advertising without setScanResponse() or setName(), which may resolve the invisible BLE advertising issue on ESP32-S3.
28 lines
593 B
INI
28 lines
593 B
INI
; PlatformIO project configuration
|
|
; ESP32-S3 Loopy Pro Launchpad-Compatible Foot Controller
|
|
|
|
[env:esp32s3]
|
|
platform = espressif32
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
lib_deps =
|
|
adafruit/Adafruit TinyUSB [email protected]
|
|
fastled/FastLED@^3.9.0
|
|
max22/ESP32-BLE-MIDI@^0.3.2
|
|
|
|
build_unflags =
|
|
-DARDUINO_USB_MODE=1
|
|
|
|
build_flags =
|
|
-DARDUINO_USB_MODE=0
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DUSE_TINYUSB=1
|
|
-Wno-macro-redefined
|
|
|
|
monitor_speed = 115200
|
|
|
|
board_build.partitions = default_8MB.csv
|
|
board_build.arduino.memory_type = qio_opi
|
|
|
|
extra_scripts = pre:pre_build.py
|