forked from corrados/edrumulus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
68 lines (59 loc) · 1.99 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir=.
[env]
framework = arduino
lib_deps = fortyseveneffects/MIDI Library
build_src_filter =
+<*.c>
+<*.cpp>
+<*.h>
+<*.ino>
; see https://docs.platformio.org/en/latest/platforms/teensy.html for more details
[env:teensy36]
platform = teensy
board = teensy36
build_flags = -D USB_MIDI_SERIAL
[env:teensy40]
platform = teensy
board = teensy40
build_flags = -D USB_MIDI_SERIAL
[env:teensy41]
platform = teensy
board = teensy41
build_flags = -D USB_MIDI_SERIAL
; see https://docs.platformio.org/en/latest/platforms/espressif32.html for more details
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
[env:az-delivery-devkit-v4]
platform = espressif32
board = az-delivery-devkit-v4
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
build_unflags = -D ARDUINO_USB_MODE=1
build_flags =
-D USE_TINYUSB=1
-D ARDUINO_USB_MODE=0
-D ARDUINO_USB_CDC_ON_BOOT=1
'-D CFG_TUSB_CONFIG_FILE="${platformio.core_dir}/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/arduino_tinyusb/include/tusb_config.h"'
lib_archive = no
lib_deps =
${env.lib_deps}
adafruit/Adafruit TinyUSB Library
; see https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#how-to-update-to-the-latest-code
[env:arduino-latest]
platform = https://github.com/sgryphon/platform-espressif32.git#sgryphon/add-esp32-arduino-libs
board = az-delivery-devkit-v4
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#master
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1