Commit Graph

7650 Commits (21a7b4f26db7fd3532b2817b7071754b4645ac04)

Author SHA1 Message Date
dot-bob bd45d0363d Add default configurations for the Wanhao Duplicator 6.
Scott Lahteine 91fb6231b2 Fix EEPROM V45 header, layout
Roxy-3D 94e6b2976e
Restore correct G26 values for gMax 1.5+ printer
Scott Lahteine dd3ce40826 Drop Planner::position_float, use int types
Scott Lahteine ec6ca37ed3 Fix (un)apply_leveling fade bug
Scott Lahteine a52fec6ac4 Planner class parity with 1.1.x
Ben Lye 1f3ad461bc
Update M49.cpp
Fix M49 so that it does not hang the terminal console.
Scott Lahteine e37dd64548 Apply LEDColor, language fixes
Scott Lahteine 8f90642eea LED_CONTROL_MENU config changes
Tannoo cf0f78336b New Feature: LED_CONTROL_MENU
Scott Lahteine 23e45fa3c4 Apply const to some planner vars
Scott Lahteine 7c61bcb058 Apply SEGMENT_LEVELED_MOVES to example configs
Scott Lahteine ef2531558c Add an option to segment leveled moves
Scott Lahteine 285b868e9b Tweak planner code style
Scott Lahteine 1f2acc33bc Tweaks for check_axes_activity
Vitaliy Sapyanov 7f88334aa3 Done cleanup and removed duplicates in pins_RuRAMPS4D.h ()
Remove duplicates, with followup fixes
Scott Lahteine a8aa43ce2d
Merge pull request from AnHardt/2_Fix_WDTO_during_long_DELTA_moves
[2.0.x] Fix WDTO during long delta moves
Scott Lahteine 4793c34c53 Fix M290 boolval bug
Fix 
Scott Lahteine 16baa48699 Fix
Fan speed code fell into a curly brace
AnHardt 02aa93a6ad Fix Watchdog time out during long lasting DELTA moves
During long lasting moves of a delta machine neither the temperatures are maintained nor buttons checked nor ... .
The fix is to call 'manage_heater()' and 'idle()' every now and then in the loop where the move is segmented. 
The code is abot the same as in G2_G3 wher we had the same problem with too large circles lasting too long.
Fixing 
Scott Lahteine fadf9eb2d7 Simplify midpos calculation
Scott Lahteine 0880031e8e Satisfy M702 dependencies
Scott Lahteine 0786b61ce7 Followup to
Scott Lahteine 276271e72f Make MBL work more like PROBE_MANUALLY
Scott Lahteine 94cb412e45 Allow override of probe bounds
Scott Lahteine c8718aa111 Spacing, macros in LPC1768_PWM
Scott Lahteine a67cf78c6b Clean up whitespace, spacing
Scott Lahteine f0dd4e3fa0 Bootscreen parity with 1.1.x
Scott Lahteine b634bfe1b1 Tweak to readDir code
Scott Lahteine 7be4857ab9 Tweak BLOCK_BUFFER_SIZE description
Bob-the-Kuhn 7d8b66e207
Merge pull request from Bob-the-Kuhn/Sbase-PWM
[2.0.x] MKS Sbase - add servo pin definitions and add directly controlled PWM
Bob-the-Kuhn 59b32c25b5 MKS Sbase changes
Scott Lahteine f90c075d1f SD Menu patches
Scott Lahteine 9b64be0bc5 Fixes for leveling sub-menus
Scott Lahteine 25674da90c Tweaks to do_blocking_move
Scott Lahteine 22b897e77d Show M211 output with workspace offset
Scott Lahteine d06e29846d Loosen HAS_BED_PROBE definition
Roxy-3D e48fcad615 change G26 and G29 bit function names to avoid HAL collision
Scott Lahteine 41ec449960 Fix G26 error return
Scott Lahteine 9badf5dc0d Fix Micromake C1 config
Scott Lahteine 7576ad7fc2
Merge pull request from tcm0116/2.0.x-cleanup
[2.0.x] Fix for  and other cleanup
Scott Lahteine 27c5692b13 Syntax tweaks
Scott Lahteine d18d40e1d6 M290 report on change, P0 to leave Probe Z Offset alone
LVD-AC 65f365333f [2.0.x] G33 probe error handling
Bob-the-Kuhn 8c69adba8b
Merge pull request from Bob-the-Kuhn/2.0.x-U8Glib-follow-up
[2.0.X] U8Glib follow up
Scott Lahteine be00e421a7 Patch up M290, M851
Bob-the-Kuhn fc40d56131 fixed error, updated defaults, added notes
Travis fix - only allow ultralcd_st7920_u8glib_rrd_AVR.cpp to compile when ST7920 selected
Roxy-3D d29cb646e3
Fix erroneous reference to temperature in time calculations
Travis is having problems at:  https://github.com/MarlinFirmware/Marlin/pull/8560   

So...   doing a direct commit to get things correct.   Bugfix_v1.1.x does not have this bug.  Nothing needs to be done to that branch.
Thomas Moore 7bb1721f35 Fix _BV already defined warnings for Teensy
Thomas Moore 5f9592a523 Cleanup narrowing warning in pin_is_protected
Thomas Moore 34eaaab5fb Fix _BV already defined warnings
Thomas Moore 2ea779e560 Allow bed probe sanity checks to run
Scott Lahteine d24b1190bd Don't use Z_MIN_PROBE_ENDSTOP on DELTA
Scott Lahteine e34c6827ea Init MIXING virtual tools as switching
Scott Lahteine a9ecb975b2 Apply LINEAR_UNIT to M503 output for M200
Scott Lahteine d95ee0f003
Merge pull request from revilor/bugfix-2.0.x
MK2_MULTIPLEXER does not require E2/E3 stepper pins
Scott Lahteine 80ada58818 One fewer function call in probe_pt
oliver 92a0dc552a MK2_MULTIPLEXER does not require E2/E3 stepper pins
Scott Lahteine b49acce035 Tweaks for lcd_external_control
Scott Lahteine 1ef1052ae1 Phatter arrows for Z offset overlay
Scott Lahteine 5926c9c97b Followup for MESH_EDIT_GFX_OVERLAY
Scott Lahteine ab03a31cc9 Patch G0/G1 for NANODLP_Z_SYNC
Scott Lahteine a766dfb3b1
Merge pull request from thinkyhead/bf2_nanodlp_z_move_sync
[2.0.x] Implement NANODLP_Z_SYNC for 2.0.x
Scott Lahteine 01e207213f Fix MK2_MULTIPLEXER stepper indirection
Roxy-3D ec04cf27d3
Fix the G26 out of scope identifiers in the v2.0.0 branch ()
These changes may need to be warmed over.  I tried to fix things with
the least amount of disruption.   I just wanted to get the bugfix_v2.0.0
branch working for people again.
Scott Lahteine dc82babe8e Implement NANODLP_Z_SYNC for 2.0.x
Scott Lahteine c6b0c104bb Adapt G26 to work for all meshes
Scott Lahteine 5ce7f23afa Config option G26_MESH_VALIDATION for all meshes
Scott Lahteine c19eb33408 Move G26 to gcode sub-folder
Scott Lahteine a03f93bab4 Fix fan kickstart
Scott Lahteine 9e3c41f9e8 Tweak fan kickstart / speed code
GMagician 118ac61e59 [2.0.x] Tool change bad behaviour fix
Previous fix did not work as expected when axeis not homed. It raise Z but never return to original position
Scott Lahteine c35d27f77c
Merge pull request from tcm0116/2.0.x-BIQU_BQ111-A4
[2.0.x] Add BIQU BQ111-A4 board
Scott Lahteine 1685cd193b Tweak char_mode init
Scott Lahteine 9406c87a97 Fix up LCD init / charset
Thomas Moore fa577392b2 Add BIQU BQ111-A4 board
Scott Lahteine c2fc78c3a8 #ifndef => #if !PIN_EXISTS
Scott Lahteine c613a1ed38 Fix indentation, stepper.h dependency, etc.
teemuatlut f011a32771 Board definitions for Ultratronics Pro v1.0
Bob-the-Kuhn 9dad534f02 fixed
Scott Lahteine 4371345cbe
Don't re-init graphical LCD after boot screen
Followup to 13a3fb1acc
Scott Lahteine 56c02b7f59 Shift register buttons question
Can LCD shift registers keep up with faster MCUs?
Scott Lahteine 3994d3b935 General cosmetic LCD
Scott Lahteine 617993d0ea Patch for !!TEST (was _BV once?)
Scott Lahteine 3269d8dd62 Tweak M42 var
Mateusz Krawczuk bb1a6eea88
Remove pin count check for MIGTHYBOARD_REVE
Remove assert and unused code since it is implemented in pinsDebug_plus_70.h
Scott Lahteine 1ce0fb336b Patch Max7219_LED_Set input args
GMagician a61127a421 [2.0.x] tool change bad behaviours
This will solve 2 issues on tool change.
1) when no home is done ("no_move" is set) tool change should never move X & Y because... I don't know where I am...only Z should be adjusted to avoid bed collision if other nozzle is lower than current.
Since no move no bed level matrix should be applied
2) When SWITCHING_NOZZLE is enabled and system is homed there are two movements to go to destination, but first can move Z to older position and then crash on the bed
Vitaliy Sapyanov e2724c68ab Update pins_RURAMPS4D.h
Add and bugfix pins
Scott Lahteine 9770062309
Merge pull request from thinkyhead/bf2_32bit_M42
[2.0.x] Updates to Anet A8 configurations
Scott Lahteine 3066655727 Try port*100+pin, fix config dependency
Scott Lahteine ba8bc7ea80 Cosmetic tweaks
Scott Lahteine f409147116 Fix P2_04, P2_05
Bob-the-Kuhn a28ccabe2a M42 P1.20 fix
Unknown 33912fa7e8 Update Temperature::setPwmFrequency prototype to match source
Introduced with 
Scott Lahteine b9327a4d16 Misc. general cleanup
Scott Lahteine 8836623e0f Fix `sq`/`min`/`max` macros after platform headers
Scott Lahteine fe4f009fdd 32-bit unless…
Scott Lahteine 25af9decfe Remove enum.h include of MarlinConfig.h
Scott Lahteine 1d4571b88d Dependency adjustments
Scott Lahteine 550f1025f0 Try using <Arduino.h> everywhere
Scott Lahteine c0000a0cdc Move servo code to modules/servo.*
Scott Lahteine 81bc428b48 Don't compile custom u8g without DOGLCD
Bob-the-Kuhn c14000775b PWM fixes, slow down fan update
include LPC1768 syntax for M42

couple more pin_t changes

consistency

change M42 to R, P format

Revert "change M42 to R, P format"

This reverts commit 01f12f579ec9ccc1bb9126e68d2c86449e9b7edf.
Scott Lahteine 60adc6ff02 Display filwidth ratio in terms of E mm
Scott Lahteine 6e533748eb Fixes
Scott Lahteine 485abb023b
Merge pull request from thinkyhead/bf2_wednesday_tweaks
[2.0] No retroactive adjustment with M851 Z
Scott Lahteine 3bba7d60f3 No retroactive changes with M851 Z
If using babystep to adjust the Z probe offset, the axis will move and the mesh will be updated at the same time, causing a doubling of the Z offset over the rest of the print.

To correct for this, the current Z position would need to be modified in the opposite direction, canceling out the additional Z offset added to the mesh. This would be confusing to users, and moreover it would not be accurate without also taking the current Z fade level and current Z height into account.

It might make sense to change the mesh in the case where no babystepping is taking place, but this could be considered an undesirable side-effect of changing the `zprobe_zoffset`.

One way to remedy this would be to return to storing the mesh with `zprobe_zoffset` included, then subtracting `zprobe_zoffset` from the returned Z value. Thus, a babystep moving the Z axis up 1mm would subtract 1 from `zprobe_zoffset` while adding 1 to all mesh Z values.

Without including the `zprobe_zoffset` in the `z_values` there is no safe way to alter the mesh in conjunction with babystepping, although it's fine without it.
Scott Lahteine 32512332df Apply some formatting
Scott Lahteine 7dacc999b9 Remove obsolete show_bootscreen var
Roxy-3D 9729528d13
Update UBL's Delta Probable locations
This is a non-intuitive change.   @oldmcg says in this post https://github.com/MarlinFirmware/Marlin/issues/7572#issuecomment-340641207 that using DELTA_PRINTABLE_RADIUS is better than DELTA_PROBABLE_RADIUS for setting the probe limits.   This is because the automatic probe code checks all locations for being reachable by the probe prior to doing the probe.
Scott Lahteine d48cb6bf41 Apply coding standards to Max7219
Scott Lahteine bd8bcf06e7 Updates to Anet A8 configurations
Based on 
Bob-the-Kuhn 7eea000f4b E0 auto fan fixes
Scott Lahteine b2dda096fe Fix FILAMENT_LCD_DISPLAY for disabled state
Scott Lahteine 1e8afb66b7 Fix a planner comment
Scott Lahteine 50f09cc029 Miscellaneous cleanup
Scott Lahteine 63257dc083 Fix M503 output for M145
Fixes 
Scott Lahteine 0918dae66e Add OV() macro for use in thermistor tables
Scott Lahteine 24057270a3
Merge pull request from RowanMeara/rm-dithering-2.0.x
[2.0.x] Fix Software Fan PWM
Scott Lahteine 5079a02c90 Add HAL_SERVO_LIB to HAL_Due.h
Scott Lahteine 9c3761047e
Merge pull request from thinkyhead/bf2_fix_M32_subroutines
[2.0] Fix 'M32 P' subroutines
Scott Lahteine e0d367f1fb Fix M32 P subroutine handling
Scott Lahteine 9f8b4c5ee8 Patch SD lib files for readability
Scott Lahteine 2c8c30437e Fix parser parameter value handling
RowanMeara 6131533157 Change dithering behavior to intended.
Scott Lahteine e70b44dc0b Make sure leveled[] is defined for later use
Scott Lahteine 54774841ba
Merge pull request from thinkyhead/bf2_M114_DETAIL
[2.0] Add M114_DETAIL to Configuration_adv.h
Scott Lahteine 009e3a7aa7 Add M114_DETAIL to Configuration_adv.h
Scott Lahteine 6d6c3b1e97 Fix up REPRAPWORLD_KEYPAD defines
Scott Lahteine 3f0a982b8c Move Filament Width Sensor to Configuration_adv.h
Scott Lahteine b76e173205 Move test extrusion options under G26
Scott Lahteine 14ebedca27 Drop unused LARGE_FLASH option
Scott Lahteine b7feb53e8a Support for Extrudrboard in Printrboard Rev.F
Scott Lahteine 91baca6abb Patches for compiler warnings/errors
Scott Lahteine 2f73dec077 Apply native workspace fixes for G92, G53-59
Scott Lahteine 04abd8d459 Improve and clarify M428 code
Dave Johnson c009a990e4 [2.0.x] Fix some 8-bit Teensyduino compile warnings ()
* Fix some 8-bit Teensyduino compile warnings

-Override Teensyduino legacy NOT_A_PIN 127 define
-some fixups for Printrboard_RevF pins

* Proper cleanup of Printrboard Rev.F pins

* Apply LCD fixes to Printrboard v1
Scott Lahteine e8e92f8969 No leveling data in M114 if no leveling is enabled
Scott Lahteine f5d210c35c Fix report_current_position
Roxy-3D faaae7a1b2
Provide more clearance for BL-Touch probe
Scott Lahteine 06ee6584fd Remove offsets from soft endstops, tool change
Scott Lahteine c938273bd5 Coding standard patch of M290
Scott Lahteine 98c1265e3b Disable laser power when PWM goes to 0
Scott Lahteine d4a1154c25 Use do_blocking_move_to where possible
Scott Lahteine 36426af564
Merge pull request from tcm0116/2.0.x-M600
[2.0.x] Normalize load/unload length in M600
Scott Lahteine 1ed86adf9c Cleanup around updatePID
Scott Lahteine 75a58ee4b8 Fix position_is_reachable bug in waiting
LVD-AC e334efb2a7 PROBE_MANUALLY etc.
Bob-the-Kuhn b6415dc169 finish