-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
47 lines (37 loc) · 1.44 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
; 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]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#master
src_filter = +<*> -<tests/*>
monitor_speed = 115200
[env:flight]
build_flags = -DFLIGHT -DIP_ADDRESS_END=69 -DTX_INT=1000
[env:flight_debug]
build_flags = -DFLIGHT -DIP_ADDRESS_END=69 -DTX_INT=1000 -DDEBUG_MODE
[env: testTransmit]
build_flags = -DTEST -DIP_ADDRESS_END=69 -DTX_INT=1000 -DDEBUG_MODE
[env:ground]
build_flags = -DGROUND -DIP_ADDRESS_END=42 -DTX_INT=1000
[env:ground_debug]
build_flags = -DGROUND -DIP_ADDRESS_END=42 -DTX_INT=1000 -DDEBUG_MODE
[env:blackbox-test]
build_flags = -DIP_ADDRESS_END=69 -DTX_INT=1000
build_src_filter = -<*> +<tests/blackbox-test/*> +<BlackBox.*> +<Common.h> +<Comms.*> +<Radio.*>
monitor_speed = 115200
[env:blackbox-test-erase]
build_flags = -DIP_ADDRESS_END=69 -DTX_INT=1000 -DERASE
build_src_filter = -<*> +<tests/blackbox-test/*> +<BlackBox.*> +<Common.h> +<Comms.*> +<Radio.*>
monitor_speed = 115200
[env:REPLAY]
build_flags = -DREPLAY -DIP_ADDRESS_END=69 -DTX_INT=1000