-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplatformio.ini
88 lines (81 loc) · 1.81 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
;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
build_src_filter =
+<*.c>
+<*.h>
+<*.cpp>
+<*.hpp>
-<examples/*>
[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
build_src_filter =
+<*.c>
+<*.h>
+<*.cpp>
+<*.hpp>
-<examples/*>
[env:teensy40_blinker]
extends = env:teensy40
build_src_filter =
+<*.c>
+<*.h>
+<*.cpp>
+<*.hpp>
-<examples/**>
+<examples/blinker/*>
[env:teensy32_fan_hub]
extends = env:teensy32
build_src_filter =
+<*.c>
+<*.h>
+<*.cpp>
+<*.hpp>
-<examples/**>
+<examples/fan_hub/*>
[env:teensy40_fan_hub]
extends = env:teensy40
build_src_filter =
+<*.c>
+<*.h>
+<*.cpp>
+<*.hpp>
-<examples/**>
+<examples/fan_hub/*>
[env:teensy40_fan_hub_default_off]
extends = env:teensy40
build_src_filter =
+<*.c>
+<*.h>
+<*.cpp>
+<*.hpp>
-<examples/**>
+<examples/fan_hub_default_off/*>