-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
73 lines (64 loc) · 1.41 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
[platformio]
lib_dir = lib/common/
src_dir = src/
[fs_common]
platform = teensy
board = teensy35
framework = arduino
build_flags =
-std=c++14
-Wall
-fno-math-errno
-Wall
-O3
lib_ldf_mode = chain+
build_unflags =
-fsingle-precision-constant
-fmath-errno
lib_archive = false
lib_compat_mode = off
lib_extra_dirs = lib/fsw
lib_deps =
SPI
Adafruit Unified Sensor
test_build_project_src = true
default_src_filter = +<common/> -<common/targets/> +<fs/FCCode>
[nano_common]
platform = atmelavr
board = nanoatmega328
; upload_port = /dev/ttyUSB0
lib_deps =
Wire
build_flags =
-std=c++17
-Wall
-fno-math-errno
-Ofast
src_filter = +<fs/targets/nano_worker.cpp>
[env:sensor_test]
extends = fs_common
src_filter = ${fs_common.default_src_filter} +<fs/targets/sensors.cpp>
[env:mcl_test]
extends = fs_common
src_filter = ${fs_common.default_src_filter} +<fs/targets/mcl_test.cpp>
[env:nano_master]
extends = fs_common
src_filter = ${fs_common.default_src_filter} +<fs/targets/nano_master.cpp>
[env:kalman_test]
extends = fs_common
src_filter = ${fs_common.default_src_filter} +<fs/targets/kalman_test.cpp>
[env:matrix_test]
extends = fs_common
src_filter = ${fs_common.default_src_filter} +<fs/targets/matrix_test.cpp>
[env:nano_worker]
extends = nano_common
[env:static_fire]
platform = teensy
board = teensy2
build_flags =
-std=c++17
-Wall
-Werror
-fno-math-errno
-Ofast
src_filter = +<fs/targets/static_fire.cpp>