-
Notifications
You must be signed in to change notification settings - Fork 38
/
platformio.ini
42 lines (35 loc) · 1.14 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
; 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 = OMX-27-firmware
[env]
framework = arduino
upload_protocol = teensy-cli
monitor_speed = 115200
lib_deps =
adafruit/Adafruit BusIO @ ^1.9.3
adafruit/Adafruit FRAM I2C @ ^2.0.0
adafruit/Adafruit Keypad @ ^1.3.0
adafruit/Adafruit NeoPixel @ ^1.9.0
adafruit/Adafruit SSD1306 @ ^2.4.6
adafruit/Adafruit GFX Library @ ^1.10.12
olikraus/U8g2_for_Adafruit_GFX @ ^1.8.0
adafruit/Adafruit MCP4725@^2.0.0
extra_scripts = clear_storage/register_storage_target.py
[env:teensy40]
platform = teensy
board = teensy40
build_flags = -D USB_MIDI_SERIAL
[env:teensy31]
platform = teensy
board = teensy31
; build_flags = -D USB_MIDI_SERIAL -D TEENSY_OPT_FAST_LTO
build_flags = -D USB_MIDI_SERIAL -D TEENSY_OPT_SMALLEST_CODE_LTO
; build_flags = -D USB_MIDI_SERIAL -D TEENSY_OPT_DEBUG_LTO