-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
91 lines (78 loc) · 3.01 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
89
90
91
; 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]
; allways push this uncommented (otherwise Travis tests will only check this single environment)
;env_default = example
[common]
build_flags = -std=gnu++11 -Wno-c++14-compat -DUAVCAN_CPP_VERSION=UAVCAN_CPP11
lib_deps = libuavcan
phoenix_can_shield
https://github.com/PaulStoffregen/EEPROM
extra_scripts = pre:append_git_build_flag.py
lib_ldf_mode = chain
platform = teensy
board = teensy31
framework = arduino
[env:example]
src_filter = +<teensy_example/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}
[env:dji]
src_filter = +<teensy_dji/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
https://github.com/tum-phoenix/Teensy_CAN_Servo
; https://github.com/PaulStoffregen/PWMServo
https://github.com/bolderflight/SBUS#11bc763c3d88b10465b9a9e6a77822e0500aa6ab
;https://github.com/tum-phoenix/drive_teensy_vesc_lib
https://github.com/JonHub/Filters
build_flags = ${common.build_flags}
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}
[env:body_control]
src_filter = +<teensy_body_control/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
Wire
https://github.com/adafruit/Adafruit_Sensor
https://github.com/tum-phoenix/Adafruit_BNO055
;https://github.com/tum-phoenix/drive_teensy_vesc_lib
https://github.com/tum-phoenix/Teensy_CAN_Servo
https://github.com/JonHub/Filters
build_flags = ${common.build_flags}
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}
[env:sidekick]
src_filter = +<teensy_sidekick/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}
[env:example35]
src_filter = +<teensy_example35/*>
platform = ${common.platform}
board = teensy35
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}