-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
66 lines (59 loc) · 2.21 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
; 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_ldf_mode = deep
platform = teensy
board = teensy31
framework = arduino
upload_protocol = teensy-cli
[env:uavcan_example]
src_filter = +<uavcan_example/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
build_flags = ${common.build_flags}
lib_ldf_mode = ${common.lib_ldf_mode}
upload_protocol = ${common.upload_protocol}
[env:example]
src_filter = +<example/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
build_flags = ${common.build_flags}
lib_ldf_mode = ${common.lib_ldf_mode}
upload_protocol = ${common.upload_protocol}
[env:dropper_torpedo]
src_filter = +<dropper_torpedo/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
build_flags = ${common.build_flags}
lib_ldf_mode = ${common.lib_ldf_mode}
upload_protocol = ${common.upload_protocol}
[env:batt_monitoring]
src_filter = +<batt_monitoring/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
build_flags = ${common.build_flags}
lib_ldf_mode = ${common.lib_ldf_mode}
upload_protocol = ${common.upload_protocol}
[env:internal_env_board]
src_filter = +<internal_env_board/*>
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
build_flags = ${common.build_flags}
lib_ldf_mode = ${common.lib_ldf_mode}
upload_protocol = ${common.upload_protocol}