-
-
Notifications
You must be signed in to change notification settings - Fork 188
/
platformio.ini
227 lines (221 loc) · 6.26 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#
# Marlin Firmware
# PlatformIO Configuration File
#
# For detailed documentation with EXAMPLES:
#
# https://docs.platformio.org/en/latest/projectconf/index.html
#
# Automatic targets - enable auto-uploading
#targets = upload
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
include_dir = Marlin
extra_configs =
Marlin/config.ini
ini/features.ini
ini/i3_mega.ini
default_envs =
MEGA_1G
MEGA_1G_TMC
MEGA_1G_BLT_10
MEGA_1G_BLT_11
MEGA_1G_TMC_BLT_10
MEGA_1G_TMC_BLT_11
MEGA
MEGA_TMC
MEGA_BLT_10
MEGA_BLT_11
MEGA_TMC_BLT_10
MEGA_TMC_BLT_11
MEGA_S
MEGA_S_TMC
MEGA_S_BLT_10
MEGA_S_BLT_11
MEGA_S_TMC_BLT_10
MEGA_S_TMC_BLT_11
MEGA_S_DGUS
MEGA_S_DGUS_TMC
MEGA_S_DGUS_BLT_10
MEGA_S_DGUS_BLT_11
MEGA_S_DGUS_TMC_BLT_10
MEGA_S_DGUS_TMC_BLT_11
MEGA_X
MEGA_X_TMC
MEGA_X_BLT_10
MEGA_X_BLT_11
MEGA_X_TMC_BLT_10
MEGA_X_TMC_BLT_11
MEGA_X_DGUS
MEGA_X_DGUS_TMC
MEGA_X_DGUS_BLT_10
MEGA_X_DGUS_BLT_11
MEGA_X_DGUS_TMC_BLT_10
MEGA_X_DGUS_TMC_BLT_11
MEGA_P_DGUS
MEGA_P_DGUS_TMC
MEGA_P_DGUS_BLT_10
MEGA_P_DGUS_BLT_11
MEGA_P_DGUS_TMC_BLT_10
MEGA_P_DGUS_TMC_BLT_11
CHIRON
CHIRON_TMC
CHIRON_DGUS
CHIRON_DGUS_TMC
4MAXP2
4MAXP2_TMC
4MAXP2_BLT_10
4MAXP2_BLT_11
4MAXP2_TMC_BLT_10
4MAXP2_TMC_BLT_11
4MAXP2_DGUS
4MAXP2_DGUS_TMC
4MAXP2_DGUS_BLT_10
4MAXP2_DGUS_BLT_11
4MAXP2_DGUS_TMC_BLT_10
4MAXP2_DGUS_TMC_BLT_11
#
# The 'common' section applies to most Marlin builds.
#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
#
[common]
build_flags = -g3 -D__MARLIN_FIRMWARE__ -DNDEBUG
-fmax-errors=5
extra_scripts =
pre:buildroot/share/PlatformIO/scripts/configuration.py
pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
pre:buildroot/share/PlatformIO/scripts/preflight-checks.py
post:buildroot/share/PlatformIO/scripts/common-dependencies-post.py
lib_deps =
TMCStepper@~0.7.3
Adafruit NeoPixel@~1.8.0
#SlowSoftI2CMaster
#SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/6f53c19a8a.zip
default_src_filter = +<src/*> -<src/config> -<src/tests>
; LCDs and Controllers
-<src/lcd/HD44780> -<src/lcd/dogm> -<src/lcd/TFTGLCD> -<src/lcd/tft> -<src/lcd/tft_io>
-<src/lcd/e3v2> -<src/lcd/menu> -<src/lcd/extui> -<src/lcd/touch>
+<src/lcd/extui/knutwurst>
+<src/lcd/extui/ui_api.cpp>
+<src/lcd/lcdprint.cpp>
; Marlin HAL
-<src/HAL>
+<src/HAL/shared>
; Features and G-Codes
-<src/feature>
+<src/feature/babystep.cpp>
+<src/feature/backlash.cpp>
+<src/feature/bedlevel>
+<src/feature/binary_stream.cpp> +<src/libs/heatshrink>
+<src/feature/bltouch.cpp>
+<src/feature/cancel_object.cpp> +<src/gcode/feature/cancel>
+<src/feature/caselight.cpp> +<src/gcode/feature/caselight>
+<src/feature/controllerfan.cpp> +<src/gcode/feature/controllerfan>
+<src/feature/e_parser.cpp> -<src/gcode/control/M108_*.cpp>
+<src/feature/host_actions.cpp>
+<src/feature/hotend_idle.cpp>
+<src/feature/leds/leds.cpp>
+<src/feature/leds/neopixel.cpp>
+<src/feature/leds/printer_event_leds.cpp>
+<src/feature/meatpack.cpp>
+<src/feature/pause.cpp> +<src/gcode/feature/pause>
+<src/feature/power.cpp>
+<src/feature/power_monitor.cpp> +<src/gcode/feature/power_monitor>
+<src/feature/powerloss.cpp> +<src/gcode/feature/powerloss>
+<src/feature/probe_temp_comp.cpp>
+<src/feature/repeat.cpp>
+<src/feature/runout.cpp> +<src/gcode/feature/runout>
+<src/feature/snmm.cpp>
+<src/feature/spindle_laser.cpp> +<src/gcode/control/M3-M5.cpp>
+<src/feature/stepper_driver_safety.cpp>
+<src/feature/tmc_util.cpp>
+<src/feature/tramming.cpp> +<src/gcode/bedlevel/G35.cpp>
+<src/feature/twibus.cpp>
+<src/feature/z_stepper_align.cpp>
+<src/gcode/bedlevel>
-<src/gcode/calibrate>
+<src/gcode/calibrate/G28.cpp>
+<src/gcode/calibrate/G33.cpp>
+<src/gcode/calibrate/G34.cpp>
+<src/gcode/calibrate/G34_M422.cpp>
+<src/gcode/calibrate/G76_M871.cpp>
+<src/gcode/calibrate/G425.cpp>
+<src/gcode/calibrate/M12.cpp>
+<src/gcode/calibrate/M48.cpp>
+<src/gcode/calibrate/M100.cpp>
+<src/gcode/calibrate/M425.cpp>
+<src/gcode/calibrate/M665.cpp>
+<src/gcode/calibrate/M666.cpp>
+<src/gcode/calibrate/M852.cpp>
+<src/gcode/config>
+<src/gcode/control> -<src/gcode/control/M380_M381.cpp>
-<src/gcode/feature>
+<src/gcode/feature/advance>
+<src/gcode/feature/i2c>
+<src/gcode/feature/leds/M150.cpp>
+<src/gcode/feature/macro>
+<src/gcode/feature/trinamic>
+<src/gcode/geometry>
+<src/gcode/host>
+<src/gcode/lcd>
+<src/gcode/motion> -<src/gcode/motion/G6.cpp>
+<src/gcode/probe> -<src/gcode/probe/M423.cpp>
+<src/gcode/scara>
+<src/gcode/sd>
+<src/gcode/temp> -<src/gcode/temp/M143_M193.cpp>
+<src/gcode/units>
; Library Code
-<src/libs/BL24CXX.cpp> -<src/libs/W25Qxx.cpp>
-<src/libs/MAX31865.cpp>
-<src/libs/hex_print.cpp>
-<src/libs/least_squares_fit.cpp>
-<src/libs/nozzle.cpp>
; Modules
-<src/module>
+<src/module/delta.cpp>
+<src/module/endstops.cpp>
+<src/module/motion.cpp>
+<src/module/planner.cpp>
+<src/module/planner_bezier.cpp>
+<src/module/polargraph.cpp>
+<src/module/printcounter.cpp>
+<src/module/probe.cpp> +<src/gcode/probe/G30.cpp> +<src/gcode/probe/M401_M402.cpp> +<src/gcode/probe/M851.cpp>
+<src/module/scara.cpp>
+<src/module/servo.cpp>
+<src/module/settings.cpp>
+<src/module/stepper.cpp>
+<src/module/temperature.cpp>
+<src/module/tool_change.cpp>
+<src/module/stepper/indirection.cpp>
+<src/module/stepper/trinamic.cpp>
; Media Support
+<src/sd>
-<src/sd/usb_flashdrive>
#
# Default values apply to all 'env:' prefixed environments
#
[env]
framework = arduino
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
monitor_speed = 250000
monitor_eol = LF
monitor_echo = yes
monitor_filters = colorize, time, send_on_enter
#
# Just print the dependency tree
#
[env:include_tree]
platform = atmelavr
board = megaatmega2560
build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__
build_src_filter = +<src/MarlinCore.cpp>