Commit graph

605 commits

Author SHA1 Message Date
FanDjango
dcaefc68a5 BLTouch.init should not deploy (#13988)
Low or unknown probe clearance on init (even at powerup) is a risk and therefore, a deploy should be avoided because dragging the pin is possible: A deploy goes into alarm if it can't extend fully and then the subsequent stow will fail.
2019-05-14 23:55:11 -05:00
Marcio Teixeira
227f29090d Add heater timeouts to ExtUI (#13970)
- Add local UI methods to get heater timeout state.
- Add methods to resume timed-out heaters.
- Re-enable heaters on UI temperature request.
- Make `ExtUI` show a dialog box if pause needs a button press after reheat.
2019-05-10 15:56:13 -05:00
ManuelMcLure
51acbb2201 Prevent HOST_PROMPT_SUPPORT compile error (#13943) 2019-05-09 11:48:31 -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
Giuliano Zaro
40aff7e1f2 Remove extra MMU (non-12V) code (#13938)
`check_version` in state -5 should not be needed since it has already been called in state -4 and the tested build nr is only updated in state -4.
2019-05-07 21:02:08 -05:00
Tanguy Pruvot
11adcf1ce3 Add'l PLR options, AVR strstr_P compat (#13880) 2019-05-07 20:38:40 -05:00
Tanguy Pruvot
24e956d168 Avoid int8_t underflow on filament runout (#13895) 2019-05-07 13:58:10 -05:00
Ludy
c837e9250c Define tmc variables where needed (#13918) 2019-05-05 22:04:47 -05:00
ManuelMcLure
09f1b58146 Fix HOST_PROMPT_SUPPORT compile issue (#13847) 2019-05-04 22:55:51 -05:00
Giuliano Zaro
e2a77ed881 Bring chamber temp to completion (#13837) 2019-05-04 22:51:47 -05:00
kAdonis
ee73e17c9b Hide 'vsense' report row if not used (#13884) 2019-05-04 22:00:24 -05:00
InsanityAutomation
3fcab8dbf1 Option to disable fans during pause (#13820) 2019-05-04 15:50:44 -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
0181e57417 Add a minimum Z change option to power-loss recovery (#13859) 2019-05-02 22:29:05 -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
chai-md
ed9eaa1942 Fix a comment in fwretract.cpp (#13802) 2019-04-26 09:36:29 +02:00
InsanityAutomation
610fb46683 Fix some ExtUI issues (#13799) 2019-04-26 09:32:01 +02:00
Robby Candra
35160dfb7a Simplify PLR homing when Z homes to max (#13718) 2019-04-16 00:17:27 -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
Scott Lahteine
6a71df2925 Tweak babystep add_steps 2019-04-13 14:14:26 -05:00
Scott Lahteine
7e58d33a2e Update some headers 2019-04-12 13:04:04 -05:00
Scott Lahteine
5018fdacbe
Support FYSETC_MINI_12864_PANEL (#13365) 2019-04-09 18:34:29 -05:00
InsanityAutomation
ba31d39f6d Azteeg X5 Mini support (#13425) 2019-04-08 23:10:45 -05:00
Scott Lahteine
fae2b7edc3 Update MMU2 code style 2019-04-08 18:13:42 -05:00
Roxy-3D
9cee81d47e Option to show babysteps total since G28 (#13580) 2019-04-06 18:04:34 -05:00
Scott Lahteine
028b78f623 Suppress a compile warning 2019-04-05 20:06:19 -05:00
Scott Lahteine
cf12fc8366
Expand on serial debugging (#13577) 2019-04-05 20:02:46 -05:00
Scott Lahteine
027a901bec Trim whitespace 2019-04-05 15:04:23 -05:00
Robby Candra
cd1ef33c8c Drop extra PLR save test (#13554) 2019-04-04 22:47:00 -05:00
Scott Lahteine
cacec5764a Clean up whitespace 2019-04-04 22:12:02 -05:00
Scott Lahteine
240ea1bbb3 Split up games into separate files 2019-04-04 03:06:19 -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
Robby Candra
a3f67acd6d Fix Power Loss Recovery file delete (#13522) 2019-03-30 13:14:58 -05:00
Msq001
f0d14b83bc Save/restore Relative modes in Power-Loss Recovery (#13501) 2019-03-29 13:40:42 -05:00
Scott Lahteine
b46ca9aa94 Less timely comment, tweak conditions 2019-03-26 19:20:13 -05:00
InsanityAutomation
eb91f08725 Update descriptions and dont call unneeded functions 2019-03-26 11:24:52 -04:00
Thomas Moore
c5e96544b5 Fix vtool compiler warning (#13476) 2019-03-24 20:02:28 -05:00
Scott Alfter
407202cc0f Fix BLTouch pre-3.0 compatibility (#13454) 2019-03-23 23:28:15 -05:00
InsanityAutomation
5eeffab5e5 Fix BLTouch Menus (#13441) 2019-03-23 22:58:34 -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
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
Tobias Frost
d20eab4f83 Fix macro in set_color() (#13417) 2019-03-16 19:05:59 -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
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
Scott Lahteine
6214c997c0 Remove includes of <binary.h> 2019-03-13 05:32:33 -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
InsanityAutomation
785a7028bf Followup to 'volatile' patch (#13369)
Originally #13344
2019-03-11 15:01:57 -05:00
Scott Lahteine
12503fce06 Followup to wait_for_user fix 2019-03-10 09:14:02 -05:00
Tobias Frost
2efbcc90c5 Fix wait_for_user compile error (#13352) 2019-03-10 08:07:41 -05:00
3dlabsio
645ca7af7a M141 Heated Chamber, Temperature rework (#12201) 2019-03-07 02:09:39 -06:00
Scott Lahteine
39f1222060 One fewer G29 error string 2019-03-05 23:04:52 -06:00
Scott Lahteine
cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs (#13311) 2019-03-05 06:46:19 -06:00
Ludy
bd4160dbaf Unused CS_ACTUAL_sb (#13282) 2019-03-02 17:30:30 -06:00
Scott Lahteine
2f1e1dcb42 Gradual step towards EXTRUDERS 0 support 2019-03-01 01:51:24 -06:00
Scott Lahteine
f37df28d17 UBL G29 T current position fix
Counterpart to #12845
2019-02-26 22:25:53 -06:00
Scott Lahteine
5d28575d4d Clean up some motion code 2019-02-25 16:01:42 -06:00
Scott Lahteine
e15354e387
Simplify serial port redirect (#13234) 2019-02-23 22:53:01 -06:00
Scott Lahteine
a43e892fb5 Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
2019-02-20 06:27:26 -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
52665f54ad Fix bad Purge More logic (#13193) 2019-02-19 14:37:18 -06:00
Scott Lahteine
e00aad84af Add M240 parameters D I J R S 2019-02-14 20:00:40 -06:00
Scott Lahteine
7cf9b93f26 Add HAS_FILAMENT_SENSOR ahead of 12962 2019-02-12 20:13:20 -06:00
Scott Lahteine
a0dadc8c62 Smaller I2CPositionEncoder strings 2019-02-12 16:21: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
Giuliano Zaro
f7efe6f6c5 [2.0.x] Fix TEMP_STAT_LED startup init (#13120) 2019-02-11 17:27:59 -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
Scott Lahteine
f269766408 Put the MMU2 menu with the others 2019-02-06 17:38:46 -06:00
InsanityAutomation
413e303ad5 More Advanced Pause options (#12984) 2019-02-06 06:39:42 -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
Roxy-3D
ab6908a513
Fix Probe Offset bug... 2019-02-05 20:30:20 -07:00
revilor
69aaf5d096 MMU2 fixes (#13082) 2019-02-05 20:56:22 -06:00
Scott Lahteine
d4d1b28a06 Fix some include paths 2019-02-04 03:57:15 -06:00
Scott Lahteine
0d720a6ff4 Tweak to emergency_parser.h 2019-02-04 03:56:56 -06:00
Scott Lahteine
afe79ba22b Minor code cleanup 2019-02-04 02:23:06 -06:00
Scott Lahteine
38c2ca9281 Clean up trailing whitespace 2019-02-03 23:00:57 -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
raTmole
ddeca7a358 Fix resume from power loss G-Code. (#13035) 2019-01-28 13:19:26 -06:00
Giuliano Zaro
a79d80c78e Minor cleanup of pause code (#13030) 2019-01-27 23:10:25 -06:00
Scott Lahteine
3845baf398 Followup to #12982 2019-01-27 22:53:46 -06:00
InsanityAutomation
48a3502656 Remote streamer improvements (#12982) 2019-01-27 22:43:13 -06:00
Scott Lahteine
621fbe99de Followup to #12817 2019-01-27 20:48:58 -06:00
Marcio Teixeira
f214118e45 Action to notify host of filament runout. (#12817) 2019-01-27 20:18:05 -06:00
InsanityAutomation
f4d1f13358 Warn on cold extrusion, dont error 2019-01-24 00:16:14 -06:00
Bob Kuhn
2f35747f29 L6470 SPI daisy chain support (#12895) 2019-01-23 19:06:54 -06:00
teemuatlut
e5801b75f8 Fix TMC-related compile issues. (#12971)
- `STEALTHOP_[XYZE]` configuration options now set the default state.
2019-01-20 23:54:57 -06:00
Marcio Teixeira
f4c16e683b Follow up fixes to #12884 (#12940) 2019-01-17 18:48:29 -06:00
Giuliano Zaro
7bb5d4bfe8 Small LED code reorganization (#12929) 2019-01-17 13:20:26 -06:00
teemuatlut
e6805582a6 M569 to change stepping mode. Add new TMC section to LCD. (#12884) 2019-01-17 13:17:16 -06:00
mikeshub
7fde8d9d1e Add CreatorPro / Makerbot / QIDI / etc and Mightboard RevE support (#12855)
- Fix a bug in MAXxxxx thermocouple temp reporting.
- Add support for 3-wire HD44780.
- Add support for PCA9533 RGB driver.
- Add configuration examples for FlashForge CreatorPro.
2019-01-14 14:29:55 -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
teemuatlut
7a5e637a37 Add spreadCycle parameter sets (#12645) 2018-12-18 12:42:14 -06:00
teemuatlut
55144284c2 TMC connection test, spreadCycle parameters, improved debugging (#12616) 2018-12-09 20:54:48 -06:00
Marcio Teixeira
b22716e938 M425 Backlash Correction (#11061) 2018-12-08 14:36:46 -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
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
95d154a91f Fans loop macro 2018-11-28 16:45:08 -06:00
Scott Lahteine
929a513a6b
Add poll_runout_states, which returns 1 for runouts (#12547) 2018-11-27 20:13:24 -06:00
Scott Lahteine
cd88ea2106 Fix runout debug output
Followup to #12544
2018-11-27 18:10:19 -06:00
Scott Lahteine
cecc238f68 Save recovery info on SD pause 2018-11-27 14:42:19 -06:00
Marcio Teixeira
439a3e8463 Improve runout sensor, fix LIGHTWEIGHT_UI screen size (#12544) 2018-11-27 13:45:25 -06:00
Ludy
730f223100 Correct FANMUX2_PIN (#12538) 2018-11-25 17:27:41 -06:00
Scott Lahteine
1fcc13b011 Allow Serial Overrun Protection to be disabled 2018-11-23 21:07:38 -06:00
Scott Lahteine
29c53f2402 Hide some compile warnings 2018-11-23 21:07:38 -06:00
Scott Lahteine
643e0066a0 Followup to #12451 2018-11-20 06:27:19 -06:00
Scott Lahteine
a4c15dc54f
Modify MBL to use IJ instead of XY (#12478) 2018-11-19 09:08:15 -06:00
Roman Moravčík
5fbe5cabc8 Fixed displaying of kill MSG_OUTAGE_RECOVERY string. (#12470) 2018-11-18 18:05:29 -06:00
Ludy
c0b75f49b6 Fix "no effect" and "unused variable" compile warnings (#12473) 2018-11-18 17:54:00 -06:00
Marcio Teixeira
c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 2018-11-17 22:21:44 -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
Marcio Teixeira
5e586a6b39 Fix to runout sensor code. (#12431)
- "old_state" is no longer a class static variable.
2018-11-14 16:54:05 -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
edfd106bc5
Rejigger Filament Runout class (#12428) 2018-11-14 11:45:57 -06:00
Scott Lahteine
df907a905f Update UBL comments for debug change 2018-11-12 03:46:48 -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
c239131ff5 Use 'serial_spaces' in 'print_2d_array' 2018-11-10 01:32:51 -06:00
Scott Lahteine
56150ec030 Add reference comments to MeshLevelingState 2018-11-09 21:31:20 -06:00
Scott Lahteine
488a17b3f5 Use IS_SD_PRINTING() more 2018-11-06 20:55:17 -06:00
Scott Lahteine
e574f01568
More advanced pause tweaks (#12356)
* Followup to LCD_TIMEOUT_TO_STATUS=0
* Make continuous purge screen fit 20x4
* Unify purge message modes
* Preserve last-set pause header mode
2018-11-06 19:25:57 -06:00
Scott Lahteine
4c5ca89d8c
Show the appropriate pause message (#12348) 2018-11-06 04:13:48 -06:00
Scott Lahteine
b779b42ffd Prevent current step-down going negative
Addressing #11348
2018-11-05 04:17:37 -06:00
Scott Lahteine
44fa7fb18c Cleanups for leveling-related code 2018-11-04 19:07:47 -06:00
Scott Lahteine
cc2bc67440 ENABLED(NEWPANEL) => HAS_LCD_MENU 2018-11-04 19:06:10 -06:00
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322)
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
2018-11-04 02:25:55 -06:00
Scott Lahteine
f5b31e218d Followup to #12082 2018-11-02 01:15:27 -05:00
Scott Lahteine
fce150f094 inline static => static inline 2018-11-01 23:15:17 -05:00
Giuliano Zaro
323c088356 Restore LED light color after pid tuning (#12082) 2018-11-01 22:04:19 -05:00
Scott Lahteine
f319087372 Followup to #12293 2018-11-01 14:41:03 -05:00
AnHardt
74bbb13008 Fix Mixer calculations for 32-bit processors (#12293) 2018-11-01 14:38:45 -05:00