Skip to content

Commit 05b97dd

Browse files
build(platformio): 3 recipes declare midi2 in lib_deps
Each PlatformIO recipe (ESP32_Host_MIDI-based, no Pico SDK) now pulls midi2 from the PlatformIO Registry through lib_deps: lib_deps = sauloverissimo/midi2 @ ^0.3.3 ...other deps... Recipes touched: - esp32-c6-devkitc-multi-midi2 (BLE + ESP-NOW, ESP32_Host_MIDI v6.0.1) - esp32-s3-devkitc-host-midi2 (USB Host, ESP32_Host_MIDI v6.0.0) - t-display-s3-shield-host-midi2 (USB Host + ST7789 piano, ESP32_Host_MIDI local) These recipes already pulled midi2_cpp via lib_extra_dirs from the parent tree; nothing about that path changes. midi2_cpp's own src/midi2.{h,c} keeps the recipes building today and will go away in the final cleanup commit, at which point lib_extra_dirs gives them midi2_cpp source files only and lib_deps gives them midi2.
1 parent b33e017 commit 05b97dd

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

examples/esp32-c6-devkitc-multi-midi2/pio/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ build_flags =
5353
lib_extra_dirs = ../../..
5454

5555
lib_deps =
56+
sauloverissimo/midi2 @ ^0.3.3
5657
https://github.com/sauloverissimo/ESP32_Host_MIDI.git#v6.0.1
5758

5859
; Pre-build patch: ESP32_Host_MIDI v6.0.0 ships USB Host transport sources

examples/esp32-s3-devkitc-host-midi2/pio/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ build_flags =
3636
lib_extra_dirs = ../../..
3737

3838
lib_deps =
39+
sauloverissimo/midi2 @ ^0.3.3
3940
https://github.com/sauloverissimo/ESP32_Host_MIDI.git#v6.0.0

examples/t-display-s3-shield-host-midi2/pio/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@ build_flags =
5454
lib_extra_dirs = ../../.., /home/shared/workspaces/github
5555

5656
lib_deps =
57+
sauloverissimo/midi2 @ ^0.3.3
5758
ESP32_Host_MIDI
5859
lovyan03/LovyanGFX@^1.2.0

0 commit comments

Comments
 (0)