|
@@ -27,6 +27,7 @@ include_dir = Marlin
|
27
|
27
|
[common]
|
28
|
28
|
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
29
|
29
|
-<src/lcd/HD44780> -<src/lcd/TFTGLCD> -<src/lcd/dwin> -<src/lcd/dogm> -<src/lcd/tft>
|
|
30
|
+ -<src/HAL/STM32/tft> -<src/HAL/STM32F1/tft>
|
30
|
31
|
-<src/lcd/menu>
|
31
|
32
|
-<src/lcd/menu/game/game.cpp> -<src/lcd/menu/game/brickout.cpp> -<src/lcd/menu/game/invaders.cpp>
|
32
|
33
|
-<src/lcd/menu/game/maze.cpp> -<src/lcd/menu/game/snake.cpp>
|
|
@@ -53,10 +54,13 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
53
|
54
|
-<src/lcd/extui/example.cpp>
|
54
|
55
|
-<src/lcd/extui/malyan_lcd.cpp>
|
55
|
56
|
-<src/lcd/extui/lib/ftdi_eve_touch_ui>
|
56
|
|
- -<src/lcd/extui/anycubic_chiron_lcd.cpp>
|
|
57
|
+ -<src/lcd/extui/anycubic_chiron_lcd.cpp> -<src/lcd/extui/lib/anycubic_chiron>
|
57
|
58
|
-<src/lcd/extui/anycubic_i3mega_lcd.cpp> -<src/lcd/extui/lib/anycubic_i3mega>
|
58
|
59
|
-<src/lcd/lcdprint.cpp>
|
|
60
|
+ -<src/lcd/touch/touch_buttons.cpp>
|
59
|
61
|
-<src/sd/usb_flashdrive>
|
|
62
|
+ -<src/HAL/shared/backtrace>
|
|
63
|
+ -<src/feature/babystep.cpp>
|
60
|
64
|
-<src/feature/backlash.cpp>
|
61
|
65
|
-<src/feature/baricuda.cpp> -<src/gcode/feature/baricuda>
|
62
|
66
|
-<src/feature/bedlevel/abl> -<src/gcode/bedlevel/abl>
|
|
@@ -65,7 +69,7 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
65
|
69
|
-<src/feature/binary_stream.cpp> -<src/libs/heatshrink>
|
66
|
70
|
-<src/feature/bltouch.cpp>
|
67
|
71
|
-<src/feature/cancel_object.cpp> -<src/gcode/feature/cancel>
|
68
|
|
- -<src/feature/caselight> -<src/gcode/feature/caselight>
|
|
72
|
+ -<src/feature/caselight.cpp> -<src/gcode/feature/caselight>
|
69
|
73
|
-<src/feature/closedloop.cpp>
|
70
|
74
|
-<src/feature/controllerfan.cpp> -<src/gcode/feature/controllerfan>
|
71
|
75
|
-<src/feature/dac> -<src/feature/digipot>
|
|
@@ -80,6 +84,7 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
80
|
84
|
-<src/feature/joystick.cpp>
|
81
|
85
|
-<src/feature/leds/blinkm.cpp>
|
82
|
86
|
-<src/feature/leds/leds.cpp>
|
|
87
|
+ -<src/feature/leds/neopixel.cpp>
|
83
|
88
|
-<src/feature/leds/pca9533.cpp>
|
84
|
89
|
-<src/feature/leds/pca9632.cpp>
|
85
|
90
|
-<src/feature/leds/printer_event_leds.cpp>
|
|
@@ -95,7 +100,7 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
95
|
100
|
-<src/feature/probe_temp_comp.cpp>
|
96
|
101
|
-<src/feature/runout.cpp> -<src/gcode/feature/runout>
|
97
|
102
|
-<src/feature/snmm.cpp>
|
98
|
|
- -<src/feature/solenoid.cpp>
|
|
103
|
+ -<src/feature/solenoid.cpp> -<src/gcode/control/M380_M381.cpp>
|
99
|
104
|
-<src/feature/spindle_laser.cpp> -<src/gcode/control/M3-M5.cpp>
|
100
|
105
|
-<src/feature/tmc_util.cpp> -<src/module/stepper/trinamic.cpp>
|
101
|
106
|
-<src/feature/twibus.cpp>
|
|
@@ -106,7 +111,7 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
106
|
111
|
-<src/gcode/bedlevel/M420.cpp>
|
107
|
112
|
-<src/gcode/calibrate/G33.cpp>
|
108
|
113
|
-<src/gcode/calibrate/G34_M422.cpp>
|
109
|
|
- -<src/gcode/calibrate/G76_M871.cpp>
|
|
114
|
+ -<src/gcode/calibrate/G76_M192_M871.cpp>
|
110
|
115
|
-<src/gcode/calibrate/G425.cpp>
|
111
|
116
|
-<src/gcode/calibrate/M12.cpp>
|
112
|
117
|
-<src/gcode/calibrate/M48.cpp>
|
|
@@ -114,14 +119,19 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
114
|
119
|
-<src/gcode/calibrate/M425.cpp>
|
115
|
120
|
-<src/gcode/calibrate/M666.cpp>
|
116
|
121
|
-<src/gcode/calibrate/M852.cpp>
|
|
122
|
+ -<src/gcode/control/M42.cpp> -<src/gcode/control/M226.cpp>
|
117
|
123
|
-<src/gcode/config/M43.cpp>
|
118
|
124
|
-<src/gcode/config/M217.cpp>
|
119
|
125
|
-<src/gcode/config/M218.cpp>
|
120
|
126
|
-<src/gcode/config/M221.cpp>
|
121
|
127
|
-<src/gcode/config/M281.cpp>
|
|
128
|
+ -<src/gcode/config/M301.cpp>
|
122
|
129
|
-<src/gcode/config/M302.cpp>
|
|
130
|
+ -<src/gcode/config/M304.cpp>
|
123
|
131
|
-<src/gcode/config/M305.cpp>
|
124
|
132
|
-<src/gcode/config/M540.cpp>
|
|
133
|
+ -<src/gcode/config/M575.cpp>
|
|
134
|
+ -<src/gcode/config/M672.cpp>
|
125
|
135
|
-<src/gcode/control/M7-M9.cpp>
|
126
|
136
|
-<src/gcode/control/M211.cpp>
|
127
|
137
|
-<src/gcode/control/M605.cpp>
|
|
@@ -169,8 +179,10 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
169
|
179
|
-<src/gcode/scara>
|
170
|
180
|
-<src/gcode/sd>
|
171
|
181
|
-<src/gcode/temp/M104_M109.cpp>
|
|
182
|
+ -<src/gcode/temp/M155.cpp>
|
172
|
183
|
-<src/gcode/units/G20_G21.cpp>
|
173
|
184
|
-<src/gcode/units/M149.cpp>
|
|
185
|
+ -<src/libs/BL24CXX.cpp> -<src/libs/W25Qxx.cpp>
|
174
|
186
|
-<src/libs/L64XX> -<src/module/stepper/L64xx.cpp>
|
175
|
187
|
-<src/libs/hex_print.cpp>
|
176
|
188
|
-<src/libs/least_squares_fit.cpp>
|
|
@@ -214,9 +226,13 @@ HAS_WIRED_LCD = src_filter=+<src/lcd/lcdprint.cpp>
|
214
|
226
|
HAS_MARLINUI_HD44780 = src_filter=+<src/lcd/HD44780>
|
215
|
227
|
HAS_MARLINUI_U8GLIB = U8glib-HAL@~0.4.1
|
216
|
228
|
src_filter=+<src/lcd/dogm>
|
|
229
|
+HAS_(FSMC|SPI)_TFT = src_filter=+<src/HAL/STM32/tft> +<src/HAL/STM32F1/tft>
|
|
230
|
+HAS_FSMC_TFT = src_filter=+<src/HAL/STM32/tft/tft_fsmc.cpp> +<src/HAL/STM32F1/tft/tft_fsmc.cpp>
|
|
231
|
+HAS_SPI_TFT = src_filter=+<src/HAL/STM32/tft/tft_spi.cpp> +<src/HAL/STM32F1/tft/tft_spi.cpp>
|
217
|
232
|
HAS_GRAPHICAL_TFT = src_filter=+<src/lcd/tft>
|
218
|
233
|
DWIN_CREALITY_LCD = src_filter=+<src/lcd/dwin>
|
219
|
234
|
IS_TFTGLCD_PANEL = src_filter=+<src/lcd/TFTGLCD>
|
|
235
|
+HAS_TOUCH_XPT2046 = src_filter=+<src/lcd/touch/touch_buttons.cpp>
|
220
|
236
|
HAS_LCD_MENU = src_filter=+<src/lcd/menu>
|
221
|
237
|
HAS_GAMES = src_filter=+<src/lcd/menu/game/game.cpp>
|
222
|
238
|
MARLIN_BRICKOUT = src_filter=+<src/lcd/menu/game/brickout.cpp>
|
|
@@ -242,7 +258,7 @@ HAS_MENU_TEMPERATURE = src_filter=+<src/lcd/menu/menu_temperature.cpp>
|
242
|
258
|
HAS_MENU_TMC = src_filter=+<src/lcd/menu/menu_tmc.cpp>
|
243
|
259
|
HAS_MENU_TOUCH_SCREEN = src_filter=+<src/lcd/menu/menu_touch_screen.cpp>
|
244
|
260
|
HAS_MENU_UBL = src_filter=+<src/lcd/menu/menu_ubl.cpp>
|
245
|
|
-ANYCUBIC_LCD_CHIRON = src_filter=+<src/lcd/extui/anycubic_chiron_lcd.cpp>
|
|
261
|
+ANYCUBIC_LCD_CHIRON = src_filter=+<src/lcd/extui/anycubic_chiron_lcd.cpp> +<src/lcd/extui/lib/anycubic_chiron>
|
246
|
262
|
ANYCUBIC_LCD_I3MEGA = src_filter=+<src/lcd/extui/anycubic_i3mega_lcd.cpp> +<src/lcd/extui/lib/anycubic_i3mega>
|
247
|
263
|
HAS_DGUS_LCD = src_filter=+<src/lcd/extui/lib/dgus> +<src/lcd/extui/dgus_lcd.cpp>
|
248
|
264
|
TOUCH_UI_FTDI_EVE = src_filter=+<src/lcd/extui/lib/ftdi_eve_touch_ui>
|
|
@@ -258,13 +274,15 @@ BARICUDA = src_filter=+<src/feature/baricuda.cpp> +<src/gcode/fea
|
258
|
274
|
BINARY_FILE_TRANSFER = src_filter=+<src/feature/binary_stream.cpp> +<src/libs/heatshrink>
|
259
|
275
|
BLTOUCH = src_filter=+<src/feature/bltouch.cpp>
|
260
|
276
|
CANCEL_OBJECTS = src_filter=+<src/feature/cancel_object.cpp> +<src/gcode/feature/cancel>
|
261
|
|
-CASE_LIGHT_ENABLE = src_filter=+<src/feature/caselight> +<src/gcode/feature/caselight>
|
|
277
|
+CASE_LIGHT_ENABLE = src_filter=+<src/feature/caselight.cpp> +<src/gcode/feature/caselight>
|
262
|
278
|
EXTERNAL_CLOSED_LOOP_CONTROLLER = src_filter=+<src/feature/closedloop.cpp> +<src/gcode/calibrate/M12.cpp>
|
263
|
279
|
USE_CONTROLLER_FAN = src_filter=+<src/feature/controllerfan.cpp>
|
264
|
280
|
DAC_STEPPER_CURRENT = src_filter=+<src/feature/dac>
|
265
|
281
|
DIRECT_STEPPING = src_filter=+<src/feature/direct_stepping.cpp> +<src/gcode/motion/G6.cpp>
|
266
|
282
|
EMERGENCY_PARSER = src_filter=+<src/feature/e_parser.cpp> -<src/gcode/control/M108_*.cpp>
|
267
|
283
|
I2C_POSITION_ENCODERS = src_filter=+<src/feature/encoder_i2c.cpp>
|
|
284
|
+IIC_BL24CXX_EEPROM = src_filter=+<src/libs/BL24CXX.cpp>
|
|
285
|
+HAS_SPI_FLASH = src_filter=+<src/libs/W25Qxx.cpp>
|
268
|
286
|
HAS_FANMUX = src_filter=+<src/feature/fanmux.cpp>
|
269
|
287
|
FILAMENT_WIDTH_SENSOR = src_filter=+<src/feature/filwidth.cpp> +<src/gcode/feature/filwidth>
|
270
|
288
|
FWRETRACT = src_filter=+<src/feature/fwretract.cpp> +<src/gcode/feature/fwretract>
|
|
@@ -285,10 +303,10 @@ ADVANCED_PAUSE_FEATURE = src_filter=+<src/feature/pause.cpp> +<src/gcode/featur
|
285
|
303
|
AUTO_POWER_CONTROL = src_filter=+<src/feature/power.cpp>
|
286
|
304
|
HAS_POWER_MONITOR = src_filter=+<src/feature/power_monitor.cpp> +<src/gcode/feature/power_monitor>
|
287
|
305
|
POWER_LOSS_RECOVERY = src_filter=+<src/feature/powerloss.cpp> +<src/gcode/feature/powerloss>
|
288
|
|
-PROBE_TEMP_COMPENSATION = src_filter=+<src/feature/probe_temp_comp.cpp> +<src/gcode/calibrate/G76_M871.cpp>
|
|
306
|
+PROBE_TEMP_COMPENSATION = src_filter=+<src/feature/probe_temp_comp.cpp> +<src/gcode/calibrate/G76_M192_M871.cpp>
|
289
|
307
|
HAS_FILAMENT_SENSOR = src_filter=+<src/feature/runout.cpp> +<src/gcode/feature/runout>
|
290
|
308
|
MK2_MULTIPLEXER = src_filter=+<src/feature/snmm.cpp>
|
291
|
|
-EXT_SOLENOID|MANUAL_SOLENOID_CONTROL = src_filter=+<src/feature/solenoid.cpp>
|
|
309
|
+EXT_SOLENOID|MANUAL_SOLENOID_CONTROL = src_filter=+<src/feature/solenoid.cpp> +<src/gcode/control/M380_M381.cpp>
|
292
|
310
|
HAS_CUTTER = src_filter=+<src/feature/spindle_laser.cpp> +<src/gcode/control/M3-M5.cpp>
|
293
|
311
|
EXPERIMENTAL_I2CBUS = src_filter=+<src/feature/twibus.cpp> +<src/gcode/feature/i2c>
|
294
|
312
|
Z_STEPPER_AUTO_ALIGN = src_filter=+<src/feature/z_stepper_align.cpp> +<src/gcode/calibrate/G34_M422.cpp>
|
|
@@ -304,14 +322,19 @@ BACKLASH_GCODE = src_filter=+<src/gcode/calibrate/M425.cpp>
|
304
|
322
|
IS_KINEMATIC = src_filter=+<src/gcode/calibrate/M665.cpp>
|
305
|
323
|
HAS_EXTRA_ENDSTOPS = src_filter=+<src/gcode/calibrate/M666.cpp>
|
306
|
324
|
SKEW_CORRECTION_GCODE = src_filter=+<src/gcode/calibrate/M852.cpp>
|
307
|
|
-PINS_DEBUGGING = src_filter=-<src/gcode/config/M43.cpp>
|
|
325
|
+DIRECT_PIN_CONTROL = src_filter=+<src/gcode/control/M42.cpp> +<src/gcode/control/M226.cpp>
|
|
326
|
+PINS_DEBUGGING = src_filter=+<src/gcode/config/M43.cpp>
|
308
|
327
|
NO_VOLUMETRICS = src_filter=-<src/gcode/config/M200-M205.cpp>
|
309
|
328
|
HAS_MULTI_EXTRUDER = src_filter=+<src/gcode/config/M217.cpp>
|
310
|
329
|
HAS_HOTEND_OFFSET = src_filter=+<src/gcode/config/M218.cpp>
|
311
|
330
|
EDITABLE_SERVO_ANGLES = src_filter=+<src/gcode/config/M281.cpp>
|
|
331
|
+PIDTEMP = src_filter=+<src/gcode/config/M301.cpp>
|
312
|
332
|
PREVENT_COLD_EXTRUSION = src_filter=+<src/gcode/config/M302.cpp>
|
|
333
|
+PIDTEMPBED = src_filter=+<src/gcode/config/M304.cpp>
|
313
|
334
|
HAS_USER_THERMISTORS = src_filter=+<src/gcode/config/M305.cpp>
|
314
|
335
|
SD_ABORT_ON_ENDSTOP_HIT = src_filter=+<src/gcode/config/M540.cpp>
|
|
336
|
+BAUD_RATE_GCODE = src_filter=+<src/gcode/config/M575.cpp>
|
|
337
|
+HAS_SMART_EFF_MOD = src_filter=+<src/gcode/config/M672.cpp>
|
315
|
338
|
COOLANT_CONTROL = src_filter=+<src/gcode/control/M7-M9.cpp>
|
316
|
339
|
HAS_SOFTWARE_ENDSTOPS = src_filter=+<src/gcode/control/M211.cpp>
|
317
|
340
|
HAS_DUPLICATION_MODE = src_filter=+<src/gcode/control/M605.cpp>
|
|
@@ -336,12 +359,13 @@ LCD_SET_PROGRESS_MANUALLY = src_filter=+<src/gcode/lcd/M73.cpp>
|
336
|
359
|
TOUCH_SCREEN_CALIBRATION = src_filter=+<src/gcode/lcd/M995.cpp>
|
337
|
360
|
ARC_SUPPORT = src_filter=+<src/gcode/motion/G2_G3.cpp>
|
338
|
361
|
GCODE_MOTION_MODES = src_filter=+<src/gcode/motion/G80.cpp>
|
339
|
|
-BABYSTEPPING = src_filter=+<src/gcode/motion/M290.cpp>
|
|
362
|
+BABYSTEPPING = src_filter=+<src/gcode/motion/M290.cpp> +<src/feature/babystep.cpp>
|
340
|
363
|
Z_PROBE_SLED = src_filter=+<src/gcode/probe/G31_G32.cpp>
|
341
|
364
|
G38_PROBE_TARGET = src_filter=+<src/gcode/probe/G38.cpp>
|
342
|
365
|
MAGNETIC_PARKING_EXTRUDER = src_filter=+<src/gcode/probe/M951.cpp>
|
343
|
366
|
SDSUPPORT = src_filter=+<src/gcode/sd>
|
344
|
367
|
HAS_EXTRUDERS = src_filter=+<src/gcode/temp/M104_M109.cpp> +<src/gcode/config/M221.cpp>
|
|
368
|
+AUTO_REPORT_TEMPERATURES = src_filter=+<src/gcode/temp/M155.cpp>
|
345
|
369
|
INCH_MODE_SUPPORT = src_filter=+<src/gcode/units/G20_G21.cpp>
|
346
|
370
|
TEMPERATURE_UNITS_SUPPORT = src_filter=+<src/gcode/units/M149.cpp>
|
347
|
371
|
NEED_HEX_PRINT = src_filter=+<src/libs/hex_print.cpp>
|
|
@@ -559,7 +583,7 @@ extends = env:at90usb1286_cdc
|
559
|
583
|
[env:DUE]
|
560
|
584
|
platform = atmelsam
|
561
|
585
|
board = due
|
562
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
|
586
|
+src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
|
563
|
587
|
|
564
|
588
|
[env:DUE_USB]
|
565
|
589
|
platform = atmelsam
|
|
@@ -635,7 +659,7 @@ lib_ldf_mode = off
|
635
|
659
|
lib_compat_mode = strict
|
636
|
660
|
extra_scripts = ${common.extra_scripts}
|
637
|
661
|
Marlin/src/HAL/LPC1768/upload_extra_script.py
|
638
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
|
|
662
|
+src_filter = ${common.default_src_filter} +<src/HAL/LPC1768> +<src/HAL/shared/backtrace>
|
639
|
663
|
lib_deps = ${common.lib_deps}
|
640
|
664
|
Servo
|
641
|
665
|
custom_marlin.USES_LIQUIDCRYSTAL = LiquidCrystal@1.0.0
|
|
@@ -674,7 +698,7 @@ build_flags = ${common.build_flags}
|
674
|
698
|
-DUSBCON -DUSBD_USE_CDC
|
675
|
699
|
-DTIM_IRQ_PRIO=13
|
676
|
700
|
build_unflags = -std=gnu++11
|
677
|
|
-src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
|
701
|
+src_filter = ${common.default_src_filter} +<src/HAL/STM32> +<src/HAL/shared/backtrace>
|
678
|
702
|
|
679
|
703
|
#
|
680
|
704
|
# HAL/STM32F1 Common Environment values
|