-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
85 lines (78 loc) · 2.53 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
; 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]
src_dir = platformio_projects/src
lib_dir = platformio_projects/lib
[env]
lib_extra_dirs = common
build_unflags = -std=gnu++11
build_flags = -std=gnu++17
-I common/system/expressions
-I common/system/filtering
-I common/system/states
-I common/system/states/cli
-I common/system/tasks
-I common/system/tasks/cli
-I common/system
-I common/utils
-I common/devices_common
-I common/groundstation
extra_scripts=pre:generate_git.py
[env:blink]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
build_src_filter = +<testing/blink.cpp>
build_unflags = -std=gnu++11
build_flags = -std=gnu++17
[env:feather_m0_lora]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
build_src_filter = +<feather_m0_lora.cpp>
lib_deps = Wire
mikem/RadioHead@^1.120
mikalhart/TinyGPSPlus@^1.0.3
adafruit/Adafruit MPL115A2@^2.0.0
adafruit/Adafruit BusIO@^1.14.1
adafruit/Adafruit BNO055@^1.6.1
adafruit/Adafruit Unified Sensor@^1.1.9
[env:feather_m0_lora_groundstation]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
build_src_filter = +<feather_m0_lora_groundstation.cpp>
lib_deps = Wire
mikem/RadioHead@^1.120
mikalhart/TinyGPSPlus@^1.0.3
adafruit/Adafruit MPL115A2@^2.0.0
adafruit/Adafruit BusIO@^1.14.1
adafruit/Adafruit BNO055@^1.6.1
adafruit/Adafruit Unified Sensor@^1.1.9
# Test environment for benchmarking FEC
[env:pi_pico]
platform = raspberrypi
board = pico
framework = arduino
build_src_filter =
+<testing/pico_test.cpp>
lib_extra_dirs = common
[env:feather_m4_hacky_lora_groundstation]
platform = atmelsam
board = adafruit_feather_m4
framework = arduino
build_src_filter = +<feather_m4_hacky_lora_groundstation.cpp>
lib_deps = Wire
mikem/RadioHead@^1.120
mikalhart/TinyGPSPlus@^1.0.3
adafruit/Adafruit MPL115A2@^2.0.0
adafruit/Adafruit BusIO@^1.14.1
adafruit/Adafruit BNO055@^1.6.1
adafruit/Adafruit Unified Sensor@^1.1.9