Scott Lahteine
a2e412c0ce
Rename command buffer var
2019-09-01 20:43:31 -05:00
Scott Lahteine
586b334c2a
Split up stepper indirection ( #15111 )
2019-08-31 19:44:45 -05:00
Luu Lac
081e4506ca
Fix G53 as prefix, G28 with CNC_COORDINATE_SYSTEMS ( #15069 )
2019-08-28 04:20:28 -05:00
InsanityAutomation
b7796bcce6
Disable steppers on M112 ( #15065 )
...
And change verbiage to not refer to "Emergency Stop."
2019-08-28 00:51:01 -05:00
InsanityAutomation
f218405c36
Fix ExtUI invalid speed, timer ( #15031 )
2019-08-25 04:46:02 -05:00
Scott Lahteine
dd6efe96e7
Restore documented M503 behavior
2019-08-22 18:58:11 -05:00
InsanityAutomation
af5a7a2925
Add missing ExtUI user confirmation ( #14992 )
2019-08-18 21:03:26 -05:00
Marcio Teixeira
274934ad81
Add LULZBOT_TOUCH_UI ( #14967 )
2019-08-16 18:34:13 -05:00
Marcio Teixeira
179d6c4ed1
Add STARTUP_SCRIPT option. M17 parity with M18. ( #14953 )
2019-08-14 21:05:15 -05:00
Joseph Bozarth
0fbb26c28f
M16 - Expected Printer Check ( #14924 )
2019-08-13 23:38:45 -05:00
Scott Lahteine
c8e30b6639
Fix code attempting to sprintf %f ( #14869 )
...
Arduino doesn't (always) support `float` formatting in strings. So either cast to `int` or use `dtostrf()` to fix these usages.
2019-08-08 01:51:37 -05:00
Chris Pepper
f499cecf0d
Marlin Binary Protocol Mark II ( #14817 )
2019-08-05 20:41:53 -05:00
Acenotass
4af9908764
Update M48 command in the status line ( #14816 )
2019-08-05 20:01:40 -05:00
teemuatlut
d4974ea719
TMC SPI Endstops and Improved Sensorless Homing ( #14044 )
2019-08-04 22:22:58 -05:00
InsanityAutomation
f59a7e8b07
Print/display ABL current probe point ( #14788 )
2019-08-01 20:11:26 -05:00
InsanityAutomation
6f8b8c394d
Homing backoff per-axis / delta Z ( #14789 )
2019-07-31 20:50:23 -05:00
Scott Lahteine
c2b319360d
Remove extra pragmas
2019-07-30 20:19:47 -05:00
Acenotass
659d06d9b9
M48 menu item, result to status ( #14772 )
2019-07-30 02:31:14 -05:00
rafaljot
e44fccf3d2
Add support for M575 ( #14757 )
2019-07-30 02:30:00 -05:00
Scott Lahteine
eae543adf3
Apply HAS_SPI_LCD as needed
2019-07-29 18:55:05 -05:00
Giuliano Zaro
290466578f
Adafruit Grand Central M4 ( #14749 )
2019-07-28 14:48:29 -05:00
Scott Lahteine
17abb94532
Whitespace patch
2019-07-28 01:29:23 -05:00
Ludy
97e9c95f47
Fix & clean up ExtUI ( #14748 )
2019-07-27 22:44:05 -05:00
Scott Lahteine
a3dc1e461b
Update M7219 comment, tweak parameter code
2019-07-24 21:09:51 -05:00
Scott Lahteine
1088846cae
Cosmetic updates from 14044
2019-07-24 01:52:36 -05:00
InsanityAutomation
dc6fa04f68
Fix single nozzle temp change, do slower extra prime ( #14696 )
2019-07-21 19:33:37 -05:00
Tim Moore
e5aa453293
Add support for 2 Neopixel strips ( #14667 )
2019-07-20 23:14:09 -05:00
Jason Smith
f2c5740d06
Add 'E' argument to G34 to allow stowing between probes ( #14533 )
...
- Use the return value from probe_pt during `G34`
Eliminate the assumption that probe_pt leaves current_position set to values relative to the probed points. This is not always true, depending on the raise_after argument.
- Add '`E`' argument to `G34` command allowing stowing between each probe.
2019-07-17 04:23:19 -05:00
InsanityAutomation
b8cc61262f
Finish G12, update Nozzle::clean ( #14642 )
2019-07-17 04:23:19 -05:00
Marcio Teixeira
27c487bab7
Print progress enhancements ( #14647 )
2019-07-17 03:14:44 -05:00
Scott Lahteine
eaf1c0954e
Update some precompiler tests
2019-07-14 13:09:16 -05:00
InsanityAutomation
ce02c6cee2
Variable tool change purge ( #14618 )
2019-07-14 11:40:58 -05:00
Marcio Teixeira
cbe4bf2ba8
Fix process_injected_command undefined behavior ( #14602 )
2019-07-14 10:12:48 -05:00
InsanityAutomation
d2f20803ba
Allow nozzle clean with limited Axis ( #14619 )
2019-07-14 06:58:53 -05:00
Robby Candra
e96468566d
Fix Z_PROBE_END_SCRIPT in ABL ( #14621 )
2019-07-14 04:28:38 -05:00
scotthsl
19b24a349c
Fix M412 without HOST_ACTION_COMMANDS ( #14591 )
2019-07-12 04:23:33 -05:00
Scott Lahteine
ed0e6afacb
Apply LIMIT macro
2019-07-10 03:35:39 -05:00
Bob Kuhn
dc02d0720d
Pins Debugging for STM32 — NEEDS TESTING ( #14309 )
2019-07-05 22:08:06 -05:00
Scott Lahteine
fe02241044
NONE on combined options
2019-07-05 18:20:24 -05:00
Scott Lahteine
750a16ad38
Fix MIN/MAX function collision with macros
2019-07-05 18:14:02 -05:00
Scott Lahteine
b6546ea33a
Add include guards to some headers
2019-07-05 04:02:08 -05:00
Tim Moore
eb6dec03bd
Simplify power supply naming logic ( #14488 )
...
Co-Authored-By: Tim Moore <tim.moore@lightbend.com>
Co-Authored-By: AnHardt <github@kitelab.de>
2019-07-05 01:58:34 -05:00
Scott Lahteine
720bc7c00b
Named indices for Temperature class ( #14479 )
2019-07-02 08:39:55 -05:00
GMagician
82ecaa767e
Remove unused code in M100
...
queue.buffer is in bss area, start_free_memory starts from heap then above of bss
2019-07-01 20:38:49 -05:00
Scott Lahteine
d16954dc88
Make KEEPALIVE_STATE a scoped auto-restore ( #14446 )
2019-06-29 22:49:50 -05:00
Marcio Teixeira
e6cf7860e8
Improve ExtUI, fix compiler errors, warnings ( #14441 )
2019-06-29 00:23:57 -05:00
Darsey Litzenberger
946f6bdeaa
Disable leveling during G12 ( #14385 )
2019-06-28 19:23:42 -05:00
Scott Lahteine
4d5a1984e2
Simplified fan handling code
2019-06-28 18:50:32 -05:00
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
2019-06-27 23:58:16 -05:00
Scott Lahteine
d7d80418ae
Singleton for cutting tools ( #14429 )
2019-06-27 23:06:49 -05:00
Tim Moore
81209f5310
'M105 R' to report redundant temp sensor ( #14324 )
2019-06-27 21:29:52 -05:00
InsanityAutomation
ce656e2a26
Update G-code injection, sub-commands ( #14418 )
2019-06-27 15:07:45 -05:00
Scott Lahteine
2580104c8b
Revert recent probe changes
...
- Revert "Fix FIX_MOUNTED_PROBE compile error (#14393 )"
- Revert "Fix G28 with non-BLTouch probes (#14381 )"
- Revert "Fix BLTOUCH deploy/stow in HS mode (#14352 )"
- Revert "Apply needed BLTouch patch (#14233 )"
Co-Authored-By: AnHardt <github@kitelab.de>
2019-06-26 05:33:43 -05:00
BigIronGuru
9f136a7c67
Low-priority homing in G34 ( #14391 )
2019-06-26 03:52:01 -05:00
Scott Lahteine
49627069a5
Shorthand for home-after-deactivate
2019-06-26 03:47:55 -05:00
Marcio Teixeira
8e23e9b16c
Fix FIX_MOUNTED_PROBE compile error ( #14393 )
2019-06-25 04:55:29 -05:00
Scott Lahteine
cf762d2c73
Fix enqueueing bug
2019-06-23 23:02:07 -05:00
BigIronGuru
12d21e642f
Update G34 for non-BLTouch probes ( #14380 )
2019-06-23 20:55:43 -05:00
BigIronGuru
5986194c36
Fix G28 with non-BLTouch probes ( #14381 )
2019-06-23 20:53:05 -05:00
InsanityAutomation
aa0383a83b
Enhance IDEX toolchange auto-return w/ no park, full control ( #14117 )
2019-06-23 20:00:48 -05:00
Scott Lahteine
17778d1c2a
Fix M916-918 subcommands
2019-06-22 16:18:42 -05:00
Tanguy Pruvot
be69ec5b32
Fix PLR/M43 warnings ( #14333 )
2019-06-22 00:48:47 -05:00
BigIronGuru
9c83135d40
Only home Z at the end of G34 ( #14353 )
2019-06-22 00:43:33 -05:00
LinFor
0f6f5132c1
Fix variable conflict in ok_to_send ( #14351 )
2019-06-21 19:04:30 -05:00
InsanityAutomation
a9acd2f497
G34 configurable angle limit ( #14321 )
2019-06-20 21:18:36 -05:00
Scott Lahteine
4df4c47994
Add TMC2209 support ( #14249 )
2019-06-20 15:47:50 -05:00
Scott Lahteine
4c872a01f2
G-code queue singleton, front injection ( #14236 )
2019-06-19 00:00:19 -05:00
InsanityAutomation
bf64dd4db6
Improve G34, M422 (Z alignment) ( #14142 )
2019-06-18 07:02:18 -05:00
Scott Lahteine
3f6424076b
Update M524 description
2019-06-18 05:04:55 -05:00
Scott Lahteine
cf3631226b
Document G-code M290
2019-06-18 04:53:31 -05:00
Scott Lahteine
903863dcb6
Suppress some warnings
2019-06-15 17:47:59 -05:00
mb300sd
bf8bfb5c66
Add Coolant Control M7/M8/M9 ( #10745 )
2019-06-13 18:43:11 -05:00
Scott Lahteine
bc2ff9b41f
Fix M605 bugs
...
Fixes #14191
2019-06-12 20:01:08 -05:00
Scott Lahteine
04715e04ee
Minor M100 cleanup
2019-06-12 06:14:40 -05:00
Scott Lahteine
356410dcfc
Move crc16 function to libs
2019-06-12 06:14:39 -05:00
Scott Lahteine
1ef95013f0
Update Marlin.cpp includes, defines
2019-06-11 07:30:51 -05:00
Tanguy Pruvot
8cf5504a34
Redundant but faster recovery.enabled test ( #14175 )
2019-06-10 23:33:35 -05:00
Scott Lahteine
0ca2073625
ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED => SD_ABORT_ON_ENDSTOP_HIT
2019-06-10 17:28:35 -05:00
Robby Candra
5ca8d51e12
Ability to insert G-code in front of queue ( #14229 )
2019-06-08 05:23:53 -05:00
Ludy
8e8e48f900
Fix links in templates, gcode.h ( #14160 )
2019-05-28 21:39:55 -05:00
Minims
32afe1d102
Fix TOOLCHANGE_ZRAISE warning ( #14156 )
2019-05-27 19:51:29 -05:00
Scott Lahteine
3c179bbd47
Simpler G28 home axis conditions
2019-05-26 16:26:55 -05:00
Scott Lahteine
352734494b
Reduce some M43 strings
2019-05-26 16:21:28 -05:00
Scott Lahteine
b14cc0d7c5
Remove extra gcode. prefix
2019-05-26 16:18:45 -05:00
Scott Lahteine
c6d39319de
Fix some whitespace
2019-05-26 16:18:43 -05:00
InsanityAutomation
212860f090
Always change to Tool 0 on G29 ( #14146 )
2019-05-26 14:53:21 -05:00
Bryan
0ef5d667b6
Fixed M43 parameter bug ( #14099 )
2019-05-25 18:23:25 -05:00
teemuatlut
1c86fbc60b
TMC updates, capture LCD changes ( #14074 )
2019-05-25 18:22:12 -05:00
Scott Lahteine
fc52c43a26
Some documentation updates
2019-05-24 16:30:44 -05:00
Tanguy Pruvot
24b1818245
Secure STM32F1 servo code and M280 detach ( #14085 )
2019-05-22 16:57:19 -05:00
Scott Lahteine
aeec9ef76b
Update backlash code
2019-05-20 21:34:08 -05:00
Tanguy Pruvot
87e7193259
Fix M226 sign warning (for most platforms) ( #14049 )
2019-05-18 16:15:48 -05:00
FanDjango
85fb33a060
BLTOUCH tweaks, new v3.1 command ( #14015 )
2019-05-17 19:10:18 -05:00
Scott Lahteine
785c01f2bc
Use US spelling of 'behavior'
2019-05-15 01:49:17 -05:00
Sam Lane
7f1e0c5670
Update EXTRA_LINADV_K with Marlin bit macros ( #13993 )
2019-05-15 01:07:07 -05:00
Robby Candra
7b78a20fb7
Fix: Debug Memory Dump size ( #13957 )
...
* Fix Memory Dump size
* Fix Compile error on Memory Dump
2019-05-11 11:44:39 -05:00
Giuliano Zaro
f22c9a1ae1
Fix G-code parser with MMU2 ( #13951 )
2019-05-10 19:57:15 -05:00
Bob Kuhn
fa3739aa23
M100: LPC1768 and DUE compatibility ( #13962 )
2019-05-09 21:57:44 -05:00
Scott Lahteine
ad4ffa1d2f
Use C++ language supported 'nullptr' ( #13944 )
2019-05-09 11:45:55 -05:00
InsanityAutomation
6811e2921b
BLTouch v3 / 3DTouch Interoperability & performance ( #13814 )
2019-05-07 21:25:54 -05:00
Ludy
a504366138
Fix probe fan compiling error ( #13930 )
2019-05-07 14:14:12 -05:00
Stephan
483822f3aa
Fix some THERMAL_PROTECTION_CHAMBER issues ( #13678 )
2019-05-06 19:55:01 -05:00
doggyfan
23a8707ef1
Configurable Thermistor ( #13888 )
2019-05-06 18:51:06 -05:00
Ludy
f96eaad1ea
Unused variable cleanup ( #13917 )
2019-05-05 22:01:04 -05:00
Giuliano Zaro
e2a77ed881
Bring chamber temp to completion ( #13837 )
2019-05-04 22:51:47 -05:00
Marcio Teixeira
15357af67c
Backlash cleanup ( #13659 )
...
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
2019-05-03 23:53:15 -05:00
Robby Candra
c369477cb0
Fix bug: diveToFile breaks M23 ( #13865 )
2019-05-02 15:54:24 -05:00
Thomas Moore
ee243e4edf
Fix mixing extruder filament change ( #13803 )
2019-05-01 21:55:58 -05:00
InsanityAutomation
610fb46683
Fix some ExtUI issues ( #13799 )
2019-04-26 09:32:01 +02:00
Bob-the-Kuhn
73726d56b3
Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x
2019-04-25 12:06:01 -05:00
Scott Lahteine
5051909c3c
Update do_select_screen for general use ( #13800 )
2019-04-24 10:13:44 -05:00
Giuliano Zaro
e2dd2268e8
Add a Z raise-between-probes to G34 ( #13791 )
2019-04-23 13:40:55 -05:00
Scott Lahteine
0c4d3e6622
Improve M906 description
2019-04-22 13:48:02 -05:00
Bob-the-Kuhn
520585c5ed
Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x
2019-04-17 15:34:29 -05:00
Scott Lahteine
92ed9a2bb6
Fix is_M29
...
Followup for #13013
2019-04-15 23:47:06 -05:00
Scott Lahteine
9992c424f5
Patch G92.9 flags
...
Followup to #13703
2019-04-15 20:26:40 -05:00
Msq001
455ee23499
Fix, improve Power Loss Recovery ( #13703 )
...
- Save and restore workspace offsets
- Add retract and purge (hidden) options
- Always restore axis relative modes
- Use added `G92.9` to do position restores
2019-04-15 18:53:39 -05:00
InsanityAutomation
aa0f7afbe6
Fix call to uninitialized PWM pin, heater 2 overlap ( #13674 )
2019-04-15 15:57:34 -05:00
Bob-the-Kuhn
9dd4252b39
Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x
2019-04-12 22:07:12 -05:00
Scott Lahteine
7e58d33a2e
Update some headers
2019-04-12 13:04:04 -05:00
Jamie
509dc283f2
Restore declarations of G53-G59 ( #13654 )
2019-04-11 13:51:05 -05:00
InsanityAutomation
4900c28bf6
Fix IDEX tool-change, and more ( #13614 )
2019-04-09 18:33:40 -05:00
Scott Lahteine
5e38d70697
Fix M217 report label, general cleanup
2019-04-08 18:18:08 -05:00
Scott Lahteine
fae2b7edc3
Update MMU2 code style
2019-04-08 18:13:42 -05:00
Scott Lahteine
c8a83fb122
SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA
2019-04-08 18:13:41 -05:00
Bob Kuhn
9a56d90150
Fix M43 on LPC176x ( #13587 )
...
The real fix. PR #13568 was wrong.
2019-04-06 18:06:07 -05:00
Roxy-3D
9cee81d47e
Option to show babysteps total since G28 ( #13580 )
2019-04-06 18:04:34 -05:00
Scott Lahteine
cf12fc8366
Expand on serial debugging ( #13577 )
2019-04-05 20:02:46 -05:00
Marcio Teixeira
bf7b28b456
Fix incorrect variable name ( #13585 )
2019-04-05 19:04:46 -05:00
Scott Lahteine
cacec5764a
Clean up whitespace
2019-04-04 22:12:02 -05:00
Marcio Teixeira
27a4927ed1
Add option to move away from endstop after homing. ( #13557 )
...
Add option to move away from endstop after homing.
- Add `ENDSTOP_BACKOFF` for printers with a recessed Z home button (Lulzbot TAZ 6).
- Also prevents chattering when sensorless homing with axes against bumpers.
2019-04-04 02:47:19 -05:00
Scott Lahteine
af92ee9dd6
No PLR include needed in queue.cpp
2019-04-03 18:26:31 -05:00
Scott Lahteine
2aa35e95af
More G26 arc cleanup
...
Followup to #13531
2019-04-03 16:03:21 -05:00
Scott Lahteine
a0a5c31c05
Power-Loss initialization fix ( #13553 )
...
- Only save to PLR file on moves with E and X or Y
- Save to PLR after any long-ish Z downward move
2019-04-01 17:52:45 -05:00
InsanityAutomation
fbc7b51a24
Use NO_FETCH for Dual X G28 ( #13539 )
2019-04-01 17:48:21 -05:00
InsanityAutomation
4961d8aa3e
Update G28.cpp ( #13539 )
2019-03-31 19:50:40 -05:00
ManuelMcLure
04086fc455
Minor optimization to ARC_SUPPORT code ( #13531 )
2019-03-30 22:29:37 -05:00
Robby Candra
a3f67acd6d
Fix Power Loss Recovery file delete ( #13522 )
2019-03-30 13:14:58 -05:00
Marcio Teixeira
5679fae11e
UltraLCD enhancements (lower fan resolution, backlash menu) ( #13519 )
2019-03-29 14:07:43 -05:00
Marcio Teixeira
c6466c23fe
Silence signed/unsigned comparison warning. ( #13508 )
2019-03-29 13:33:45 -05:00
InsanityAutomation
7240e3a68f
Allow G26 with no heated bed ( #13511 )
2019-03-29 13:32:43 -05:00
Sam Lane
e3ab54753b
Add extra Linear Advance factors ( #13490 )
2019-03-26 04:02:27 -05:00
Thomas Moore
263f8edff8
Disable volumetric extrusion during G26 ( #13479 )
2019-03-25 22:41:52 -05:00
Chris Pepper
aacc1148b0
Fix M106 for index > extruders ( #13473 )
2019-03-24 20:03:53 -05:00
7eggert
d96f7d6068
Minimum segments for G2/G3. Better for small arcs. ( #13466 )
2019-03-24 19:53:47 -05:00
Sam Lane
a8fa275dc6
Fix Fan 0 responding to all fan speeds ( #13444 )
2019-03-23 23:00:31 -05:00
InsanityAutomation
5b2c37d6c1
Followup to BLTouch ( #13422 )
2019-03-18 16:31:11 -05:00
InsanityAutomation
3fb8489ae3
EXTUI and UBL compilation fixes ( #13420 )
2019-03-17 07:57:54 -05:00
Scott Lahteine
b376c7e374
Group DISABLED items
2019-03-17 07:56:35 -05:00
InsanityAutomation
691e5c3bb8
BLTouch V3.0 support ( #13406 )
2019-03-17 05:57:25 -05:00
Scott Lahteine
49cf92dc36
Extended condition macros ( #13419 )
...
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
2019-03-16 23:43:06 -05:00
InsanityAutomation
09eb30dc05
IDEX Mirror mode based on Formbot / Vivedino Symmetric mode ( #13404 )
2019-03-15 22:46:27 -05:00
Scott Lahteine
9a515cbd32
Fix Pause Print message and behavior ( #13394 )
2019-03-14 02:26:07 -05:00
Scott Lahteine
f5bcc00570
Unify debugging output with debug_out.h ( #13388 )
2019-03-14 02:25:42 -05:00
Andrei Pozolotin
cc8a871705
Add capability string CHAMBER_TEMPERATURE ( #13391 )
...
Reference: #13380
2019-03-13 18:09:22 -05:00
Scott Lahteine
67bee06e43
No patch needed for non-libmaple analogWrite
...
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
2019-03-13 07:21:10 -05:00
Scott Lahteine
f89b375fb9
Fixes and improvements for PWM pins ( #13383 )
2019-03-13 06:51:15 -05:00
Scott Lahteine
87162658c4
Fix and improve software endstops ( #13386 )
2019-03-13 05:48:36 -05:00
InsanityAutomation
c03df89921
ExtUI Mesh Leveling Extensions ( #13363 )
2019-03-13 00:45:52 -05:00
InsanityAutomation
050eac03af
Single X Duplication Extension ( #13373 )
...
* Multi-nozzle selective duplication
* Use a bit-mask, reduce stepper_indirection.h size
* Tweak the multi-nozzle duplication description
* Use 'S' as a bool in M605
* Add HAS_DUPLICATION_MODE conditional
* Remove '_MODE' from the option name
* M605 in the style of Stacker M280
* Also include direct mask style (P)
2019-03-13 00:42:50 -05:00
Scott Lahteine
d63da4592d
Tweak to SCARA_move_to_cal
2019-03-12 22:06:50 -05:00
Scott Lahteine
d94e077901
Apply HAS_HOTEND_OFFSET where needed
2019-03-11 20:58:27 -05:00
Scott Lahteine
e52bcc9408
Limit top bed temp to BED_MAXTEMP - 10
...
The chances of a 10° overshoot is pretty minimal.
2019-03-11 16:32:34 -05:00
Michiel Baird
b824a517aa
Add G38.4 and G38.5 ( #13348 )
2019-03-10 17:22:09 -05:00
Tobias Frost
60e82e3929
Send notifications to ExtUI for M0/M1 ( #13344 )
...
- Send notifications to ExtUI for M0/M1
- wait_for_user can be non-volatile (not changed by interrupt)
C / C++ compilers don't optimize away reads of non-volatile variables when a function call is used between accesses, because *any* variable could be changed by the function call. Since `wait_for_user` can't be changed without a function call, it should be non-volatile so the compiler can optimize away cases where it is read more than once without an intervening function call.
2019-03-09 14:20:37 -06:00
Marcio Teixeira
00fc43144a
Follow up fixes to various PRs. ( #13334 )
...
- Ensure `MarlinUI:get_progress` is defined for `ExtUI`.
- Fix for `BACKLASH_SMOOTHING` with small segments.
`BACKLASH_SMOOTHING` with extremely small segments failed to fully correct due to the correction factor being rounded down. Rounding up ensures the entire backlash will converge to zero even for small segments.
- Add pinout for the beta revision `EINSY_RETRO`.
- Update soft endstops with tool offsets (for toolchange et. al. move clamping) (#12568 )
2019-03-09 14:20:37 -06:00
InsanityAutomation
d54741eda8
Update some G26 plausible values. Add speed control. ( #13330 )
2019-03-08 03:13:44 -06:00
3dlabsio
645ca7af7a
M141 Heated Chamber, Temperature rework ( #12201 )
2019-03-07 02:09:39 -06:00
Scott Lahteine
cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs ( #13311 )
2019-03-05 06:46:19 -06:00
Scott Lahteine
2e5a3b01fd
Save Power Loss Recovery only on move commands
2019-03-05 02:43:29 -06:00
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans ( #13298 )
2019-03-05 00:41:31 -06:00
Chris Pepper
2513f6b550
Fix multiport G28 with Binary Transfer ( #13308 )
2019-03-04 16:44:54 +00:00
Scott Lahteine
35ae5daf2d
Split up sdcard G-codes
2019-03-03 01:52:15 -06:00
Scott Lahteine
3f36a38512
Clean up some pre-serial-redirect includes
2019-03-03 01:52:15 -06:00
Scott Lahteine
edc4e037c4
Add a note to G10
2019-03-02 17:19:36 -06:00
Chris Pepper
b0553d2d97
Add M997 support and simple implementation for LPC176x ( #13281 )
2019-03-01 20:11:50 -06:00
Scott Lahteine
2f1e1dcb42
Gradual step towards EXTRUDERS 0 support
2019-03-01 01:51:24 -06:00
Scott Lahteine
99d0022fae
Drop the Z_MIN_PROBE_ENDSTOP option ( #13276 )
2019-03-01 00:27:45 -06:00
Chris Pepper
7de6476b3d
Fix binary protocol error
2019-02-28 02:31:42 +00:00
Scott Lahteine
2c10222e87
card.transfer_port => transfer_port_index
2019-02-27 20:14:17 -06:00
Chris Pepper
4ab433d391
Fix binary protocol with one serial port ( #13270 )
...
- The `sdcard.transfer_port` variable is Marlin's internal serial port index, not the physical serial port number.
- Added packet number to "ok" response so hosts don't need to wait for the ACK.
- Renamed feature to `BINARY_FILE_TRANSFER`, as the speed up is only consequential to the ability to transfer binaries over serial.
2019-02-27 19:57:48 -06:00
Bob Kuhn
ddbe4cfa20
Printrboard G2 support ( #13116 )
2019-02-26 21:03:13 -06:00
Scott Lahteine
5d28575d4d
Clean up some motion code
2019-02-25 16:01:42 -06:00
Scott Lahteine
808b076000
Update some ABL/UBL conditionals
2019-02-25 16:01:42 -06:00
Scott Lahteine
64253e1a58
Followup to serial reform
...
Reference #13250
2019-02-25 00:20:36 -06:00
Minims
92a4984066
Fix G34 probe position ( #13251 )
2019-02-24 13:57:30 -06:00
Scott Lahteine
e15354e387
Simplify serial port redirect ( #13234 )
2019-02-23 22:53:01 -06:00
Bruce j Beare
562f2321d2
Fix a G34 bug, allow negative Z corrections ( #13240 )
2019-02-23 02:41:52 -06:00
Marcio Teixeira
109e67169c
Define G21 as NOOP w/o INCH_MODE_SUPPORT ( #13229 )
...
Ticket #13228
If `INCH_MODE_SUPPORT` is undefined, G20 is an unknown command as it should be (Marlin is, by default, operating in metric mode). G21, however, is found in many slicers and printer start gcode sections and should be accepted (as a NOOP) to avoid the unknown commands.
2019-02-22 15:35:32 -06:00
Scott Lahteine
80359c9937
Add more parameters to M240
...
Co-Authored-By: shitcreek <45380455+shitcreek@users.noreply.github.com>
2019-02-20 14:51:36 -06:00
Scott Lahteine
89bbc30a09
Fix init of power supply pin
...
Fix #13184
2019-02-20 05:29:05 -06:00
LinFor
ba39186364
TMC_DEBUG optimization and improvements ( #13135 )
2019-02-20 02:22:42 -06:00
Scott Lahteine
3a1b6fe8c1
Coding standards
2019-02-19 14:58:39 -06:00
InsanityAutomation
19af90face
Fix a host action compile error ( #13208 )
2019-02-19 14:47:31 -06:00
Scott Lahteine
e00aad84af
Add M240 parameters D I J R S
2019-02-14 20:00:40 -06:00
Marcio Teixeira
31c240a8db
Enhancements to G425 ( #13159 )
...
- Turn off bed leveling prior to calibrating.
- This prevents lateral probes from having a Z component that
triggers the Z endstop and causes the motion to be aborted.
- Got rid of static const float arrays "dimension" and "true_center"
- Frees up 24 bytes of SRAM
- Changed incorrect use of "bool" for float in backlash macros.
- Replaced arguments with 0.0f and 1.0f for clarity.
- Now only disables soft endstops (since calibration cube is outside of bed)
- Not necessary to disable global endstops
2019-02-14 16:45:31 -06:00
Scott Lahteine
ab2816c870
Patch for M240
2019-02-14 15:13:57 -06:00
Scott Lahteine
d2bdb71c13
Add PHOTO_GCODE option, photo trigger physical move ( #13168 )
2019-02-14 15:09:35 -06:00
Scott Lahteine
be9a409980
Fix M125 XY parameters, export get_homing_bump_feedrate
2019-02-14 05:25:46 -06:00
Scott Lahteine
ce40c2e87c
Use do_blocking_move_to(ref, fr)
2019-02-14 02:22:08 -06:00
Scott Lahteine
7cf9b93f26
Add HAS_FILAMENT_SENSOR ahead of 12962
2019-02-12 20:13:20 -06:00
revilor
e56c13670d
Service interval watchdog ( #13105 )
2019-02-12 15:58:56 -06:00
InsanityAutomation
7f1b69b0c8
Add HOST_PROMPT_SUPPORT ( #13039 )
2019-02-12 15:55:47 -06:00
Scott Lahteine
0feeef2604
Update copyright in headers
2019-02-12 15:30:11 -06:00
Scott Lahteine
894f5c24a8
Fix trailing whitespace
2019-02-12 14:25:57 -06:00
Roman Moravčík
bace52afd7
Fixed compilation with MMU2_MENUS disabled ( #13140 )
2019-02-12 12:55:49 -06:00
Scott Lahteine
9737608f0a
Enable gradient when alias is cleared
2019-02-10 06:39:12 -06:00
Scott Lahteine
6de3d34378
M166 Gradients, LCD Menu for 2-channel Mixer (Geeetech A10M/A20M) ( #13022 )
2019-02-10 04:54:23 -06:00
AnHardt
0e37fe8776
Apply minimum C in M303 ( #13113 )
...
Apply minimum `C` in `M303`. `PID_autotune()` needs to be called with a 'C'ycles-parameter >2 to give meaningful (different from 0) PID-factors. Therefore silently raise C to 3. Fixing one aspect of #13104
2019-02-10 03:54:45 -06:00
Scott Lahteine
f269766408
Put the MMU2 menu with the others
2019-02-06 17:38:46 -06:00
Marcio Teixeira
e1604198ff
G425 — Auto-calibrate Backlash and Nozzle Offsets ( #13050 )
2019-02-06 17:20:17 -06:00
Mark Zachmann
19cf72e057
Support individual solenoid disable with M381 ( #13008 )
2019-02-06 06:34:53 -06:00
teemuatlut
d81342254a
Support new TMC drivers ( #13026 )
2019-02-06 06:33:14 -06:00
Rolf Werum
524c6c10bf
MAGNETIC_PARKING_EXTRUDER ( #12351 )
2019-02-06 06:30:53 -06:00
Scott Lahteine
1bd9a63049
Add HAS_EXTRA_ENDSTOPS macro
2019-02-06 05:10:05 -06:00
Scott Lahteine
1497fb388a
M29 match logic was reversed ( #13013 )
...
* M29 logic was reversed
If in card-saving mode generate errors line errors for anything that's *NOT* "M29 ?"
* Update queue.cpp
* Update queue.cpp
2019-02-04 07:23:42 -06:00
Scott Lahteine
b5fd2fb58b
Allow M29 to be processed late
2019-02-04 07:23:02 -06:00
Scott Lahteine
c03bac9ad4
Update queue.cpp
2019-02-04 07:17:40 -06:00
Scott Lahteine
a49f0205ea
Update queue.cpp
2019-02-04 07:11:08 -06:00
jeffstaley
2f176d6fb8
Flush RX buffer on G-code line errors to prevent hang ( #13018 )
2019-02-04 06:03:49 -06:00
Scott Lahteine
4200bd2fc1
Report on M92 with no arguments ( #12833 )
2019-02-04 05:24:15 -06:00
Scott Lahteine
433518de74
Prevent M420 error from disconnecting OctoPrint
...
Just echo the error instead of labeling it `Error:`.
2019-02-04 01:54:43 -06:00
Scott Lahteine
4fa1c52688
Tweak serial output code
2019-02-03 01:09:14 -06:00
Scott Lahteine
a5e3384691
Pre-apply cosmetic changes to mixing
2019-02-03 01:09:14 -06:00
mattfredwill
c3cb449990
TMC2130 dual-stepper Sensorless Homing ( #13061 )
2019-02-01 18:09:01 -06:00
revilor
6a57d0b381
Prusa MMU2 ( #12967 )
2019-01-31 19:10:52 -06:00
InsanityAutomation
a1d03fe7ba
Fix single nozzle fan ( #13038 )
2019-01-30 20:54:04 -06:00
Scott Lahteine
97da6c1da5
Use MIN/MAX for min/max
2019-01-28 20:36:13 -06:00
Giuliano Zaro
a79d80c78e
Minor cleanup of pause code ( #13030 )
2019-01-27 23:10:25 -06:00
InsanityAutomation
48a3502656
Remote streamer improvements ( #12982 )
2019-01-27 22:43:13 -06:00
jeffstaley
3f91233f6d
M29 logic was reversed
...
If in card-saving mode generate errors line errors for anything that's *NOT* "M29 ?"
2019-01-25 07:36:52 -08:00
jeffstaley
0e0cc13650
Fix M29 for Pronterface SD card upload ( #13010 )
2019-01-24 21:10:59 -06:00
Scott Lahteine
8f9b246d0e
Tweak some formatting, replace tabs
2019-01-24 13:18:56 -06:00
Bob Kuhn
2f35747f29
L6470 SPI daisy chain support ( #12895 )
2019-01-23 19:06:54 -06:00
Scott Lahteine
6453b82a5e
Clean up trailing whitespace
2019-01-23 15:57:01 -06:00
InsanityAutomation
a1cf49935d
Add laser control menu ( #12883 )
2019-01-20 23:41:47 -06:00
InsanityAutomation
75f2665f2e
LCD SD Card items near top when not using wheel ( #12926 )
2019-01-20 23:24:53 -06:00
Scott Lahteine
0495fcd475
Minor spacing fix
2019-01-20 00:10:50 -06:00
Ludy
acf266fe78
Fix a compile warning, etc. ( #12955 )
2019-01-19 18:47:29 -06:00
Scott Lahteine
ce563d7c2e
Various general cleanups
...
Mostly from the L6470-oriented PR
2019-01-19 16:56:12 -06:00
teemuatlut
e6805582a6
M569 to change stepping mode. Add new TMC section to LCD. ( #12884 )
2019-01-17 13:17:16 -06:00
Marcio Teixeira
f11c6d5d02
Fix M107 when dual-nozzles share fan ( #12819 ) ( #12909 )
2019-01-15 18:45:18 -06:00
InsanityAutomation
59b18aaeef
Allow resume from pause with parking enabled ( #12893 )
...
Currently, Pause of an SD-Memory card print does not work. This has been verified to resolve the issue by multiple people.
I understand more work needs to be done to resolve some of the concerns...
2019-01-15 07:58:54 -07:00
Giuliano Zaro
85f149befe
Save some progmem ( #12913 )
2019-01-14 20:56:30 -06:00
teemuatlut
1a79878dff
Remove TMC_Z_CALIBRATION in favor of Z_STEPPER_AUTO_ALIGN
2019-01-12 18:07:28 -06:00
Scott Lahteine
7cfce20cd3
Update comments on M125
2019-01-12 17:52:44 -06:00
InsanityAutomation
ed3ab5e212
Fix M24 not starting new job ( #12887 )
2019-01-12 15:30:44 -06:00
InsanityAutomation
082f6a27de
ADAPTIVE_FAN_SLOWING extension to hotend thermal protection ( #12853 )
2019-01-12 00:41:48 -06:00
InsanityAutomation
a403d9a50c
Improve menu pause / resume ( #12876 )
2019-01-11 20:42:11 -06:00
Scott Lahteine
fb8111553e
getStatus => report_status
2019-01-11 19:51:00 -06:00
Giuliano Zaro
709a6356f7
Remove obsolete test conditions ( #12829 )
2019-01-05 14:02:45 -06:00
Luu Lac
bcf347403b
Fix M106 extruder & fan count ( #12820 )
2019-01-05 14:01:35 -06:00
Marcio Teixeira
81e753064a
Fix ExtUI compile warnings and error ( #12799 )
2019-01-03 08:36:43 -06:00
Ludy
14a7faf087
Fix compile warning comparison uint and int ( #12788 )
2019-01-01 18:20:12 -06:00
Marcio Teixeira
60cb36bef3
Misc. improvements ( #12747 )
...
* Make ExtUI respect MAXTEMP limits
- Temperatures are now clamped by MAXTEMP limits rather than arbitrary values.
* Speed up USB init, add status
- Speed up USB initialization
- Show status message if init failed
* Enable status messages for EXTENSIBLE_UI
* Adjust max limit to MAX_TEMP - 15
* Misc. tweaks to formatting, const, etc.
2019-01-01 15:17:48 -06:00
InsanityAutomation
4f2473053c
Fix M106 with SINGLENOZZLE
2018-12-31 20:10:18 -06:00
Ludy
814d93c7cf
Fix G33 sprintf output warning ( #12738 )
2018-12-27 18:05:42 -06:00
InsanityAutomation
530ef5846f
Make nomove=false for toolchange on filament swap ( #12739 )
2018-12-27 11:38:35 -06:00
Luc Van Daele
c6e09c2689
[2.0.x] G33 clean up ( #12648 )
...
Remove obsolete workarounds in G33 for the now fixed zprobe_zoffset bug
2018-12-18 12:43:38 -06:00
Marcio Teixeira
902d5b0f8b
Allow ExtUI to use LCD_SET_PROGRESS_MANUALLY ( #12628 )
2018-12-12 17:21:37 -06:00
teemuatlut
55144284c2
TMC connection test, spreadCycle parameters, improved debugging ( #12616 )
2018-12-09 20:54:48 -06:00
MasterPIC
3bb8b3529a
Center ABL grid on bed with H parameter. ( #12610 )
2018-12-09 11:24:48 -06:00
Marcio Teixeira
b22716e938
M425 Backlash Correction ( #11061 )
2018-12-08 14:36:46 -06:00
Scott Lahteine
b7e38ea249
Signal an invalid mesh for M420 enable / load
2018-12-07 16:14:11 -06:00
teemuatlut
50b2fbd031
Trinamic: Split stealthChop, improve driver monitoring, etc. ( #12582 )
2018-12-07 15:34:21 -06:00
Scott Lahteine
261c6f4b96
Fix pause/resume SD print
...
Followup to #12551 , addressing #12566
2018-11-30 19:23:08 -06:00
Scott Lahteine
aaf862aef2
Fix angles for disabled EDITABLE_SERVO_ANGLES ( #12559 )
2018-11-30 12:31:42 -06:00
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type ( #12557 )
2018-11-29 16:58:58 -06:00
Scott Lahteine
03ef2d6c82
Fix "paused" message and M125 called by M25 ( #12551 )
2018-11-28 19:28:31 -06:00
Scott Lahteine
5b24ce9024
Hide M217 compile warning
2018-11-26 16:52:16 -06:00
Scott Lahteine
1fcc13b011
Allow Serial Overrun Protection to be disabled
2018-11-23 21:07:38 -06:00
Scott Lahteine
d29cb09b3e
Fix a minor compile warning
2018-11-22 05:35:38 -06:00
Scott Lahteine
817a37169a
Apply/unapply const here and there
2018-11-20 06:44:21 -06:00
Scott Lahteine
a4c15dc54f
Modify MBL to use IJ instead of XY ( #12478 )
2018-11-19 09:08:15 -06:00
kAdonis
4ae9a06c60
Update M303.cpp ( #12471 )
2018-11-18 18:04:51 -06:00
Marcio Teixeira
c1e17037e5
Various fixes for MarlinUI and ExtUI ( #12439 )
2018-11-17 22:21:44 -06:00
Giuliano Zaro
43ecdb606f
Fix a compile warning ( #12452 )
2018-11-17 07:08:25 -06:00
Ludy
56a94c2a26
Use 'target_extruder' in M104 as with M109 ( #12448 )
2018-11-17 06:55:25 -06:00
Scott Lahteine
66580f32c2
Make CardReader class static ( #12451 )
...
* Make CardReader a static class
* Make CardReader flags into bitfields
2018-11-16 22:39:16 -06:00
Scott Lahteine
d97e31db4c
Optimize Power-Loss Recovery ( #12440 )
2018-11-16 20:47:07 -06:00
Scott Lahteine
0e610815e4
No need for Cap:PAREN_COMMENTS
2018-11-16 04:28:40 -06:00
Scott Lahteine
7a075a5dc9
Tweak extruder errors
2018-11-16 01:32:21 -06:00
Scott Lahteine
2d92f333f5
Fix GcodeSuite::T active_extruder reference
2018-11-15 14:07:24 -06:00
Scott Lahteine
d2bb53702a
Optimize target_extruder, ignore T with mixing ( #12432 )
...
* Optimize target_extruder, ignore T with mixing
* Give G-code Tn parity with tool_change
2018-11-14 17:33:04 -06:00
Scott Lahteine
d82c350de7
Miscellaneous LCD code renaming, reordering ( #12430 )
...
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
2018-11-14 13:13:51 -06:00
Scott Lahteine
54ec5528a0
hasstatus => has_status
2018-11-14 01:34:28 -06:00
Roxy-3D
cda5ef08fa
Debug of G2-G3 for UBL ( #12386 )
...
Changes only affect UBL. Everything else is left alone.
2018-11-13 11:20:21 -06:00
Scott Lahteine
143b2896e0
Add M412 to enable/disable filament runout detection ( #12406 )
2018-11-12 21:29:46 -06:00
Scott Lahteine
a163c89c6a
Followup to 50af1d1
2018-11-12 20:31:53 -06:00
Scott Lahteine
50af1d1e08
Differentiate translated On/Off from Serial ON/OFF
2018-11-12 17:23:08 -06:00
Scott Lahteine
da17f8ad37
For now (!) don't synchronize in M204 and M205
...
See if this has any deleterious effect on motion planning by slicers that inser their own jerk and acceleration controls. The problem I see is that these settings can take effect on blocks already in the planner, and the only way around this would be to shadow these settings in planner blocks and use the shadowed settings in the planner.
2018-11-12 02:43:24 -06:00
Scott Lahteine
a0c795b097
Encapsulate common display code in a singleton ( #12395 )
...
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
- Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
2018-11-11 12:16:24 -06:00
Scott Lahteine
471f403a67
Reduce code size with plain inlines
2018-11-11 08:36:10 -06:00
Scott Lahteine
6093df11dc
Allow G26 to use the active extruder ( #12387 )
...
* Make lcd_quick_feedback argument optional
* Add click_to_cancel option to wait_for_hotend/bed
* Have G26 use the active nozzle and wait_for_hotend/bed
* Use wait_for_release in UBL G29
* Add 'T' parameter to G26 for an initial tool-change
2018-11-10 18:07:38 -06:00
Scott Lahteine
bed15fcd81
Tweak 'echo_not_entered' used by MBL's G29
2018-11-10 01:32:51 -06:00
Scott Lahteine
78ccedd6a8
Fix M91x sanity-check to permit TMC2660
...
Fix #12362
2018-11-09 05:48:15 -06:00
revilor
b60abc7c37
[2.0.x] Macro G-codes ( #9365 )
2018-11-09 05:25:08 -06:00
InsanityAutomation
6471a75a22
Combine more tool-change variables ( #12137 )
2018-11-06 22:22:20 -06:00
Scott Lahteine
812f6a7dd7
Fix Resume from SD Pause
...
In reference to https://github.com/MarlinFirmware/Marlin/pull/12098#issuecomment-436231690
2018-11-06 21:09:37 -06:00
Scott Lahteine
488a17b3f5
Use IS_SD_PRINTING() more
2018-11-06 20:55:17 -06:00