/
platformio.ini
35 lines (33 loc) · 1 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
;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
[env:teensy32]
platform = teensy
board = teensy31
framework = arduino
board_build.f_cpu = 96000000L
upload_protocol = teensy-cli
lib_deps =
https://github.com/nox771/i2c_t3.git
build_flags =
-D TEENSY_OPT_FASTEST_LTO
!python versioneer.py
[env:teensy40]
platform = teensy
board = teensy40
framework = arduino
upload_protocol = teensy-cli
; While we use the upstream libray, their print statement messes
; with our protocol
; https://github.com/Richard-Gemmell/teensy4_i2c/issues/38
; https://github.com/Richard-Gemmell/teensy4_i2c.git
lib_deps =
https://github.com/ramonaoptics/teensy4_i2c.git#our_mods
build_flags =
!python versioneer.py