-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
175 lines (156 loc) · 4.82 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
;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
[platformio]
core_dir=./platformio
[env:Talaria-hand-nucleo]
platform = ststm32
board = nucleo_f413zh
framework = mbed
build_flags = -D PIO_FRAMEWORK_MBED_RTOS_PRESENT -D DISABLE_DIAGNOSTICS -D HAND -D NUCLEO
src_filter = +<hand.cpp> +<include/*> +<devices/*>
upload_protocol = stlink
debug_tool = stlink
build_type = debug
lib_deps = https://github.com/DhruvKoolRajamani/ros_lib.git#rosserial-mbed
[env:Talaria-hand-uno]
platform = atmelavr
framework = arduino
board = uno
lib_deps = https://github.com/DhruvKoolRajamani/ros_lib.git#rosserial-arduino
; lib_ldf_mode = chain+
build_flags = -DPIO_FRAMEWORK_ARDUINO_PRESENT -DDISABLE_DIAGNOSTICS -DHAND
src_filter = +<hand.cpp> +<include/*> +<devices/*>
build_type = debug
[env:Talaria-hand-uno-serial]
platform = atmelavr
framework = arduino
board = uno
lib_deps = https://github.com/DhruvKoolRajamani/ros_lib.git#rosserial-arduino
; lib_ldf_mode = chain+
build_flags = -DPIO_FRAMEWORK_ARDUINO_PRESENT -DDISABLE_DIAGNOSTICS -DHAND -DDISABLE_ROS
src_filter = +<hand.cpp> +<include/*> +<devices/*>
build_type = debug
[env:Talaria-lle]
platform = ststm32
board = nucleo_f746zg
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_DIAGNOSTICS -DLLE
debug_tool = stlink
src_filter = +<lle.cpp> +<include/*> +<devices/*>
upload_protocol = stlink
build_type = debug
lib_deps = https://github.com/DhruvKoolRajamani/ros_lib.git#rosserial-mbed
lib_ldf_mode = chain+
[env:Talaria-hand-nucleo-serial]
platform = ststm32
board = nucleo_f413zh
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_DIAGNOSTICS -DHAND -DNUCLEO -DDISABLE_ROS
src_filter = +<hand.cpp> +<include/*> +<devices/*>
upload_protocol = stlink
build_type = debug
[env:Talaria-hand]
platform = nxplpc
board = lpc1768
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_DIAGNOSTICS -DHAND
src_filter = +<hand.cpp> +<include/*> +<devices/*>
upload_protocol = mbed
build_type = debug
lib_deps = https://github.com/DhruvKoolRajamani/ros_lib.git#rosserial-mbed
[env:Talaria-hand-calibrate]
platform = nxplpc
board = lpc1768
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_DIAGNOSTICS -DHAND
src_filter = +<sensor_calibrate.cpp> +<include/*> +<devices/*>
upload_protocol = mbed
build_type = debug
lib_deps = https://github.com/DhruvKoolRajamani/ros_lib.git#rosserial-mbed
[env:Talaria-hand-serial]
platform = nxplpc
board = lpc1768
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_ROS -DHAND
src_filter = +<hand.cpp> +<include/*> +<devices/*>
; -<include/devices/motor/motor.h> -<devices/motor/motor.cpp>
upload_protocol = mbed
build_type = debug
[env:nxp-i2c-test]
platform = nxplpc
board = lpc1768
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
src_filter = +<tests/i2c/i2c.cpp>
upload_protocol = mbed
build_type = debug
[env:uno-i2c-test]
platform = atmelavr
framework = arduino
board = uno
src_filter = +<tests/i2c/i2c.cpp>
build_type = debug
[env:nxp-base]
platform = nxplpc
board = lpc1768
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_DIAGNOSTICS
src_filter = +<hand.cpp> +<include/*> +<devices/*>
upload_protocol = mbed
build_type = debug
[env:Talaria-lle-serial]
platform = ststm32
board = nucleo_f746zg
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_ROS -DLLE
debug_tool = stlink
src_filter = +<lle.cpp> +<include/*> +<devices/*>
upload_protocol = stlink
build_type = debug
[env:tcp-eth-test]
platform = ststm32
board = nucleo_f746zg
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
debug_tool = stlink
src_filter = +<tests/Ethernet/basic_tcp_ethernet.cpp>
upload_protocol = stlink
build_type = debug
[env:i2c-test]
platform = ststm32
board = nucleo_f746zg
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
debug_tool = stlink
src_filter = +<tests/i2c.cpp>
upload_protocol = stlink
build_type = debug
[env:stm-rosserial-test]
platform = ststm32
board = nucleo_f746zg
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
debug_tool = stlink
src_filter = +<tests/ROS/rosserial_test.cpp>
upload_protocol = stlink
build_type = debug
[env:nxp-rosserial-test]
platform = nxplpc
board = lpc1768
framework = mbed
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DDISABLE_DIAGNOSTICS
src_filter = +<tests/ROS/rosserial_test.cpp>
upload_protocol = mbed
build_type = debug
[env:ATSAM-test]
platform = atmelsam
framework = arduino
board = dueUSB
build_flags = -DPIO_FRAMEWORK_ARDUINO_PRESENT