10312 Commits (a4c24511f7afdd821a74a5f528196cccee03fe94)

Author SHA1 Message Date
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.
6 years ago
InsanityAutomation d44e5b1fde Fix stepper direction macros, multi-nozzle scope (#13569) 6 years ago
Scott Lahteine 10b9632bed Fix menu history item selection 6 years ago
Scott Lahteine f1810689ff Fix bootscreen condition 6 years ago
Kajetan Rzepecki b21ca53dfc SPIFFS-backed PersistentStore for ESP32 (#13566) 6 years ago
Scott Lahteine af92ee9dd6 No PLR include needed in queue.cpp 6 years ago
Scott Lahteine 5d2c5877f7 DOGM bootscreen cleanup 6 years ago
Scott Lahteine 2aa35e95af More G26 arc cleanup
Followup to #13531
6 years ago
Scott Lahteine 20a41e2f7b SDCARD_RATHERRECENTFIRST with SDCARD_SORT_ALPHA 6 years ago
Robby Candra 46445a5a16 Event G-code for Stop SD Print (#13547)
Co-Authored-By: 7eggert <7eggert@gmx.de>
Co-Authored-By: robbycandra <robbycandra.mail@gmail.com>
6 years ago
Kajetan Rzepecki 2cfa9e9008 Fixed chamber-related compile error (#13552) 6 years ago
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
6 years ago
Scott Lahteine 8b7c3eec83 Games, for fun (and stress-testing) (#13464) 6 years ago
InsanityAutomation fbc7b51a24 Use NO_FETCH for Dual X G28 (#13539) 6 years ago
Scott Lahteine 5de7b5b35e
Games, for fun (and stress-testing) (#13464) 6 years ago
InsanityAutomation 4961d8aa3e Update G28.cpp (#13539) 6 years ago
Scott Lahteine de0046fc8b Fix empty HAS_TIMER macros 6 years ago
Kajetan Rzepecki c9079165ee Fix MAX6675 readout with Hardware SPI (#13530) 6 years ago
ManuelMcLure 04086fc455 Minor optimization to ARC_SUPPORT code (#13531) 6 years ago
Robby Candra a3f67acd6d Fix Power Loss Recovery file delete (#13522) 6 years ago
Marcio Teixeira d992dfe7d5 Use the percent util func in the string func. (#13523) 6 years ago
drzejkopf b1f739e27b CR10_STOCKDISPLAY support in Bigtreetech SKR (#13516) 6 years ago
Marcio Teixeira 5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 6 years ago
Msq001 f0d14b83bc Save/restore Relative modes in Power-Loss Recovery (#13501) 6 years ago
Marcio Teixeira c6466c23fe Silence signed/unsigned comparison warning. (#13508) 6 years ago
InsanityAutomation 7240e3a68f Allow G26 with no heated bed (#13511) 6 years ago
Alexander Gavrilenko 6d9aaca082 Fix compilation error for MKS Robin (#13506) 6 years ago
Scott Alfter c6dbe6e9d6 Fix Teensy 3.5/3.6 __get_primask (#13514) 6 years ago
Alexander Amelkin e40636a7c1 Replace digitalPinHasPWM with HAS_TIMER (#13520) 6 years ago
Scott Lahteine b46ca9aa94 Less timely comment, tweak conditions 6 years ago
InsanityAutomation eb91f08725 Update descriptions and dont call unneeded functions 6 years ago
Ludy fe346cd4d1 Fix DEBUG_EEPROM_READWRITE compile error (#13492) 6 years ago
Sam Lane e3ab54753b Add extra Linear Advance factors (#13490) 6 years ago
Chris Pepper ffc2c2d7c5 Move FAST_PWM_FAN code to HALs (#13491) 6 years ago
Thomas Moore 263f8edff8 Disable volumetric extrusion during G26 (#13479) 6 years ago
Bob Kuhn 6bd0a0be97 Relocate DUE Stepper ISR to TC0,2 (#13481) 6 years ago
Thomas Moore 13a12f8a87 Fix UBL mesh editor on delta (#13478) 6 years ago
Scott Lahteine d2e0c03afb Remove trailing whitespace 6 years ago
Marcio Teixeira 7462fe3068 Fix compile error, squelch warnings (#13487)
- Fix path to `bedlevel.h` include file
- Add default to `case` statements to suppress warnings
6 years ago
Yannik Sembritzki 0d3ea59bcf Add pins for Dual Z UART on SKR 1.3 (#13474)
Fix #13470
6 years ago
pinchies ef3b93daa1 Fix STM32F1 SD-based EEPROM emulation (#13475)
If `openFile` is given `true`, then it has read-only access. Because all the writing occurs on the next line, this breaks SD card as EEPROM.
6 years ago
Chris Pepper aacc1148b0 Fix M106 for index > extruders (#13473) 6 years ago
Thomas Moore c5e96544b5 Fix vtool compiler warning (#13476) 6 years ago
Thomas Moore 02dc72acb6 Disable ABL when leveling corners (#13471) 6 years ago
7eggert d96f7d6068 Minimum segments for G2/G3. Better for small arcs. (#13466) 6 years ago
Scott Lahteine 380c771988 Handle word-padded flash-based eeprom (STM32F1)
Fix #13445
6 years ago
Scott Alfter 32332bcd03 Proceed with Teensy 3.5/3.6 HAL (#13450) 6 years ago
Scott Alfter 407202cc0f Fix BLTouch pre-3.0 compatibility (#13454) 6 years ago
Marcio Teixeira a0ca98f699 Additional ExtUI features (#13449) 6 years ago
Sam Lane a8fa275dc6 Fix Fan 0 responding to all fan speeds (#13444) 6 years ago
InsanityAutomation 5eeffab5e5 Fix BLTouch Menus (#13441) 6 years ago
Scott Lahteine d8329d858d Default argument to defer_status_screen 6 years ago
Giuliano Zaro 9562a02c5a Update Italian language (#13440) 6 years ago
drzejkopf 70e6a3db8a Add LEVEL_CORNERS_HEIGHT to LEVEL_BED_CORNERS (#13439) 6 years ago
Roman Moravčík f3cf95a937 Update Slovak language. (#13435) 6 years ago
Scott Lahteine 144018736a Use USES_Z_MIN_PROBE_ENDSTOP 6 years ago
InsanityAutomation 5b2c37d6c1 Followup to BLTouch (#13422) 6 years ago
InsanityAutomation 3fb8489ae3 EXTUI and UBL compilation fixes (#13420) 6 years ago
Scott Lahteine b376c7e374 Group DISABLED items 6 years ago
Scott Lahteine 58bca67883 Unify status scrolling further 6 years ago
Scott Lahteine c4443f885e finishstatus => finish_status 6 years ago
InsanityAutomation 691e5c3bb8 BLTouch V3.0 support (#13406) 6 years ago
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(...)`
6 years ago
Tobias Frost d20eab4f83 Fix macro in set_color() (#13417) 6 years ago
Ludy 59353546e8 Fix BUTTON_EXISTS and misplaced comma (#13411)
Fixes #13410 and redeclaration of `BUTTON_EXISTS`
6 years ago
InsanityAutomation 09eb30dc05 IDEX Mirror mode based on Formbot / Vivedino Symmetric mode (#13404) 6 years ago
Scott Lahteine 5c1aa5162d Adjust M206 output in M503 for DELTA 6 years ago
Scott Lahteine ad8b82d054 Fix KILL_PIN assignment for MKS_MINI_12864
According to #13397
6 years ago
Scott Lahteine 3a916b4ef2 Create bresenham.h 6 years ago
Karl Andersson 5d3928cb01 PWM is not defined on Arduino Core STM32 (#13405) 6 years ago
Scott Lahteine 9a515cbd32
Fix Pause Print message and behavior (#13394) 6 years ago
Scott Lahteine f5bcc00570
Unify debugging output with debug_out.h (#13388) 6 years ago
Andrei Pozolotin cc8a871705 Add capability string CHAMBER_TEMPERATURE (#13391)
Reference: #13380
6 years ago
Scott Lahteine 67bee06e43 No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
6 years ago
Scott Lahteine f89b375fb9
Fixes and improvements for PWM pins (#13383) 6 years ago
Scott Lahteine 87162658c4
Fix and improve software endstops (#13386) 6 years ago
Scott Lahteine 6214c997c0 Remove includes of <binary.h> 6 years ago
Scott Lahteine 4555ae448f Fixups for ESP32 6 years ago
Scott Lahteine a5ea3e2f15 Fix hotend offset on switching toolhead change
See commentary at #11623
6 years ago
jmz52 8e0ac93d60 Fix 'UNUSED redefined' compiler warning (#13387) 6 years ago
Hadrien Jouet 0278ad0a6d Add ESP32 WiFi interface (#11209) 6 years ago
InsanityAutomation c03df89921 ExtUI Mesh Leveling Extensions (#13363) 6 years ago
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)
6 years ago
Scott Lahteine ad91476d26 Fix USEABLE_HARDWARE_PWM 6 years ago
Scott Lahteine d63da4592d Tweak to SCARA_move_to_cal 6 years ago
Scott Lahteine 51ff5b68fa Clean up fastIO ahead of PWM patch 6 years ago
Scott Lahteine 388babbcea Tweak SERIAL_PRINTF 6 years ago
Scott Lahteine d94e077901 Apply HAS_HOTEND_OFFSET where needed 6 years ago
Scott Lahteine 11d6a939df Always define axis_unhomed_err 6 years ago
7eggert 10c8c034bd Allow both encoder and ADC keypad (#13355) 6 years ago
Andrei Pozolotin 31ff7da7ac Add missing CHAMBER options (for M141) (#13371) 6 years ago
Scott Lahteine 0375e92847 Followup to serial rework
As mentioned in #13370
6 years ago
jmz52 013bb469ca Fix compilation for STM32F1 with no SDIO (#13366) 6 years ago
Scott Lahteine e52bcc9408 Limit top bed temp to BED_MAXTEMP - 10
The chances of a 10° overshoot is pretty minimal.
6 years ago
Scott Lahteine 98b55421a5 Clean up some temp config 6 years ago
InsanityAutomation 785a7028bf Followup to 'volatile' patch (#13369)
Originally #13344
6 years ago
Scott Lahteine aa1d587128 Some LCD code cleanup 6 years ago
Scott Lahteine fa11427ec6 Remove obsolete LCD_CONTRAST 6 years ago
pinchies 4df9509ead Add support for printers with inverted fan pins (#13362)
Add support for printers with inverted fan pins by adding `#define FAN_INVERTING 1` to `Configuration_adv.h` and modifying the fan write macros.
6 years ago
Scott Lahteine 1f7e220387 Make HAL ISR macros function-like 6 years ago
Scott Lahteine e3ce346f24 Report position to host in Nozzle::park 6 years ago
Scott Lahteine 77b4176152 Use lib include for bit_constants.h 6 years ago
Scott Lahteine 3419099f0a Clean up whitespace 6 years ago
pinchies 4c43e6c48b Fix "spontaneous heating" issue (WRITE bug) on STM32 (#13356)
Should fix "spontanous heating" problems due to order of operations error. Error occurs at least with ststm32 v5.1.0 in PlatformIO.
6 years ago
Michiel Baird b824a517aa Add G38.4 and G38.5 (#13348) 6 years ago
Bruce j Beare e4d080e63c Reset after kill with a button on the KILL_PIN (#13091) 6 years ago
MoellerDi c36989c39e Fix chamber temperature measurement (#13350) 6 years ago
Scott Lahteine 12503fce06 Followup to wait_for_user fix 6 years ago
Scott Lahteine 33a08fc6f7 Fix typos from temperature rework
Followup to #12201
6 years ago
Tobias Frost 2efbcc90c5 Fix wait_for_user compile error (#13352) 6 years ago
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.
6 years ago
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)
6 years ago
Scott Lahteine c7d618b4d9 Fix SERIAL_ECHOLNPAIR
Fix #13333
6 years ago
InsanityAutomation d54741eda8 Update some G26 plausible values. Add speed control. (#13330) 6 years ago
Msq001 fb3302feda Fix STM32F1 Serial and ADC pins (#13331) 6 years ago
Reece Kibble dbead66988 Allows user to set (almost) any PWM frequency (#12638) 6 years ago
Tobias Frost afbec5ff7e Have ExtUI::getProgress use ui.get_progress (#13328) 6 years ago
3dlabsio 645ca7af7a M141 Heated Chamber, Temperature rework (#12201) 6 years ago
Scott Lahteine 44571775bd Further support for 6 extruders 6 years ago
Scott Lahteine 893ee68b52 Clean up trailing whitespace 6 years ago
Scott Lahteine 39f1222060 One fewer G29 error string 6 years ago
Scott Lahteine cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs (#13311) 6 years ago
Scott Lahteine 4771e372a1
Update criteria for PAUSE/RESUME/STOP menu items (#13294) 6 years ago
Tobias Frost 56fdcf93d1 Disallow SD_DETECT_INVERTED with FYSETC F6. (#13307) 6 years ago
Tobias Frost 7ce13a6ec1 Fix a print_job_timer compile error (#13304) 6 years ago
Tobias Frost 6df51201ae Include EXTENSIBLE_UI in single LCD sanity check (#13306) 6 years ago
Scott Lahteine 2e5a3b01fd Save Power Loss Recovery only on move commands 6 years ago
Scott Lahteine 15738ea506 Update a motion comment 6 years ago
Scott Lahteine bc87e97357 Prevent a tool change move out of bounds 6 years ago
Scott Lahteine 2212da453a
Distinguish between analog/digital auto fans (#13298) 6 years ago
Chris Pepper 2513f6b550
Fix multiport G28 with Binary Transfer (#13308) 6 years ago
Chris Pepper 38bef9da91 Report auto temp to both serial ports, if available (#13301) 6 years ago
Robert Mendon 367d392880 Init stepper current after stepper pins are set up (#13302) 6 years ago
InsanityAutomation bf8b38e0f7 Relocate configs above Marlin/src folder (#13299) 6 years ago
Scott Lahteine d71dc5cf42 Fix for Ender 4 fan/case light pin
See #12731
6 years ago
Anthony Rich 7640b328df Support for Tronxy X5S 2e (#13297) 6 years ago
Scott Lahteine 599cdc3f0f Remove dead code from get_pid_output
See #12981
6 years ago
Scott Lahteine 35ae5daf2d Split up sdcard G-codes 6 years ago
Scott Lahteine 3f36a38512 Clean up some pre-serial-redirect includes 6 years ago
Scott Lahteine fa0d909dd3 Add FIL_RUNOUT_PIN for BIGTREE_SKR_V1.3
See #13267
6 years ago
Ludy bd4160dbaf Unused CS_ACTUAL_sb (#13282) 6 years ago
Vasily Evseenko 71773b128d Fix stepper use before init. Add Ultimaker2+ Extended clone config (#13284) 6 years ago
Scott Lahteine edc4e037c4 Add a note to G10 6 years ago
Tobias Frost 57afd0ab37 Fix range check bug in FileList::seek() (#13286)
When `count()` returns 0, `pos > (count()-1)` will always yield `true` due to integer underflow.
6 years ago
kAdonis 05c2f80826 Fix bug in wait-for-heatup (#13290) 6 years ago
Chris Pepper b0553d2d97 Add M997 support and simple implementation for LPC176x (#13281) 6 years ago
Scott Lahteine fa236e9718 General cleanup ahead of L64XX 6 years ago
Scott Lahteine 2f1e1dcb42 Gradual step towards EXTRUDERS 0 support 6 years ago
Scott Lahteine 99d0022fae
Drop the Z_MIN_PROBE_ENDSTOP option (#13276) 6 years ago
Scott Lahteine 9a6b90f47d TMC2660.h comment tweaks 6 years ago
Scott Lahteine a2e3226597 Init XYZ to configured home position 6 years ago
Scott Lahteine 4fbbce9a35 Marlin Dev Mode for DOGM status screen 6 years ago
Scott Lahteine 998ce55be0 Alternative fan bitmap 6 years ago
InsanityAutomation e2e2a55d9b Add thermistor type 67 SliceEng (#13275) 6 years ago
Msq001 5b7ad3a5a0 Fix SKR onboard TF card CS pin (#13272) 6 years ago
Scott Lahteine 7fde3ed915 Skip hysteresis check when temp is already close to target
To eliminate a long delay during pause, park, and filament change
6 years ago
Chris Pepper 7de6476b3d
Fix binary protocol error 6 years ago
Scott Lahteine 2c10222e87 card.transfer_port => transfer_port_index 6 years ago
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.
6 years ago
InsanityAutomation eb4bf93ea4 Add more Babystep options (#13262) 6 years ago
Scott Lahteine f37df28d17 UBL G29 T current position fix
Counterpart to #12845
6 years ago
Msq001 f8a39919fa Add Bigtree SKR 1.3 board (#13267)
Co-Authored-By: Msq001 <msq001@users.noreply.github.com>
6 years ago
Bob Kuhn ddbe4cfa20 Printrboard G2 support (#13116) 6 years ago
Scott Lahteine 4200f9ed62 Hide freeMemory et.al. warnings 6 years ago
Scott Lahteine dc88747770 Fix Due GET_ARRAY_IS_DIGITAL
Co-Authored-By: bob-the-kuhn <bob.kuhn@att.net>
6 years ago
Scott Lahteine a79b9bbe6b Cleanup whitespace, add a const 6 years ago
Giuliano Zaro 2616e4d4d9 Remove duplicated 'chitchat' defines (#13258) 6 years ago
Scott Lahteine 5d28575d4d Clean up some motion code 6 years ago
Scott Lahteine 808b076000 Update some ABL/UBL conditionals 6 years ago
Scott Lahteine 833c2e54a1 Add an empty flushTX to MarlinSerialUSB_Due 6 years ago
Scott Lahteine 38363902c7 Fix sanity checks for distinct E factor settings
Reference #13156
6 years ago
Scott Lahteine 64253e1a58 Followup to serial reform
Reference #13250
6 years ago
Minims 92a4984066 Fix G34 probe position (#13251) 6 years ago
Scott Lahteine e15354e387
Simplify serial port redirect (#13234) 6 years ago
Chris Pepper 88cc1d1a31
Fix Preprocessor syntax in Re-ARM pins file (#13247) 6 years ago
Karl Andersson 76e9ee33aa Fix include order to make SERIAL_PORT_2 work (#13241) 6 years ago
Bruce j Beare 562f2321d2 Fix a G34 bug, allow negative Z corrections (#13240) 6 years ago
FernandoVelcic edf025ed8d Update Spanish language (#13236) 6 years ago
Scott Lahteine 02fec89a0d Turn fans off in zero_fan_speeds
Addressing #13231
6 years ago
Scott Lahteine 15aa932aa6
HAL for Linux (#13146) 6 years ago
kwalters3 5eb82ca6a8 Change SSD1306_OLED_I2C_CONTROLLER to HAS_SSD1306_OLED_I2C (#13223) 6 years ago
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.
6 years ago
AnHardt 31b0be74af Fix autotemp_factor menu setting (#13226)
Fix #12643
Only factors above 1 can have a 'positive' effect.
6 years ago
Evgeny-SPB f6ab62bc13 Fix Creality CR-10 S5 filament change (#13219) 6 years ago
Thomas Moore 9f5e4e5ad8 Update LPC1769 Pins Files (#13183) 6 years ago
Greg Nutt 608a6810e7 Fix DOGLCD_A0 pin in pins_Smoothieboard.h (#13217) 6 years ago
Scott Lahteine 80359c9937 Add more parameters to M240
Co-Authored-By: shitcreek <45380455+shitcreek@users.noreply.github.com>
6 years ago
Scott Lahteine a43e892fb5 Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
6 years ago
Scott Lahteine 631d867dc9 HAL cleanups 6 years ago
Scott Lahteine 89bbc30a09 Fix init of power supply pin
Fix #13184
6 years ago
Scott Lahteine 44c22e3935 Provide a default MAX6675_SS_PIN for ReARM
See #8010
6 years ago
Scott Lahteine 3c9a7926c2 Fix compile error with JUNCTION_DEVIATION
See #13000
6 years ago
Scott Lahteine 758c6c9464 Very minor SPI speedup 6 years ago
Scott Lahteine 422dd6666e Fix Due EEPROM write bug
See #13065
6 years ago
Scott Lahteine 03e109c4a3 FLASH_EEPROM => FLASH_EEPROM_EMULATION 6 years ago
Scott Lahteine 50917ccda6 Tweak some u8g interface code 6 years ago
LinFor ba39186364 TMC_DEBUG optimization and improvements (#13135) 6 years ago
Scott Lahteine 1424b368cf Tweak M122 comment in configs 6 years ago
Scott Lahteine 3a1b6fe8c1 Coding standards 6 years ago
InsanityAutomation 19af90face Fix a host action compile error (#13208) 6 years ago