forked from openLRSng/openLRSng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
179 lines (153 loc) · 4.23 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
176
177
178
179
#
# OpenLRSng
# PlatformIO Configuration File
#
# For detailed documentation with EXAMPLES:
#
# http://docs.platformio.org/en/latest/projectconf.html
#
# Automatic targets - enable auto-uploading
# targets = upload
#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
#
[platformio]
src_dir = openLRSng
build_dir = .pioenvs
lib_dir = .piolib
libdeps_dir = .piolibdeps
env_default = BOARD_TYPE_0
[common]
lib_deps =
default_src_filter = +<*> -<bootloaders> -<utils>
build_flags = -fmax-errors=5
#################################
# #
# Unique Core Architectures #
# #
# Add a new "env" below if no #
# entry has values suitable to #
# build for a given board. #
# #
#################################
#
# BOARD_BOARD_TYPE_ 0
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_0]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 1
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_1]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 2
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_2]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 3
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_3]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 4
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_4]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 5
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_5]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 6
# ATmega32u4 16MHz with integrated USB-to-Serial
#
[env:BOARD_TYPE_6]
platform = atmelavr
framework = arduino
board = leonardo
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 7
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_7]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 8
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_8]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}
#
# BOARD_BOARD_TYPE_ 9
# ATmega328 16MHz (usually running at 3.3v, which is technically outside of specification)
#
[env:BOARD_TYPE_9]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter}