-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
115 lines (107 loc) · 2.27 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
; 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]
env_default = Master
src_dir = car
[env:Dashboard]
platform = ststm32
board = nucleo_f446re
framework = mbed
debug_tool = stlink
debug_init_break =
build_flags =
-std=gnu++11
-D USE_MBED
-D CAR_BONNIE_2019
-D BOARD_DASHBOARD
-D ENVIRONMENT=\"Dashboard\"
build_unflags =
-std=gnu++98
[env:Pedal]
platform = ststm32
board = nucleo_f446re
framework = mbed
debug_tool = stlink
debug_init_break =
build_flags =
-std=gnu++11
-D USE_MBED
-D CAR_BONNIE_2019
-D BOARD_PEDAL
-D ENVIRONMENT=\"Pedal\"
build_unflags =
-std=gnu++98
[env:Master]
platform = ststm32
board = nucleo_f767zi
framework = mbed
debug_tool = stlink
debug_init_break =
build_flags =
-std=gnu++11
-D USE_MBED
-D CAR_BONNIE_2019
-D BOARD_MASTER
-D ENVIRONMENT=\"Master\"
build_unflags =
-std=gnu++98
[env:Display]
lib_compat_mode = off
lib_deps = https://github.com/mike-matera/ArduinoSTL.git#v1.1.0
platform = atmelavr
board = nanoatmega328new
framework = arduino
debug_init_break =
build_flags =
-std=gnu++11
-D USE_ARDUINO
-D CAR_BONNIE_2019
-D BOARD_DISPLAY
-D ENVIRONMENT=\"Display\"
build_unflags =
-std=gnu++98
[env:Dashboard-Demo]
platform = ststm32
board = nucleo_f446re
framework = mbed
debug_tool = stlink
debug_init_break =
build_flags =
-std=gnu++11
-D USE_MBED
-D CAR_BONNIE_2019
-D BOARD_DASHBOARD_DEMO
-D ENVIRONMENT=\"Dashboard-Demo\"
build_unflags =
-std=gnu++98
[env:F446RE_TESTING]
platform = ststm32
board = nucleo_f446re
framework = mbed
debug_tool = stlink
build_flags =
-std=gnu++11
-D USE_MBED
-D TESTING_MODE
-D ENVIRONMENT=\"F446RE_TESTING\"
build_unflags =
-std=gnu++98
[env:F767ZI_TESTING]
platform = ststm32
board = nucleo_f767zi
framework = mbed
debug_tool = stlink
build_flags =
-std=gnu++11
-D USE_MBED
-D TESTING_MODE
-D ENVIRONMENT=\"F767ZI_TESTING\"
build_unflags =
-std=gnu++98