-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
64 lines (61 loc) · 1.75 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = teensylc
[env:teensylc]
platform = teensy-ds4
board = teensylc
framework = arduino
build_flags =
-DTEENSY_OPT_SMALLEST_CODE_LTO
-DUSB_DS4STUB
-DUSB_HOST_SERIAL=Serial1
-DRDS4_MANUAL_CONFIG
-DRDS4_AUTH_USBH
lib_deps =
SPI
USB-Host-Shield-20
MD_Menu
git+https://github.com/dogtopus/SoftPotMagic.git
ResponsiveAnalogRead
CRC32
git+https://github.com/dogtopus/RDS4Reboot.git#api-refactoring
; Use my own fork now until sumotoy/LiquidCrystalNewV2#9 got merged
git+https://github.com/dogtopus/LiquidCrystalNewV2.git
; not used but needed to build LiquidCrystalNewV2
gpio_expander
git+https://github.com/nox771/i2c_t3.git
Wire
upload_protocol = teensy-cli
[env:teensy36]
platform = teensy-ds4
board = teensy36
framework = arduino
build_flags =
-DUSB_DS4STUB
-DUSB_HOST_SERIAL=Serial1
-DRDS4_MANUAL_CONFIG
-DRDS4_AUTH_USBH
lib_deps =
SPI
SPI4Teensy3
USB-Host-Shield-20
MD_Menu
git+https://github.com/dogtopus/SoftPotMagic.git
ResponsiveAnalogRead
CRC32
git+https://github.com/dogtopus/RDS4Reboot.git
; Use my own fork now until sumotoy/LiquidCrystalNewV2#9 got merged
git+https://github.com/dogtopus/LiquidCrystalNewV2.git
; not used but needed to build LiquidCrystalNewV2
gpio_expander
git+https://github.com/nox771/i2c_t3.git
Wire
upload_protocol = teensy-cli