Commit Graph

2712 Commits (d545f984b08aace358c78b398185b3e24d8d5101)

Author SHA1 Message Date
Roxy-3D 26cc12eaa4 Resolve corruption of Max7219 Debug LED Matrix
Scott Lahteine dca69efc11 Update Bed PID comments
Scott Lahteine 56486c5c0e Apply const to manage_inactivity
Scott Lahteine a6485456df Fix LIGHTWEIGHT_UI with UBL
See https://github.com/MarlinFirmware/Marlin/issues/10317#issuecomment-379100702
Scott Lahteine e02fc4f1d6 Better RESTORE_LEVELING_AFTER_G28 sanity-check
As suggested by @GMagician
Scott Lahteine 44a697ab04 Set STM32F1 TEMP_TIMER_FREQUENCY to 1K
Responding to https://github.com/MarlinFirmware/Marlin/pull/8833#issuecomment-379426803
Scott Lahteine cec6e19099 Add RepRapPro Huxley configuration
Based on  by @indazoo
Scott Lahteine 9ff4e9e1e6 Patch _IS_HW_SPI so defined() works
Scott Lahteine cea398849e Tweak to gcode_line_error/return
etagle a29adde5c0 Implement BEZIER_JERK_CONTROL
Enable 6th-order jerk-controlled motion planning in real-time.
Only for 32bit MCUs. (AVR simply does not have enough processing power for this!)
Scott Lahteine 5932df7ea1 Add BEZIER_JERK_CONTROL to example configs
Lenbok 0e8242180d Chamber temperature monitoring and auto fan control.
This is an initial cut for feedback, updated for 2.0.x.

Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?

Chamber temperatures are not reported on the LCD in any way.

When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.

As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
Scott Lahteine 5b3bda1c16 Add Chamber Temp options to example configs
Bob-the-Kuhn acda4ecb20 Fix DUE Trinamic SW/HW SPI sanity check ()
Bob-the-Kuhn ab715c70d1 TMC SPI sanity-check and pins debugging ()
Scott Lahteine 4dc7e64789 Update Slovak language
Based on  by @rmoravcik
Scott Lahteine 0dccf9ea6a
Merge pull request from marcio-ao/pr-einsy-retro-tmc2130
[2.0.x] Fix TMC2130 DIAG1 active high, Einsy Retro
Marcio Teixeira 2efc072fdb Clear progress bar on completion ()
Fix 
GMagician 6ce060cfe0 [2.0.x] Update language_it.h ()
Updated to 
Marcio Teixeira 9356cf648f Added support for Einsy Retro
http://reprap.org/wiki/EinsyRetro
Marcio Teixeira 75037493fa Default active low for TMC2130 DIAG1 ()
- Added sanity check to inform users to set the endstop to inverting
  when using SENSORLESS_HOMING
Scott Lahteine e8e60263c8 Scale feedrate (mm/s to deg/s) for SCARA
Scott Lahteine 051303ad42 Russian language updates
From  by @anton-piliugin
Sean 2fa0a73c2c Implement filament change continuous purge
Scott Lahteine d133ad61f3 Add continuous purge to example configs
Scott Lahteine 4b25543633 Backtrace formatting cleanup
Bob-the-Kuhn 902c885782 Switch to TMC2130 compatible hardware SPI & misc ()
Scott Lahteine 1c36606886 Fix MSG_HEATING_FAILED_LCD_BED macro evaluation
Scott Lahteine fe91514395
MBL should add z_offset regardless of fade ()
Marcio Teixeira 8bc93c6f2b Improve heating/cooling LCD messages ()
GMagician 21a47b50f4 Additional tool-change fixes ()
Followup to 
Scott Lahteine f68b4265a6 Fix a probe pin definition
Yunhui Fu a019eebdd6 support utf8 unicode for test language ()
Scott Lahteine 656219d867 Add configs for Creality CR-8
Karl Andersson 7cbbc2af7a [2.0.x] Optional heater signal inversion ()
Marcio Teixeira 4d1a61335c [2.0.x] Fixed Makefile for Marlin 2.0 () ()
* Fixed Makefile for Marlin 2.0 ()

- Makefile now supports the new Marlin 2.0 directory hierarchy.
- RELOC_WORKAROUND is now automatically enabled based on avr-gcc version.

* Makefile support for U8glib and TMC2130Stepper

- Updated paths for oliver's U8glib 1.19.1
- Added option for teemuatlut's TMC2130Stepper 2.2.1
Scott Lahteine 241996d5d6
Merge pull request from thinkyhead/bf2_tool_change_debug
Scott Lahteine 4c79dc1093 Fix a Serial+EEPROM compile error
Fixes 
Scott Lahteine 93305a2d5e Fix some spellings
Scott Lahteine adcb87f0db Z Endstop Servo => Z Probe Servo
Scott Lahteine 4f0eafce8f Add more AVR boards to Makefile
Scott Lahteine 4a23069de9 Fix Ender 4 / CR-8 compilation
- Assign 243 (like EFB) as Ender-4/CR-8 board ID
- Add to `Makefile`
- Add to `pins.h`
Scott Lahteine 02f0f95d40
Handle disabled HYBRID_THRESHOLD in EEPROM ()
Scott Lahteine 9ec2c03c5b Fix likely error in retract/recover
Addressing 
Scott Lahteine 49f384a2ab Note about MKS_MINI_12864 in sanitycheck
Scott Lahteine 2672120a97 Do a small raise for all move-back
Scott Lahteine 5acccbacc1 Simplified leveling-based tool change
Scott Lahteine 1a75165f35 For set_z_fade_height use set_bed_leveling_enabled
Scott Lahteine d1734a089a Split up tool_change for some setups
Scott Lahteine a9f94f260a Some RADDS pin updates
Scott Lahteine 31df43212c Use lcd_printPGM_utf in more places
Fix 
Scott Lahteine 7d8a46519f Output ABC for delta stepper counts
Scott Lahteine 6098efcc59 Use float62 for LCD edit of Z Fade
Scott Lahteine f6d13e2295 Allow Z_SAFE_HOMING sanity checks to handle floats
Scott Lahteine 889fd5f71f Backtrace minor cleanup
Scott Lahteine 53f0c7522a Symmetrical FWRETRACT Z Hop
Do the Z lift normally before setting Z back to its prior value. But do the Z lower using spoofing. This should produce proper symmetrical movement.
Scott Lahteine ac7e97f4fe Change order of inactive stepper disable/enable
This ensures that steppers that share an enable pin will only be disabled for a miniscule time.
Scott Lahteine 55e9b85ad6 Clear the "Wait for user" message set by M0/M1
See https://github.com/MarlinFirmware/Marlin/issues/10246#issuecomment-377146936
Scott Lahteine b6a55f0891 Temporary workaround for tool-change compile error
Pending a more complete solution to tool-change Z deviation.
Scott Lahteine b852781eba Fix BLTOUCH compile error
Followup to 
AnHardt c1f58a238d No delay in sensorless quick homing ()
Scott Lahteine 1be955e52a Alert users about low Z jerk values
Scott Lahteine 9e4c037cef
Wait before turning off PRINTER_EVENT_LEDS at print end ()
Scott Lahteine 8b7381b626 Clear sensorless homing in home_delta after first move-to-top
Scott Lahteine dbe2b6f7b0 Do moves towards endstops differently in do_homing_move
Scott Lahteine d573a2cada Fix pins_RAMPS.h for 32-bit platforms
Followup to 436e5b7
Scott Lahteine f04be05a14 "G28 Z Forbidden" => "Home XY first"
Some languages will need to be updated for proper phrasing
Scott Lahteine a97624dd81 Allow pinsDebug "Analog in" long int
Scott Lahteine 7b8bb2519e Fix gcode_line_error call
Followup to 3007eee
Scott Lahteine aa20b3ef7c Fix linear/3-point manual leveling buffer overrun
Fixes 
Alexey Shvetsov cbdc78ec0f Fix STM32 compilation with PlatformIO ()
Scott Lahteine 9d2ea5d64b Undo German changes
See 941e9bd329 (commitcomment-28262166)
Scott Lahteine 2bc7f416ee Fix missing comma in tmc_sgt
Fixes 
Scott Lahteine 38378cd0e8 M218 with DELTA needs planner.h
Fix 
Scott Lahteine 3007eee22e Require a checksum when writing to SD
From  by @adriancuzman
Bob-the-Kuhn 9656a82609 Fix G53/CNC_COORDINATE_SYSTEMS compilation, Travis testing ()
Eduardo José Tagle 749f19e502 [2.0.x] Move backtrace to a shared location ()
- And implement the `backtrace()` function call
xC0000005 7dc256432f Restore STM32F1 series to working order. ()
The `_O2` attribute is no longer needed on the malyanlcd function, and the macros have broken timer numbers - reset this to a function to return the right device. Also fix the bit order cast in SPI.
Rob Power d1f14202a9 [2.0.x] NANODLP_Z_SYNC requires linear axes ()
Scott Lahteine b287560258 Fix say_M603
Scott Lahteine 436e5b7ea3 Apply spacing in pins files
Scott Lahteine 4d533b9baa Update bq Hephestos 2 probe offset
From  by @thopiekar
Bob-the-Kuhn 78df07ac71
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] DUE: Several fixes to the backtracker
etagle 8934a2c49b Added some missing Thumb instructions to the traceback follower, so now it is able to traceback through switch() statements
etagle 328edea03a Several fixes to the backtracer. Tested ant it works
Scott Lahteine aa6dacbbdf German update
Based on 
Yunhui Fu 8322a79bb9 update the UTF-8 C strings for Chinsee languages, for Simplified and Traditional Chinese ()
ejtagle 9a24c0ae3f Tons of fixes to the backtracker code, and also added an extra backtracker that does not require unwind tables to work and it is used if unwind tables are absent
Scott Lahteine a891af2f7a Enforce minimum TMC2130 / TMC2208 libs
Bob-the-Kuhn 75b381cd28
Merge pull request from Bob-the-Kuhn/sanity-check-fix
[2.0.x] Fix TMC sanity checks that always fail
Bob-the-Kuhn 433e984d1f move comment to fix compile error
Bob-the-Kuhn f7857ac8a8
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] DUE debugging: Solve WDT startup delay, add traceback & crash report uses programming port baud rate
Bob-the-Kuhn b756a15aba another needs to be deleted
Bob-the-Kuhn 50c81ebe0d remove check that always fails
Scott Lahteine 3ac135cef3 Enforce minimum TMC2130 / TMC2208 libs
Bob-the-Kuhn 8870f9b1da Fix M503 helper functions following TMC updates ()
Scott Lahteine bb7236a750
Z correction on tool-change for all HAS_MESH ()
Bob-the-Kuhn 509227fd80 change to mode 0
etagle c3b23974bd Added detection of case when no unwind tables are available
Scott Lahteine ea1a83ce41 Use pgm_read_ptr for tables of pointers
Scott Lahteine 9da0797e29 Fix EEPROM size of tmc_hybrid_threshold
Followup to 
teemuatlut daf643e1ce [2.0.x] TMC: Match axis label order ()
Roxy-3D 1628a9e864
make data declarations consistent
etagle b210bdf032 Now the Crash reporter uses the configured BAUDRATE to send the report through the Programming port. And also shows the traceback of functions as discussed. For that latest feature to work, you need to compile the project with -funwind-tables and -mpoke-function-name compiler flags
etagle c5730cf711 As Bob-The-Khun suggested, resetting the USB peripheral solves the huge startup delays that happen when a WDT reset happens and we are connected through the native port
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout ()
* Automatically reset stepper timeout in manage_inactivity

Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.

* blocks_queued => has_blocks_queued
Eduardo José Tagle 97e8a6ebd9 Various fixes for DUE... ()
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
Roxy-3D c3c264978f
correct truncated comment
Scott Lahteine 9fd1016bb1 Trust the bootloader to clear globals
Scott Lahteine 045ee28c50 Tweaks to M915
Scott Lahteine 987597532c For MK2_MULTIPLEXER undef DISABLE_INACTIVE_EXTRUDER
Fix 
Scott Lahteine ff304d3767 Allow G53 to go back to native space
Scott Lahteine bc45fb6b13 Tweak use of move_z_after_probing
Scott Lahteine c352954882 Allow no raise after run_z_probe in probe_pt
Scott Lahteine ae39fbd646 Also suppress keepalive with suspend_auto_report
Scott Lahteine 8dfaf1539e
Merge pull request from thinkyhead/bf2_eeprom_M913
[2.0.x] More complete Trinamic driver options
AnHardt 837ac2fdbd [2.0.x] Fix_Autotune_THERMAL_PROTECTION_BED_off ()
- Fix Autotune Thermal Protection
- Make 2 constants in autotune configurable
Bob-the-Kuhn 785dbfc72d [2.0.x] FASTIO consistency ()
Bob-the-Kuhn 7308ef7809 Add conditional, give DUE SPI a unique name, fix compiler warnings ()
teemuatlut b5b39af531 [2.0.x] TMC: Fix CURRENT_STEP_DOWN ()
Scott Lahteine a5c6d3c7b8 Prevent null pointer crash in Endstops::update
Thanks to Evgeny Kotsuba!
Scott Lahteine a46bac3100 Add 'I' parameter to M906/M913/M914; 'T' to M906/M913
Scott Lahteine cfc13ed7f3 Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS.
Scott Lahteine c95450016b Improve Trinamic support in the EEPROM
Scott Lahteine 48d7036874 Consolidate smart stepper driver initialization
Bob-the-Kuhn 53362b81cc Tone fixes/changes ()
Scott Lahteine dd2949922b Consolidate 3-point leveling point options
Scott Lahteine 1d22609473 MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS
Scott Lahteine eaefc1e410
Add CorePQ support for BABYSTEPPING ()
Scott Lahteine 72281c4ff9 Turn power off in `kill` instead of setting PS_ON to input
Scott Lahteine 9d99360912 Fix matrix.debug output
Eduardo José Tagle bbfbf90797 Fix for DUE - no host support on native USB if SD card not enabled ()
Scott Lahteine 772810fb24 Followup to PORTVAR patch
Scott Lahteine 978f342392 Reduce some tmc_util strings
Scott Lahteine fbdc5ad962 Prevent lcd_update stack overflow on SD Card change
Scott Lahteine c0d694d5d3 Squash UBL postscript comment
Scott Lahteine 93af8aa157
Fix home_delta for SENSORLESS_HOMING ()
Scott Lahteine 0543362b34 Don't init the tone timer if no BEEPER_PIN
Scott Lahteine c6ff39cc14 Spacing cleanup
Scott Lahteine 9e9e29ddf8 Einsy: Regular endstops and BLTOUCH pins
Based on 
Bob-the-Kuhn c79b53d406
Merge pull request from Bob-the-Kuhn/DUE-full-speed
[2.0.x] DUE - add full speed USB native port option
Bob-the-Kuhn 7f1afbfd60 can't type
Bob-the-Kuhn 23760d6c14 add full speed option
Bob-the-Kuhn cbcd1ed42d full speed
Scott Lahteine 6689884910 Easier override of ST7920 LCD timing
Scott Lahteine d603e655d3 Fix SWITCHING_EXTRUDER manual movement
Scott Lahteine 5f77816772 Reduce size of "only one" sanity checks
Scott Lahteine 8922b56b58 Fix some spelingz
Scott Lahteine a6feb58837
Delta support for multiple hotends with offsets ()
TheSFReader 2e43438e0c Add C parameter to M27 to include the long filename
In answer to 

Add an option to retrieve the currently open file name (long filename if possible).
Scott Lahteine 2168d6ac25 Allow NULL prepend in lsDive
Scott Lahteine 1e946d681d Update Marlin for newest TMC libraries
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
shaktee 63fc4a8521 BIBO2 default update and Cyclops config ()
etagle 404fc94705 DUE USB CDC: Do not send any character if no program on the PC is listening to them. This avoids Marlin waiting until the user actually opens a program that is able to consume the output of Marlin
Scott Lahteine 4aebe3d82e Pretty up EEPROM port args
Scott Lahteine 51bf3c9503 Fix E direction for MK2_MULTIPLEXER with LIN_ADVANCE
teemuatlut e6dcfa64b0 Cast SERIAL_CHAR to void in M122 ()
Marcio Teixeira c24dbcbfe1 When STATUS_EXPIRE_SECONDS is 0, hide the position. ()
Some users may prefer to hide the position updates on the `LIGHTWEIGHT_UI` altogether. This leads to an even less cluttered display (it also saves on SPI traffic and one byte of RAM).
Studiodyne e7a61de8af [2.0] FWRetract Reset (Best way) ()
Scott Lahteine f894209de2
Merge pull request from thinkyhead/bf2_trinamic_config
[2.0.x] Clean up Trinamic config options, sanity check
Scott Lahteine f1327fd5f9 Use lcd_goto_previous_menu_no_defer more
Scott Lahteine e7570f3195 Improve TMC config organization, naming
Scott Lahteine 374ea49be9 Revert marlinAnalogInputToDigitalPin
Scott Lahteine 34f656decd Add TMC2208 include in tmc_util.h
Scott Lahteine 07cf2cd9c4 Fix sensorless_homing_per_axis compile warning
Scott Lahteine b858c638ad Fix compiler warning for HAL_ANALOG_SELECT
Bob-the-Kuhn c4467da53a
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] DUE - add programming capability to native port
Scott Lahteine 65ce0303f8 Fix MKS_12864_OLED blank issue
Fixes 
Scott Lahteine 36452b4d6e Fix filename HAL/DUE/servotimers.h => ServoTimers.h
Scott Lahteine 14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) ()
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
Scott Lahteine 5dec828abc Add MKS_12864OLED to lcd_implementation_init
Followup to 
Scott Lahteine 468f34104b Patch do_blocking_move_to so 'destination' can be used
Scott Lahteine 5b45aab262 M218: report with no parameters
Scott Lahteine 18de11c1ea Followup to auto-assign of dual axis CS pins
ejtagle 703c8ac0ef Added Arduino-compatible kludge to the (ATMEL supplied) SAM3X USB stack we are now using so the Native port is also usable as a programming port on Arduino DUE and derived designs
Scott Lahteine 28f1276286
[2.0.x] Add Z_AFTER_PROBING option ()
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
Scott Lahteine dd19e74476 Cleanup trailing whitespace
@Bob-the-Kuhn — Please set your git options to remove trailing whitespace on commit.
Scott Lahteine d0ac0151b6 Fix typo in ubl.prepare_segmented_line_to
Scott Lahteine d385b9aac7
Auto-assign CS pins for X2, Y2, Z2 ()
Fixes 
Scott Lahteine bae1cb859c Patch flush_and_request_resend for 1.1.x parity
Scott Lahteine 51ebdf3b7d Finish scroll_screen with menu direction/multiplier
Fixes 
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix
Scott Lahteine 751785fc97 Followup to recent patches
- `M666` is static, not inline
- Disambiguate some stepper macros
Scott Lahteine a0211f5d6c Disambiguate else in stepper_indirection.h
Scott Lahteine f003173752 Fixup M666
Followup to d6df032
Bob-the-Kuhn bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h"
Sebastianv650 fd1d590726 [2.0.x] Silence M204 ()
`M204` is often used by slicers to set acceleration depending on perimeter, infill, etc., so Marlin's answers are flooding the serial windows. Silence `M204` according to the philosophy that setter commands should only send a reply if no parameter is given.
Scott Lahteine f10c87b442 Update Endstops class for 1.1.x parity
Scott Lahteine d6df0322c2 Update M666 for XYZ dual endstops
Scott Lahteine fbc41c0e98 Update Marlin G-code summary
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference 
Scott Lahteine ddce486360
Merge pull request from thinkyhead/bf2_unknown_z_no_raise
[2.0.x] Add UNKNOWN_Z_NO_RAISE to prevent Z grinding
Scott Lahteine 79e6d890d5 Add UNKNOWN_Z_NO_RAISE to example configs
Scott Lahteine 419d12ca1b Add UNKNOWN_Z_NO_RAISE option
With this option enabled, Z won't ever be raised until after `G28` has been completed, and it won't raise if Z becomes unknown. This is good for machines whose beds fall when Z is powered off.
Scott Lahteine 3b4c89e4b5 Move do_probe_raise closer to set_probe_deployed
…and limit the raise to Z_MAX_POS
Scott Lahteine 2908e76151 Fix position_is_reachable_by_probe typo, add comment
Fix 
Roxy-3D 26dc594ebb prevent steppers from turning off during manual probes
Bob-the-Kuhn d8eadf3796 fix ubl_G29.cpp Travis error
Bob-the-Kuhn 914bb80bde removed SDSS init
added device & comm drivers for shared SPI LCDs

mistyped some updates in ultralcd_impl_DOGM.h

remove unwanted changes in onfiguration.h

still can't type

Update HAL_LCD_class_defines.h

include USB mass storage & misc
Scott Lahteine 6d9ea7e184 Fix position_is_reachable_by_probe typo, add comment
Fix 
Roxy-3D 646dd5554c
prevent steppers from turning off during manual probes
Scott Lahteine 161ff9ff35 Fix UPDATE_ENDSTOP for CorePQ compatibility
Fixes 
Scott Lahteine 49ca67202f Patch configuration_store for extra serial port
Fix 
Scott Lahteine cc59ac4603 Fix _tmc_say_axis string address
Fixes 
Scott Lahteine 16a8edc5f0 Add more delay before pulse off in Linear Advance ISR
A capital idea from https://github.com/MarlinFirmware/Marlin/pull/9914#issuecomment-371614153
Scott Lahteine dfd5d2fe75
Have position_is_reachable_by_probe use the whole bed ()
Previously `position_is_reachable_by_probe` was limited to the area specified for `G29` mesh leveling (even if leveling was disabled). This change will properly consider the entire bed area so that `G30` and other non-leveling probing may take place.
Bob-the-Kuhn 67a17446f2 Fix DUE incompatible enum type specification ()
Bob-the-Kuhn 3c58ca181c [2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 ()
Scott Lahteine e297748b22 Apply const, safe_delay in servo.*
Scott Lahteine 3c2bfa5e53
Update powersupply_on in power_on/off ()
Fix 
Scott Lahteine 42608b1925 Init old_red to 127 to ensure initial change
Fix 
Scott Lahteine 317673fec3 Init watchdog last in setup()
Scott Lahteine 8d32fd997f Wrap NORM_E_DIR/REV_E_DIR macros in do{}while(0)
Scott Lahteine 1913c37a91 Tweak to manual move eindex arg
Scott Lahteine 98d48fc731 Followup to HAL_timer_restrain
Followup to 
Scott Lahteine 03e3011332 Fix compile error with MAX_MESSAGE_LENGTH
Fix 
Bob-the-Kuhn 6b4a928145 2uS default step pulse ()
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos
Scott Lahteine d45f19d385 Remove Unicode from var name
Scott Lahteine 224688cc3b Fix for unicode-ignorant gcc preprocessor
Chris Pepper a1a88ebabc HAL function to ensure min stepper interrupt interval ()
Scott Lahteine be0e100fed Fix sd subdirectory encoder position
Followup to 7e386c7
Bob-the-Kuhn 04dedc7ed8 always completely initialize display ()
Scott Lahteine 0149680f54 Fix compile error with char LCD
Scott Lahteine 9515e5aefb Fix LA_active_extruder (static)
Scott Lahteine e5ec793f7e Wrap stepper indirection macros
Sebastianv650 5b85464791 Fix for LA ()
Missed in the original LA 1.5 PR: eISR has to use a local copy of
current_block->use_advance_lead because it might still run wenn the last
block has been set to NULL.
Scott Lahteine 7e386c7e98 Fix encoder position for sddirectory
Scott Lahteine 1d604be671 Suspend auto-report during UBL map output
Scott Lahteine eb212ae073 Add suspend_auto_report flag to suppress auto-report
Scott Lahteine ffbf63e6af Add HAS_TEMP_SENSOR conditional
Scott Lahteine 94f5204629 Move AUTO_REPORT_SD_STATUS to SDSUPPORT block
Scott Lahteine 22a017a856
Rebuild SD file sort array on Stop SD Print ()
Thanks Chuck Hellebuyck.
Scott Lahteine 920d92aa46
Merge pull request from thinkyhead/bf2_tmc_util_progmem
[2.0.x] Move tmc_util.* extended_axis_codes to PROGMEM
Scott Lahteine b198b49d15 Followup to AUTO_REPORT_SD_STATUS
Followup to 
Scott Lahteine 2057177184 Make enums into implicit char
Scott Lahteine e28e3bb532 Move extended_axis_codes to PROGMEM
Scott Lahteine ca0def766e LIN_ADVANCE single stepper optimization
Scott Lahteine 8291ae34f2 Support duplication mode in LIN_ADVANCE
Scott Lahteine b08ec22fe1
Show E0-E4 in monitor_tmc_driver output ()
Fix 
Marcio Teixeira fd883c909a Improvements to Lightweight ST7920 status screen. ()
- Show units on lightweight status screen.
- Fixed progress bar so it works with M73
Scott Lahteine 0dd1c4458d
Put more code between pulse start and stop ()
Scott Lahteine f9cafc4001
Fix menu highlight glitch, tweak scrolling code ()
Scott Lahteine bf9fc8ac0e M851 - report only without parameters
Scott Lahteine eb867817b5
Prevent filament runout false positives ()
Scott Lahteine 36262a0479
Use static classes for job timers ()
Scott Lahteine 930720bbbb
Fix broken reverse planner ()
From  by @Sebastianv650
Bob-the-Kuhn 025118da3e Init print_job_timer in setup() instead of "early" ()
Scott Lahteine beeed580b8
Implement digipots for MKS SBASE ()
Fix 
Scott Lahteine 07ae23fe14 No pulse delay on last e_steps in advance isr
Scott Lahteine 881529a401 Fix - toDigital should show 00-99 hours
Scott Lahteine ed758de80d tweak comment in stepper.cpp
Scott Lahteine d1dc863962 autotemp_factor is not value_celsius_diff
See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822
Thomas Moore f3914a432e Clear retracted status when homing the Z axis
Scott Lahteine 6d7f4f84e2
Add board MKS_BASE_HEROIC ()
Followup to 

- Don't define micro-stepping pins for boards that lack them.
- Allow setting of 128 microsteps with `M350`.
Scott Lahteine 649f375494
Fix: M112 calling kill from interrupt ()
Fix 
Scott Lahteine c37b3f995a Sanity-check some graphical LCD-only options
Scott Lahteine a2a672449a Updated boot screen description
Scott Lahteine 61620cbd15 Tweak M211
Scott Lahteine 6e08ddce6e Correct M401 / M402 description
Studiodyne 23a576faf7 [2.0] Fix for FW retract ()
Ben Lye 461c8ef834 Fix DIGITAL_PIN_TO_ANALOG_PIN macro for Atmega1284p ()
Scott Lahteine 88b6a15b47 Update M900 verbiage
Ben Lye e2df286444 Update pinsDebug.h ()
Fix display of analog input value.
Scott Lahteine 91db7930dc Drop SCARA_FEEDRATE_SCALING
The updated planner takes the length of the move, so this pre-calculation is no longer needed.
Bob-the-Kuhn c1f4112bdc [2.0.x] Add 1284 support & misc. bug fixes ()
Scott Lahteine 118899357d
Add sanity checks to Linear Advance 1.5 ()
Scott Lahteine 1746749361 Followup to
Scott Lahteine a446433c87
Fix SENSORLESS_HOMING for Core Kinematics ()
Scott Lahteine 2d1233b86c Fix lcd_quick_feedback call for BTN_BACK
AnHardt eb8b758226 Fix some mapper, charsize problems ()
Scott Lahteine 8bffb26c23 Fix manual move position display
Manual moves now correctly include the workspace offset.
Scott Lahteine 8c03ce4d80 Fix Z safe homing sanity check for no probe
Fix 
Scott Lahteine c471389afb
Add Einsy Rambo pins ()
Zachary Hill c22f8dd660 Get duration_t in printcounter.h for its clients ()
Scott Lahteine 24b9c1923f ubl G29 tweaks
Scott Lahteine bd0967ad87 Fix BTN_BACK
Followup to 
Scott Lahteine d9a98b5814 Russian language update
From 
Ben Lye 461cb22069 Fix Zonestar / ADC keypad with RAMPS. ()
Scott Lahteine 35ec67885a
Add support for BACK button (RADDS) ()
Scott Lahteine 0bc4c216ac Patch up pinsDebug pins
Scott Lahteine cd7dc49527 Fix CR-10 status screen missing commas
Fix 
geigerg 4817c78a65 Add files via upload ()
TheSFReader eb079959fb Report sd card progress [FR] ()
* SD Status auto-report feature
Feature Request 
Scott Lahteine 7bdb98c946 Fix . Solution by @gloomyandy
Scott Lahteine 02474a321a Fix SDSUPPORT (and indentation)
Based on https://github.com/MarlinFirmware/Marlin/issues/8746#issuecomment-368471901 by @benlye
Scott Lahteine cfdcf91df5 Fix compile error with initTone
Scott Lahteine ae1a2ff16f Pins parity with 1.1.x
Roxy-3D 306f44198e Prevent serial buffer overrun in Pronterface
75ms might  be excessive...    But I know people are seeing problems with PronterFace as the client...
Scott Lahteine 966d9af98a Mesh export in Bilinear + UBL M503
Scott Lahteine 8d5a77001e EEPROM parity with 1.1.x
Scott Lahteine 2228dff3ea ubl.h compile flags from 1.1.x
Sebastianv650 cb4cb86d80 Useless line removed ()
nextAdvanceISR is set in the next if structure in every possible
situation, so it's useless to set it once more before.
Scott Lahteine f2c0ed193d
Add tone support for Due ()
Scott Lahteine 0557ab5780 Fix CONFIG_ECHO_START bug
In reference to 
Scott Lahteine 61688233c7 HAL style tweak
Scott Lahteine 19ba91f77a Fix lcd_custom_bootscreen compiler warning
Scott Lahteine f3dbe19669 Tweaks to HAL codestyle
Scott Lahteine 54c65fc3cb Standardize LCD buzz defaults
Scott Lahteine 4953fb1c88 Standardize encoder defaults
Scott Lahteine 078627f805
[2.0.x] Creality Ender-4 configuration ()
* Move Creality Ender-2 configurations
* Add Creality Ender-4 configurations
Scott Lahteine 5684beae90 Bring some configs up to speed
UtterlyD 813f9f3082 [bugfix_2.0.x] - LIN_ADVANCE V1.5 stepper.cpp ()
Removal of obsolete (i) from port of LIN_ADVANCE from V1.1.x to V2..0.x.
Scott Lahteine 3f89bbeab5 Drop a conditional only used once
Scott Lahteine 689bc99402 Correction to acceleration
Roxy-3D 92c8efdc96
Change Folger Tech i3-2020 defaults
Scott Lahteine 2024775e07
Spanish (UTF8) Language ()
From  by @MrAmericanMike
Scott Lahteine 43ff15244d Fix a progress bar condition
Scott Lahteine b8485528b2 Prettify LCD_PROGRESS_BAR options
Zachary Hill 4d588b2d6a Further fix of LCD_PROGRESS_BAR ()
Scott Lahteine e0227f2110 Fix *_CS_PIN for RAMPS_FD
Fix 
Scott Lahteine e65a853c59 Fix LCD_PROGRESS_BAR
Fix 
Scott Lahteine 07d7e8aa1b
Merge pull request from thinkyhead/bf2_g28_restore_leveling
[2.0.x] Add RESTORE_LEVELING_AFTER_G28 option
Scott Lahteine e749945317
Un-pause print on cancel ()
Scott Lahteine 17d984eab3 Add RESTORE_LEVELING_AFTER_G28 to example configs
Scott Lahteine b2cf253a13 Add RESTORE_LEVELING_AFTER_G28 option
Scott Lahteine 65519263f4 Fix broken LEVEL_BED_CORNERS
Fix 
Scott Lahteine 8f9262f3fe Fix path to _Statusscreen.h
Scott Lahteine 007c56f453 Fix HAL_STM32F1/endstop_interrupts.h
In response to https://github.com/MarlinFirmware/Marlin/issues/7076#issuecomment-367556982
Scott Lahteine 0542b03750 Fix bootscreen include path
Fix 
Scott Lahteine 2bd252b501
[2.0.x] LIN_ADVANCE v1.5 ()
Scott Lahteine 90fa423737
Preliminary cleanup of #include structure ()
Scott Lahteine a6b7e721cf Slovak language update
Scott Lahteine 2c9775313a Fix Z position on HD44780
Fix 
Studiodyne 9c9cd54ef3 Add Z Fade Height edit to UBL and Tune submenus ()
Scott Lahteine 3851ffce0f
Merge pull request from marcio-ao/pr-lite-st7920-status
[2.0.x] Light-weight status screen for ST7920 based printers
Scott Lahteine 5f8b2c2ff0 More descriptive environment error message
Scott Lahteine b17982bde9
Merge pull request from teemuatlut/bf2_compile_fixes
[2.0.x] Fix compiling with M600 and runout sensor
Scott Lahteine 799e3b2b40 LPC1768 HAL formatting/comments
teemuatlut 5968a3e60e Add ADVANCED_PAUSE_FEATURE include
teemuatlut 93cc3a8492 Make used methods public
Marcio Teixeira 13176dfe2f Merge remote-tracking branch 'origin/pr-lite-st7920-status' into pr-lite-st7920-status
Scott Lahteine 424b9a83cd Slovak language update
From @rmoravcik at 
Scott Lahteine e75ccfd727
Hatchbox Alpha Config with E3Dv6 ()
Scott Lahteine 556abc0888 Add LIGHTWEIGHT_UI to example configs
Marcio Teixeira 532bb3aaa1 Lightweight status screen for ST7920
- This status screen uses the ST7920 character generator to greatly
  reduce SPI traffic and MCU load when updating the status screen.

- Has been tested with the RepRapDiscount Full Graphics Smart Controller
  but should work with any LCD that uses an ST7920 or fully compatible
  controller.
Scott Lahteine 59c98d6fd5
Hephestos2 heated bed kit for all ()
Scott Lahteine 8c1a82c327
Merge pull request from ldkraemer/BF2CR-10Bootscr
[2.0.x] Creality CR-10mini configuration
Scott Lahteine 72f63a4980 Fix DOGM progress bar with LCD_SET_PROGRESS_MANUALLY
ldkraemer 6c3162f9c6 Add CR-10 Mini configuration
ldkraemer 4431f4deb8 Add CR-10S _Bootscreen.h
Marcio Teixeira e7f329edb2 Added bed corners to bed icon.
- This makes it look less like a dash (idea stolen from cjsoong).
Marcio Teixeira e84a5545e1 Removed unnecessary extended mode switch.
- This will slightly reduce the SPI requirements for
  updating the progress bar.
Scott Lahteine 343c17d5b3
Reduce Creality3D bootscreens flash usage ()
Scott Lahteine 63bc6ade4f Fix pinsDebug compile error
Roxy-3D d504bbbfa4 Fix botched check for being off the mesh...
Marcio Teixeira 716a22498f Changed temp type from uint8_t to int16_t
- Also deleted old implementation files which had been renamed.
Scott Lahteine 7d8c6b3f3c
Add 20x4 option for Sainsmart LCD ()
Scott Lahteine 1d7f5be0ff quick_home_xy sensorless homing
Scott Lahteine eb182c08af
Merge pull request from thinkyhead/bf2_random_fixup_branch
[2.0.x] Drop HAL_timer_set_count
Kevin 03b48df7bb RADDS: Add EEPROM Size ()
needed for UBL
Scott Lahteine 9f0907d40c Fix big edit font width calculation
Fix 
Marcio Teixeira 9d5968e8ec Fixed dual-extruder in Lightweight UI.
- Moved bed icon down when the machine is configured with two nozzles.
Scott Lahteine 4303f2e377 Fix MALYAN_LCD message bugs
Fix 
Replacing 
Scott Lahteine 12c5fdfdb5 Fix CYCLES_PER_MICROSECOND conflict on STM32F1
Scott Lahteine a810e585db Drop HAL_timer_set_count
Bob-the-Kuhn a823b801b8
Merge pull request from Bob-the-Kuhn/U8G-compile-error-2.0.x
[2.0.x] Move #include <U8glib.h> in ultralcd_st7920_u8glib_rrd_AVR.cpp (fix bug introduced in PR )
Bob-the-Kuhn 47d529aac5 move #include <U8glib.h>
Marcio Teixeira aada1e698f Removed unused configuration options.
Marcio Teixeira c7513eb032 Merge branch 'pr-lite-st7920-status' of github.com:marcio-ao/Marlin into pr-lite-st7920-status
Scott Lahteine 73cd34b121 Finish AUTO_POWER_CONTROL implementation
Followup to 
Scott Lahteine fc460fff94 Extend menu items for SWITCHING_EXTRUDER
Reference 
Scott Lahteine c4ec01d59b Conditionals for SWITCHING_EXTRUDER
In reference to . SWITCHING_EXTRUDER was not fully implemented for EXTRUDERS > 2.
Scott Lahteine d4e4fe40e0 Add SENSORLESS_HOMING delay to quick_home_xy
Fix 
Scott Lahteine 25e3e62354 Null-terminate lcd_status_message
Scott Lahteine a11fcd46a2
Merge pull request from Studiodyne/Studiodyne-filamentMulti
[2.0.x] Support multiple filament runout sensors
Scott Lahteine b3deadd898 Don't raise FIX_MOUNTED_PROBE on stow
Reference 
Scott Lahteine a74cece6d0 CR-10 Bootscreen
From @plainpylut in 
Scott Lahteine 8733d5a296 Add NUM_RUNOUT_SENSORS to example configs
Studiodyne d3ca82d8c2 Support for multiple filament runout sensors
Scott Lahteine 0106c3e476 Style tweak in MarlinSerialUSB_Due.h
Scott Lahteine 3d1692d1fd Fix X2 enable with X_DUAL_STEPPER_DRIVERS
From 
Scott Lahteine c241da32e8 stepper.h parity with 1.1.x
Scott Lahteine 3af988a7f3 Add sensorless homing delay to home_z_safely
Based on 
Scott Lahteine ca55f2927a
Pulldown pin mode support ()
Implemented for LPC1768.
Scott Lahteine aef9e036bf More overridable FIL_RUNOUT_PIN
Scott Lahteine 79272f98fc Proposed changes to ST7920 lightweight status screen
Marcio Teixeira 24eb275b99 Added a light-weight status screen for the ST7920
- The status screen uses the ST7920 character generator to greatly
  reduce SPI traffic and MCU load when updating the status screen.

- Has been tested with the RepRapDiscount Full Graphics Smart Controller
  but should work with any LCD that uses an ST7920 or fully compatible
  controller.
Scott Lahteine a6563df705
Sync pinsDebug_list.h between 1.1.x and 2.0.x ()
Scott Lahteine bab0e975c8
The ENDER can use BOARD_MELZI_CREALITY ()
Scott Lahteine 83d7e95de0
Add MSG_THERMAL_RUNAWAY_BED ()
Scott Lahteine 8ffa0b24a4 Strip excess G28 debug logging
Kevin 9019ea0fce Option to force X or Y to home first when homing the other axis
Scott Lahteine 60fc372211 Add CODEPENDENT_XY_HOMING to example configs
Scott Lahteine da7c51d820 Space out some pins lines
Bob-the-Kuhn e05673a379 [2.0.x] VIKI2 & RE_ARM changes ()
* VIKI2 & RE_ARM changes

1. Remove `DISABLED(SDSUPPORT)` from ST7565 in `ultralcd_impl_DOGM.h`. These LCDs share pins with the SD card and can run at the SD card rates.

2. Add SDSS definition to `pins_RAMPS_RE_ARM.h`.  Apparently the SDSS definition in `pins.h` is being processed before the one in `spi_pins.h` which resulted in not being able to read the SD card.
Scott Lahteine 7a381366aa
Merge pull request from benlye/benlye-m73
[2.0.x] Allow M73 without SDSUPPORT
Scott Lahteine 7d093edc18 Add Tronxy XY100 configuration
Based on 
Scott Lahteine 472229b974 Fix
Scott Lahteine f6cc89ec7c LCD_PROGRESS_BAR w/out SDSUPPORT for character LCD
blye 330437ad7c Update LCD_SET_PROGRESS_MANUALLY in configs
blye 168af8bacb Allow LCD_SET_PROGRESS_MANUALLY without SDSUPPORT
Scott Lahteine bf5df306e1 Fix compile error with SHOW_BOOTSCREEN disabled
Fix 
Fix 
Scott Lahteine 3021058e6d Fix non-UTF8 Czech language
Scott Lahteine bd54ce830a Include utility.h in neopixel.cpp
Scott Lahteine ff90cb409e No space for E2 with ReARM+RAMPS
Addressing 
Scott Lahteine d7f82c8ddf Drop extra avr/pgmspace include in _Bootscreen.h
Addressing 
Scott Lahteine 1bf2b1e475 Use serial macro in sd_mmc_spi_mem.cpp for Due
Scott Lahteine 241e55ef3b Apply SERIAL_FLUSH macro
Scott Lahteine 1f8f8c9104
Merge pull request from petrzjunior/bugfix-2.0.x
[2.0.x][Language] Update Czech (Advanced pause...)
Thomas Moore cff62042ee Fix LCD manual movement on kinematic machines ()
teemuatlut 749bc42aa9 TMC SGT is int8 ()
Bob-the-Kuhn 2d749d490b Fix / complete USE_CONTROLLER_FAN ()
Scott Lahteine 08d685c97a Followup to 21e60fd
Scott Lahteine c49844df66 !ENABLED => DISABLED
Scott Lahteine 304e0f8945 Followup to 21e60fd
`ENABLED` only works for flag-type options. Floats must use `#ifdef`.
Scott Lahteine 6a70a4fbb3
Fix G26 circles ()
Easier to configure. Catch an odd divisor.
Bob-the-Kuhn 349dafa728 config update (set to -1)
Roxy-3D 21e60fd3ed
Allow user to control Z-Height correction for off mesh movements ()
Petr Zahradník 5d9e16ea49 Update Czech advanced pause
Roxy-3D c78e1c0f23
Fix G26 Circles... ()
* Fix G26 Circles...
Bob-the-Kuhn b648999528
Merge pull request from Bob-the-Kuhn/RRD-8-bit-code-to-2.0.x
[2.0.x] Add delays to AVR driver for RRD Full Graphic Smart Controller
Marcio Teixeira 8db67d1647 Fixed compilation when using avr-gcc
- avr-gcc is more strict than the Arduino IDE, it seems.
Marcio Teixeira f05bd7f082 Added files missing from earlier commit.
Marcio Teixeira 4880ac6533 Added a light-weight status screen for the ST7920
- The status screen uses the ST7920 character generator to greatly
  reduce SPI traffic and MCU load when updating the status screen.

- Has been tested with the RepRapDiscount Full Graphics Smart Controller
  but should work with any LCD that uses an ST7920 or fully compatible
  controller.
Roxy-3D 3d74ff3c87
Cartesian UBL systems should not use SEGMENT_LEVELED_MOVES
There is significant downside to breaking up the long line segments on UBL Cartesian machines.   It adds a lot of extra computation but worse...  It cuts out all of UBL's off mesh Z-Height correction checks.    There have been a large number of people complaining about the nozzle going to infinity or crashing into the bed lately.   They are being caused by
```
void unified_bed_leveling::line_to_destination_cartesian()
```
not watching over the segments being queued up for movement.
Scott Lahteine 5dc04c5201 Fix
AnHardt 133b38b93b Complete M48 description ()
Scott Lahteine 93c0198b2d Init LCD welcome message programmatically
Scott Lahteine 67a4cc610b French update
Based on 
Scott Lahteine e7b50c89b0 Fix
FILAMENT_LCD_DISPLAY can work with SDSUPPORT
Scott Lahteine 8d71ad37cb flush comment to match 1.1.x
Scott Lahteine 272f132b82 Remove stray ` from STM32F1 HAL
As noted in 
Scott Lahteine 5b70d3da1c Update DIGIPOT_I2C_MOTOR_CURRENTS comments
Scott Lahteine 2ec65051fd Fix serial comment sp.
Bob-the-Kuhn 9a423e9a89 tested
Scott Lahteine d741bcf8a9 Tweak boards spacing
Scott Lahteine f8912bb19f French update
Based on  by @studiodyne
Scott Lahteine e6b8207b03 Restore welcome message
Scott Lahteine 89165326b4 Cleanup after vim and vigor
Scott Lahteine 423bf9955e Set Megatronics baud rate to 115200
Fix 
Scott Lahteine 377108619b Fix plan_arc clockwise (G2)
Fix 
Scott Lahteine 378867d894 Update PB Rev.F pins
Scott Lahteine 8e0c107545
Have Kossel Pro use Z_MIN_PROBE_ENDSTOP ()
Scott Lahteine 03d790451f
[2.0.x] HAL timer set/get count => set/get compare ()
To reduce confusion over the current timer count vs. the compare (aka "top") value. Caution: this re-uses the function name, changing its meaning.
Scott Lahteine 7a4029d1b1 Correct MOTHERBOARD for Geeetech i3 Pro X
Scott Lahteine 451fb16f9b Fix CYCLES_PER_MICROSECOND conflict
Scott Lahteine 3e384b60ce
Malyan M200 fix E0_AUTO_FAN_PIN ()
Fixes 
Scott Lahteine 33752de12d Update some outdated configs
Scott Lahteine 38c7d53bf7 Repair some spacing
Scott Lahteine e3043d7ac7 Fix
Scott Lahteine d3ddd5ffaa
Merge pull request from thinkyhead/bf2_more_tests
[2.0.x] Fix Power class
Scott Lahteine 7280fa1e31 Patch Power class
Scott Lahteine 4aff6c1c32 Tronxy X5S pins and configuration
Scott Lahteine 05aa75cecf Melzi boards use melzi pins
gege2b 5785bbb491 Updated french translation ()
GMagician 299606e4ae [2.0.x] Memory overflow protection ()
teemuatlut 5990266724 Init CS pins before loading settings ()
teemuatlut d3fdb44ad8 Update TMC section with SW SPI pins ()
Scott Lahteine 3168f0e646
Merge pull request from thinkyhead/bf2_prevent_comments_resetting
[2.0.x] Prevent watchdog reset due to many comments
Scott Lahteine 9be6aa3f79
Merge pull request from thinkyhead/bf2_reliable_probe_heaters_off
[2.0.x] More reliable PROBING_HEATERS_OFF with BED_LIMIT_SWITCHING
Scott Lahteine c0dd9ef9f2
Support for AnyCubic TriGorilla board ()
Scott Lahteine da693a636e Fix handling of escapes in serial input
Scott Lahteine cc9cef7f7a Fix HAS_CONTROLLER_FAN in is_power_needed
Scott Lahteine 112917cfef No EXTRUDER_RUNOUT_PREVENT during print
Scott Lahteine c30a8067ab Prevent watchdog reset due to many comments
Addressing 
Scott Lahteine b7053156fe Minor comment/condition cleanup
Scott Lahteine f64d300cfd
Sanity check SERIAL_PORT
Addressing 
Scott Lahteine 5a70887467
Size lcd_status_message based on language ()
Scott Lahteine 545cd8fa60 Tweak malyanlcd.cpp
Scott Lahteine e698998343 More reliable PROBING_HEATERS_OFF with BED_LIMIT_SWITCHING
shaktee 27faeafc1b [2.0.x] BIBO Cyclops ()
Scott Lahteine 2014d38e10 NEOPIXEL_BRIGHTNESS parity
Scott Lahteine 694d2ebec0 TMC SW SPI pins in Configuration_adv.h
Counterpart to 
GMagician 9854262334 [2.0.x] Fix compile warning ()
Scott Lahteine b639f1ad4b
Correct some retract() comments
Thomas Moore 1541224a81 Enable Z axis and delta sensorless homing ()
Scott Lahteine b2f8b4ada5
I2C position encoders update ()
Updating I2C position encoders to enable babystepping and Babystep XY when using the ecm microstep correction method. Also changed default method to ECM microstep.
Thomas Moore 93af0365e8 [2.0.x] Add support for Cohesion3D ReMix and Mini ()
* Add support for Cohesion3D ReMix and Mini
* Two separate pins files for pedantic reasons
Scott Lahteine 23240f7986 Fix sw serial pins for TMC2208
From  by @melvinisken
Scott Lahteine d42a87cb31 Update language Italian
From  by @tnw513
Scott Lahteine 2538f019d0 Update language Basque-Euskera
From  by @1138-4EB
Scott Lahteine d168ee9bed Drop leveling include from steppers.cpp
Scott Lahteine 09c8807a36 Minor formatting in queue.cpp
Scott Lahteine 704d33c374 Special override of LCD_WIDTH
Scott Lahteine b3f115fa0a
Marlin.ino needs no content ()
Scott Lahteine ca8fdff1af Comment G26 properly
Scott Lahteine 8558264514
Configs for Prusa i3 Pro B GT2560 Rev.A Plus ()
One without probe and one with BLTOUCH.
Scott Lahteine b5e92f4f90
[2.0.x] Enable / disable PSU automatically ()
Scott Lahteine eecb0188c0 Add ULTI_CONTROLLER to example configs
Scott Lahteine 16739264d3 Add UltiController v2.1 support
Add compatibility with the original screen bord from Ultimaker 2 printer (UltiController v2.1 with the PG-2864ALBP I2C display)
Scott Lahteine a8c4174a13 M100 comment
Scott Lahteine 38d62494ef Adjustment to DOG_CHAR_*_EDIT
Scott Lahteine 8a6feab1c4 Num-to-string functions for DEBUG_LEVELING_FEATURE
Scott Lahteine 766faa05a9
sp
GMagician f27c89980a [2.0.x] Simplify bltouch configuration ()
GMagician 338dac258b [2.0.x] Fix compiler error when G26 is enabled ()
Scott Lahteine 4ddb6a3a1f
Merge pull request from thinkyhead/bf2_malyan_clueless
[2.0.x] Malyan M200 LCD
Scott Lahteine 03bfc0d7c8
Merge pull request from thinkyhead/bf2_fix_G26_circle_bumps
[2.0.x] Change G26 circle angles
Scott Lahteine e5ee0b6f6c Implement MALYAN_LCD
Scott Lahteine b939a2e88c Watchdog conditional for LPC
Scott Lahteine 4925f60cff Add MALYAN_LCD to configs
Scott Lahteine 3a1225e438 Sanity check SENSORLESS_HOMING
Scott Lahteine 2ea4e74ed3 Misc. comments
Scott Lahteine aecf0c9bb9 Allow override of CS pins generally
Scott Lahteine 0891b58c30 #ifdef tweaks
Bob-the-Kuhn 428f164d02 [2.0.x] Bug fix - "M114 D" and Due (dtostrf C linkage) ()
Scott Lahteine 693843f1fa
Allow override of RAMPS CS Pins ()
ABH10 ac6bf7226a Update of comments in thermistor files. No functional changes. ()
Alexey Shvetsov da3a0d619c Add Selena Compact board ()
5-axis, high performance, powerful board with Smoothieware opensource firmware. Designed for 3D printer, Laser cutter or CNC mill. Five changed independent drivers on board. Two extruders 3d printer support.
Thomas Moore 786746404b [2.0.x] Apply feedrate to nozzle movement for kinematic machines ()
Scott Lahteine 5364b92c37 Drop obsolete string
shaktee 34624cf399 [2.0.x] BIBO TouchX configuration ()
Bob-the-Kuhn 3d72fe0730 snapshot
Scott Lahteine 33ec599ca0 Tweaky LPC1768 SPI spacing/style
Scott Lahteine c46de340b7 Clean up trailing whitespace
Thomas Moore e1fd9c08b3 [2.0.x] Add support for LPC1769 at 120 MHz ()
GMagician 6ace57e1b0 [2.0.x] remove duplicated include ()
This was present in  but lost
GMagician 9e13d1fad5 [2.0.x] Fix temperature out of LCD ()
Fix bug introduced in 
Scott Lahteine e6cdc438fd Change G26 circle angles
To prevent the nozzle from colliding with the printed pattern.
Scott Lahteine a8764ac5d5 G26 parity with 1.1.x
Manuel Valentino 374f2a5e16 [2.0.x] Fixed wrong information about TMC2208 wiring ()
Bob-the-Kuhn a0570ff1eb Fix caselight on Due ()
Scott Lahteine b13099de3f General cleanup of HAL code
Scott Lahteine 9b9350e010 Fix jerky Z motion between probes
Suggested by 
Scott Lahteine d6e29e9597 Update French language
Based on  by @nikkoura
GMagician e1117a8492 [2.0.x] fix compile errors when CNC_COORDINATE_SYSTEMS is enabled ()
GMagician ea9ad4e46d [2.0.x] Fix compile error on delta when NO_WORKSPACE_OFFSETS ()
Scott Lahteine 79796b22ad Fix up _Bootscreen.h and _Statusscreen.h
Bob-the-Kuhn 21179f8300 Fix the "slow" version of the G-code parser
Scott Lahteine c251601916 Simplified SET_BIT, moved to endstops.cpp
Scott Lahteine eb18ae9003 Define LSBFIRST / MSBFIRST for LPC
Scott Lahteine f8227abf1c
Merge pull request from tcm0116/2.0.x-retract
[2.0.x] Clear retracted status when homing the Z axis
Scott Lahteine ea5f91737f
Merge pull request from studiodyne/studiodyne-pause
[2.0.x] Pause resuming fix
teemuatlut 5c69d45f5b [2.0.x] TMC2130 support for LPC platform ()
Scott Lahteine 34160806c0 Fix broken G29 W I J
Scott Lahteine f5cfdf6efe Use _BV32 to avoid name conflict
Scott Lahteine 6339b506c0 Make sure binary.h is included as needed
studiodyne 51d080d2c1
Update Pause
Thomas Moore 7035471982 Clear retracted status when homing the Z axis
GMagician 6d4bc9a1f8 [2.0.x] Fix SD wrong filename list ()
If last file in directory has short filename and is preceded by a deleted long file name. SD menu will wrongly report long deleted file name as last entry
Bob-the-Kuhn c6e01ebd52 never mind ...
Bob-the-Kuhn ab709ccac1 add USEABLE_HARDWARE_PWM & clear up some compiler warnings
Scott Lahteine fc5c1a28d8 Fix M118 parameter parsing
Scott Lahteine 399bca316a Fix has_value with FASTER_GCODE_PARSER
Scott Lahteine 80d3ded895 Change parser codebits from array to int32_t
Scott Lahteine 053b1371c7 Simplify G-code debug option
Scott Lahteine 608f8b10da Parser val method parity with 1.1.x
Scott Lahteine 2bea1bda56 Move more strings to PROGMEM
Scott Lahteine 58671e1bc1 Marlin must override _BV for 32-bit masks!
Scott Lahteine 45cfb16424
Merge pull request from tcm0116/2.0.x-TwoWire
[2.0.x] Master-only TwoWire (I2C) class for LPC1768
Scott Lahteine 1dcfe193ac Optimize some serial strings
Scott Lahteine 9644fe1839 Lightly optimize arc length calculation
Scott Lahteine c9bda932fe
Patch M114 D logical output
Scott Lahteine e5ca60acf5 Patch G29 no_action for A and Q
Scott Lahteine 696f8eb4c6 Include Z Fade in log_machine_info
Scott Lahteine 3217da6fa5 Followup patch for TMC stepper init
Scott Lahteine db031d5d76 Add missing SoftwareSerial begin for TMC2208
Based on 
Thomas Moore 3db35ba9be [2.0.x] Fix change filament for delta machines ()
Scott Lahteine 2ebf52e57d Fix Skew Correction pre-calculation overflow error
Scott Lahteine adb2ac4747 Fix skew settings report precision
Scott Lahteine 205c5fa078
Merge pull request from oysteinkrog/fix/DualX_Endstops
[2.0.x] Fix DUAL_X_CARRIAGE endstop tests
Scott Lahteine 90d011cc48 Use ADD_PORT_ARG for all cases
Scott Lahteine 51c7b5d46f Fix set_home_offset bug from bad porting
Scott Lahteine b1cd012aa6 Clean up and document load/unload/pause/resume
Scott Lahteine 266086670b Better LCD message when heating needed
Scott Lahteine a718f5bdf3 Don't run `M600` on filament runout if the nozzle is cold
Scott Lahteine 61bf8478a2 Add hotEnough methods
Scott Lahteine 7a52dfad55
Merge pull request from thinkyhead/bf2_jgaurora_configs
[2.0.x] Add JGAurora A5 support
Chris Pepper f875f49caa [2.0.x] LPC1768: Fix: Serial pins disabled correctly when in use ()
Scott Lahteine c63cffca7f Add example configs for JGAurora A5
Scott Lahteine 7d6c009104 Add thermistor 15 tuned for JGAurora A5
Scott Lahteine 582d073de1 Patch up digital microstepping and SPI CS pins
Scott Lahteine ab8a1a2a0d Sync gCreate gMax1.5+ config with 1.1.x
Scott Lahteine f9dbd4d9f4 Updated FolgerTech i3-2020 config
Scott Lahteine 348b454401 Probe bounds based on bed size
Bob-the-Kuhn a440522f84
Merge pull request from Bob-the-Kuhn/DUE-pins-debug
[2.0.x] PINS_DEBUGGING maintenance
Scott Lahteine 58ed9901d7 Consistent NEOPIXEL_TYPE options
Scott Lahteine 382a5e3318 Clean up trailing whitespace
Øystein Krog 441517bbe1 Fix DUAL_X_CARRIAGE endstops
\#8170 fixed
Scott Lahteine b46932f0c0
Merge pull request from thinkyhead/bf2_creality_tuneup
[2.0.x] Fix and improve Creality configs
Scott Lahteine 49bcb5ce2d
Merge pull request from benlye/lcd-timer
[2.0.x] Fix LCD timer string length
Scott Lahteine 07db5638e2 Add a heating indicator X offset
Scott Lahteine c68ce8667d Fix and improve Creality configs
Scott Lahteine 8190fdb260
[2.0.x] Option to use Neopixel as case light ()
* Add option to use Neopixel as case light

* Apply CASE_LIGHT_USE_NEOPIXEL to example configs
GMagician 9b519864bf [2.0.x] Relative movements fix ()
Scott Lahteine 887664aa61 Restore broken Dual X Carriage
Scott Lahteine fb044b6a64 Fix HAL_timer_set_current_count for STM32F1
Scott Lahteine a8638aa20d Update STM32F1 timer code to use libmaple bb_perip
Scott Lahteine 2e2fd8fd79
Merge pull request from tcm0116/2.0.x-delta_softstops
[2.0.x] Allow DELTA to compile with soft endstops disabled
Scott Lahteine 750cc02b3a
Use delay() in serial temp report
Scott Lahteine 9de8c04945
Allow FIL_RUNOUT_PIN override on RAMPS-based boards
Scott Lahteine 57b61491d3
Set FIL_RUNOUT_PIN for Creality CR10-S
Tested with M43 and found to be connected to DIO 2
Scott Lahteine 4a4d832344
Use standard encoder pulses/steps for CR-10S
Thomas Moore 44239b1062 Allow DELTA to compile with soft endstops disabled
Scott Lahteine 4bc4351250
Date refresh
Scott Lahteine 303d792b9f
Merge pull request from tcm0116/2.0.x-mks_sbase
[2.0.x] Cleanup MKS-SBASE compile warnings
Scott Lahteine afec16e644
Merge pull request from tcm0116/2.0.x-eeprom
[2.0.x] Follow-on to 
Scott Lahteine f2ea8a0529
Merge pull request from p3p/pr_bf2_operation_freemem
[2.0.x] LPC1768: Free up some RAM
Scott Lahteine 0c176c677e
Merge pull request from GMagician/2.0.x-ramps-pins-fixup
[2.0.x] Expand RAMP case light possibilities
Scott Lahteine f2d09f27bb
Merge pull request from GMagician/2.0.x-bed-temp-limit-fix
[2.0.x] Standardized max temp values
Bob-the-Kuhn 16eb966ee3 PINS_DEBUGGING cleanup for DUE
Thomas Moore 63fd23ab1c Cleanup MKS-SBASE compile warnings
Bob-the-Kuhn 11e68541b0
Merge pull request from Bob-the-Kuhn/TMC2208-sanity-check-2.0.x
[2.0.x] add TMC2208 sanity check to AVR
Thomas Moore 429e6ba8a6 Fix lcd_preheat dummy variable types
GMagician 719cd53e09 Standardized max temp values
Everywhere in menu items temperatures are "defined value" subtracted by 15.
In one place is subtracted by 5
Bob-the-Kuhn 0ea9cdf4f2 TMC2208 sanity check
Roxy-3D 7c469c0712
Suggested change to fix Due compile problem
Roxy-3D bfd9728cf4
Serial buffer over run work around for v2.0.0 ()
* Work around for serial buffer over run

PronterFace sends a lot of M105 commands.  During long operations such
as UBL's G29 P1, G29 P2, G29 P4 and G26 this can over run the serial
buffer.   This results (very often) in a M1 (actually a M1M105) ending
up in the command queue.

Until we figure out a better way to resolve this issue, this will keep
the UBL commands from experiencing bogus commands at thier completion.
GMagician c371bdc499 Expand RAMP case light possibilities
Pin 6 is only used by servos when 2 or more of them are used
blye 7c18c2ea5f Fix LCD timer string length
Roxy-3D 9d0cf02fef
Correct mesh size calculations
Scott Lahteine c7bad74d8f
Merge pull request from benlye/m73-bugfix
[2.0.x] Fix progress bar duration when time is exactly 86400s
Roxy-3D af9b32e3b9
Give PronterFace time to print the UBL What information...
Give PronterFace time to print the UBL What information...
Roxy-3D acb1e31374
Fix UBL Mesh Size regression
Roxy-3D f5f1b069ad
Convert UBL mesh tilting to all use the same algorithm ()
A number of regressions were patched also. The UBL G29 P2 and P4 Press and Hold had stopped working. It is very possible this is broken in the bugfix_v1.1.x branch also.

The main purpose of the Pull Request is to get the 3-Point mesh tilting to use the LSF algorithm just like the grid based mesh tilt. This simplifies the logic and reduces the code size some what. But the real reason to do it is the 3-Point case can be solved exactly. And by feeding these numbers into the LSF algorithm it provides a way to check all that code for 'correctness'.
blye 554d849827 Fix duration when time is exactly 86400s
Christopher Pepper 6f1bf5d212 LPC1768: Config: default to SDSORT_LIMIT = 64 instead of 256
Christopher Pepper 1e65562d55 LPC1768: HAL: only initialise used HardwareSerial ports
Misc formatting
Roxy-3D 9dacd54a50
Get FT-i3-2020 configuration files into compliance with ?_BED_SIZE
Scott Lahteine d178d6e921 M503 patch for EEPROM_CHITCHAT off
Fix 
Scott Lahteine fa432508b0 Followup to Ender config
Thomas Moore 6856eccc77 Master-only TwoWire class for LPC1768
Scott Lahteine d5bf9e74c4
Merge pull request from p3p/pr_bf2_more_adc_filter
[2.0.x] PID control fix and more LPC1768 ADC filtering
Scott Lahteine 4d2f277d43
Merge pull request from psavva/tmc_debug_compile_fix
[2.0.x] Fixes TMC_DEBUG compilation error
Scott Lahteine 43d3d024ac
Update tmc_util.cpp
Panayiotis Savva ad500b01e0 Fixes TMC compilation error
Scott Lahteine f4e4c7a7c8
Merge pull request from thinkyhead/bf2_creality_ender
[2.0.x] Add Creality Ender config/board
Scott Lahteine 2038722c52 LARGE_FLASH obsolete
Scott Lahteine f887719a40 Creality Ender board support
Scott Lahteine 9a2dd0bc5a Creality Ender 2/4 configuration
Scott Lahteine 2c18faf3e4 General cleanups for HAL
Scott Lahteine 42933c804a Cleanups for STM32F7
Morten a0246c5c96 Add support for STM32F7 MCU
Scott Lahteine a27fa80a7e More featureful CR-10S configuration
Scott Lahteine 1a3d2ad275
Merge pull request from marvin-sinister/rename-M100-2.0.x
[2.0.x] Rename M200 pins file to uppercase
Scott Lahteine a408209d24 More reliable temperature serial report?
Scott Lahteine 5f807e37c5 A second rename saves nine
Scott Lahteine 3ae41e5f7f
Merge pull request from thinkyhead/bf2_anti_stutter
[2.0.x] Ensure smooth printer movements
Scott Lahteine 02ff12d491 More up front option to show SD percentage
Scott Lahteine 3b15c88225
Merge pull request from thinkyhead/bf2_malyan_support
[2.0.x] Fix support for Malyan M150
Scott Lahteine e753d6298f FLSUN Kossel example configs
Scott Lahteine 77c2d810f9 Bring configs up to date
Scott Lahteine 3952070800 Link to marlinfw.org boot screen tool
Scott Lahteine 0cd397a3f8 Add instructions for Malyan M150
Scott Lahteine 344ebc3bd2 Create and use pins_MELZI_MALYAN.h for Malyan M150
Scott Lahteine 094e9b1dab Remove ARDUINO_ARCH_SAM from serial.h too?
Scott Lahteine c37d38886c Fix serial.h avr block
Followup to 
Scott Lahteine 4f5e087ff4 Planner anti-stutter by Sebastian Popp
Scott Lahteine ac368f2788 Add STEPPER_ISR_ENABLED() to HALs
Some also get a `HAL_timer_interrupt_enabled` function.
Scott Lahteine 5578dccaa0
Merge pull request from tcm0116/2.0.x-eeprom
[2.0.x] Fix EEPROM SettingsData for 32-bit architectures
Scott Lahteine 6ba8cf8405
Merge pull request from GMagician/2.0.x-SD-issues-fix
[2.0.x] sd issue fix
Marvin Sinister 50c55b25f7 Renamed to upercase
GMagician 6667a916a4 Indentation fix
GMagician be717b3c07 Save some program memory
This will save some program memory with no speed lose
GMagician f37c64ee5b Fix unsupported CMD59
It seems that some SD cards don't support CRC_ON_OFF command. This fix will permit to use also these cards but leaving CRC check active on the system
Thomas Moore cfd989d7c5 Fix EEPROM SettingsData for 32-bit architectures
Bob-the-Kuhn da600e5fbe
Merge pull request from Bob-the-Kuhn/add-VIKI2-to-Travis
[2.0.x] add VIKI2 test to Travis & fix LCD contrast (again)
Scott Lahteine 742cff5f3c Followup to
Thomas Moore 84de428d30 [2.0.x] Fix compile errors ()
* Update persistent_store_impl.cpp
* Remove define BYTE from serial functions since Arduino docs typically show 0 for the normal case.
Bob-the-Kuhn e633ce06c7 LCD contrast type mismatch is back
WORKS!
Scott Lahteine e654ea1e1a
Merge pull request from thinkyhead/bf2_tmc_followup
[2.0.x] More TMC followup
Scott Lahteine 8ac246162e Creality CR-10S configurations
Provided by printedsolid.com
Scott Lahteine 048486390e Bring some configs up to date
Scott Lahteine 6a043eee55 Various updates for TMC support
Scott Lahteine d7fd78cb91
Merge pull request from tcm0116/2.0.x-multi_host
[2.0.x] Add multi-host support
teemuatlut a8c446c3bc [2.0.x]DUE: Fix includes for SDSUPPORT ()
Thomas Moore f7efac57b7 Multi-host support
Thomas Moore dabb75034c Update example configurations
Bob-the-Kuhn 6a50adb4d5 works
Scott Lahteine 5c076a6d93 Improved M915 description
Scott Lahteine a94104dbb5
Merge pull request from teemuatlut/TMC_followup
[2.0.x]TMC followup
Dave Johnson 554e577676 SERIAL_STATS_* features not supported on USBCON targets ()
Dave Johnson 2db666e99a Enable USE_ZMIN_PLUG on SCARA example ()
Scott Lahteine 7e000e6af4
More EEPROM field debugging ()
GMagician 3a99dc7c5c 2.0.x Fix compiler warning ()
Fix duplicate language define warning
GMagician 5295b4713d [2.0.x] add semitec 104NT-4 ()
Table is very very similar to old 104-GT2 so I added only the name and recycled old ID
teemuatlut cdc61ebf53 Add M915 configuration option
teemuatlut 9d923c6c03 Fix TMC gcode commands
Scott Lahteine 99516572b1 Fix TMC current read from EEPROM
Tannoo f26805e862 [2.0.x] UBL Mesh Storage Message ()
Christopher Pepper 14dcad6bbc LPC1768: Increase ADC median filter from 3 values to 23
Clarify the HAL_adc_get_result method to make sure correct values enter the filters

HAL: Fix the PID control loop for non-AVR platforms
Scott Lahteine 60d07f20e7 Make mbl.has_mesh() a method
Scott Lahteine 86818c9a89 Move MBL functions into the class
Unknown bbb8d4c802 Set has_mesh if user issues G9 S3
Prevents user from having to manually run through entire manual leveling process only to enable mesh so they can manually restore their offline mesh backup
Scott Lahteine 2b5a9be49c
Fix M503 skew output
Followup to 19e75ccf86
Scott Lahteine cf2922f164 Laser/spindle PWM off on M5
GMagician 5fb6dd1424 Bmp fix
Clockwise arrow fixed
Bob-the-Kuhn cb0e826c5d
Merge pull request from Bob-the-Kuhn/SD-detect
[2.0.x] SD card detect improvement
Bob-the-Kuhn f72b0a7b04 1234
Scott Lahteine 702c8acdd5 Settings FIELD_TEST fix
Scott Lahteine e89f1453ab UBL G29 works without settings.load()
Scott Lahteine 950be70a33 Add FIELD_TEST to validate storage
Scott Lahteine 760c912ab9 Add data size validation
Scott Lahteine b91ca168fb Add a struct defining EEPROM storage
Scott Lahteine 51e0f2bee3 Add MarlinSettings::validate()
Scott Lahteine 878f54c27b Write filler with NO_VOLUMETRICS
Scott Lahteine 3ea6745b36 Pretty up TMC current write
Scott Lahteine 3319765034 Detab some HAL files
Scott Lahteine 1c41de16d4 Trailing whitespace clean
Scott Lahteine 1746a7352e
Merge pull request from thinkyhead/bf2_M701_M702
[2.0.x] Improved Pause/Load/Unload, M701-M702
Scott Lahteine 048d8a0158 CheapTRONIC v2.0 additions/revisions
Based on 
Roxy-3D 3a4e107b6b
use SERIAL_EOL(); instead of new line string
Roxy-3D a5dfe08a81
Add precision to planner.xy_skew_factor so it doesn't print as 0.00
Roxy-3D 19e75ccf86
Add enough precision so planner.xy_skew_factor doesn't print as 0.00
Scott Lahteine 4fb60e1562 M702.cpp => M701_M702.cpp
Scott Lahteine 7541316bb4 Add M701/M702 Filament Load/Unload, M603
Scott Lahteine 81211da7b4 M701 / M702 language changes
Scott Lahteine 8704e533da Apply FILAMENT_LOAD_UNLOAD_GCODES to example configs
Scott Lahteine 455592eee8 Improvements to LCD menu macros
Scott Lahteine a80f2eea23 Group leveling reports for folding
Scott Lahteine 190cd0a111 Nozzle park args
revilor 0e93506985 Fix for issue , - Bed PID autotuning ()
Bob-the-Kuhn 016e46a3c0
Merge pull request from Bob-the-Kuhn/Due-RRDFG-power-up-garbage
[2.0.x] Due - fix power up garbage on RRDFG LCD
studiodyne 31582caa07 2.0 Fix for bad Pause extruder position resuming ()
Bob-the-Kuhn 4626d04067 as good as i can get it
minor edits to force new Travis test (last one timed out)

Update u8g_com_HAL_DUE_st7920_sw_spi.cpp

initial power up display garbage gone
Scott Lahteine 4af3d436b2 M303 pid autotune cleanup, commentary
Bob-the-Kuhn e5b71af8c9 snapshot
found a few more nasties
Scott Lahteine 724e3f33bc
Merge pull request from Tannoo/(2.0.x)_LCD_EEPROM_init_fix
[2.0.x] EEPROM init fix
revilor 959a2d2527 Add beginTransaction to HAL SPI ()
Tannoo e43f3ac989 EEPROM init fix
Scott Lahteine fc67c64b8f
Merge pull request from tcm0116/2.0.x_ubl
[2.0.x] Fix UBL compilation warnings
Thomas Moore 8afc4f8d9d Fix UBL compilation warnings
Bob-the-Kuhn eca5cc8669
Merge pull request from Bob-the-Kuhn/Due-PINS_DEBUG-&-related
[2.0.x] add Due PINS_DEBUG support & misc improvements (replaces PR )
Bob-the-Kuhn e9fc7bc69c
Merge pull request from Bob-the-Kuhn/2.0-LCD-contrast
[2.0.x] lcd_contrast type mismatch work around
Bob-the-Kuhn 5574fad69c copy of PR code
Formatting tweaks

correct array initialization & remove test code
Scott Lahteine d190c702de
Add MKS_BASE Microstepping pins
Based on 
Scott Lahteine 5e01ee8adf Temperature updates for parity with 1.1.x
Bob-the-Kuhn adb9ecf3cc copy of PR
Roxy-3D 39e5fabfa9
Z BabyStepping should not be dependent on a bed leveling system being active
Bob-the-Kuhn ef911a2d12 works
Scott Lahteine d80c4f1a6e Fix typo in delta call to buffer_line
Fix 
Scott Lahteine 9312ee63b0
Merge pull request from thinkyhead/bf2_sync_up_configs
[2.0.x] Synchronize configs with 1.1.x
Scott Lahteine 41dfb229ec
Merge pull request from thinkyhead/bf2_slimming_option
[2.0.x] SLIM_LCD_MENUS option
Scott Lahteine 3dd04736c0
Update M17_M18_M84.cpp
Scott Lahteine 2929c9e56f A specific option to SLIM_LCD_MENUS
Scott Lahteine 10edb469bb Apply SLIM_LCD_MENUS to example configs
Scott Lahteine 5294fd132f
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] Improve SW SPI for DUE a bit more
Scott Lahteine 0b4a46fa6c Bring configs up to date with 1.1.x
Scott Lahteine 7cc2193bce
Add Tronxy X1 example config ()
etagle 729a9f55fc Improved Sw SPI on DUE HAL a bit more.
Now the USB MSD can transfer at 750k/s. Previously, it was 500k/s. I think this is the maximum achievable speed using Sw SPI.
Scott Lahteine 615146c069 Enqueue commands better in ultralcd.cpp
Scott Lahteine 9686ffedef Single pause flag also indicates SD print pause
Scott Lahteine 6d94bbf618 Apply some PGM_P pointers
Bob-the-Kuhn cba44128d5 fix include
Scott Lahteine 427df8792d Fix Capabilities Report
Scott Lahteine 2526ac6500 Display up to 3 extruders on char LCD
…and show bed level indicator at the position of the [H] icon, when a heated bed exists.
Scott Lahteine db32c185ae
Merge pull request from Bob-the-Kuhn/2.0.x-DUE-RRDFGSC
[2.0.x] DUE - update for Reprap Discount Full Graphic Smart Controller
Scott Lahteine 9ecdd1f4c7 Multi extruder support for M600 and LCD
Scott Lahteine a1ce6e8ff4 Clear lcd_clicked immediately on use
Scott Lahteine 5effe1590c Fix NO_VOLUMETRICS bug
Scott Lahteine f163eede78 No sub-menu if NO_VOLUMETRICS
For parity with 
Scott Lahteine 2c4e03d2cf Indentation of a SW SPI file
Scott Lahteine 1a827d5b68 Opening brace tweaks
Bob-the-Kuhn a142fab155 Enable RRDFGSC on Due
Scott Lahteine b259bb4670 Fix tmc_util global vars
Scott Lahteine 4ef965cc40 Fix compiler warnings
Scott Lahteine 9e8008c49c Fixes for G29, esp. 3POINT
Scott Lahteine 026e301307 lcd_map_control deps on ULTIPANEL
Scott Lahteine f2731c9f93 Allow consecutive uses of G29
Scott Lahteine 4b49ea1e92 General cleanup of config-store, reset_bed_level
Scott Lahteine 2925852244 Fix GT2560 A+ servo pin
Scott Lahteine c6354fa153 Tweak M125 code
Scott Lahteine 3b51f5c67e Add pause/resume action to example configs
Scott Lahteine f704f405af Add pause/resume actions on M600, M125
Thomas Moore f0a8a1a853 [2.0.x] Use NOZZLE_PARK_FEATURE for ADVANCED_PAUSE_FEATURE ()
* Use NOZZLE_PARK_FEATURE for ADVANCED_PAUSE_FEATURE
Scott Lahteine 705ea98fd3 Comment `return false` in motion functions
Scott Lahteine 50366b00d5 Tweak cleaning buffer / SD finished command
Scott Lahteine 28fc8741d6 Reduce default jerk. XY by half. Z by 1/4
Bob-the-Kuhn 1a948cbd93 Fix SET_OUTPUT glitch - LPC1768 & DUE
Scott Lahteine 869c89d83f
Merge pull request from thinkyhead/bf2_more_scara_scaling
[2.0.x] SCARA Feedrate Scaling for G2/G3 - using HYPOT
Scott Lahteine 1cf1cf8759 Add RADDS_DISPLAY to example configs
Even ea1a8d1223 add original RADDS LCD + Controller
adds setup for the original Radds Display+Controller+SD Card Reader PCB
http://doku.radds.org/dokumentation/lcd-display/
Scott Lahteine 4a8fd8ae92
Merge pull request from ejtagle/bugfix-2.0.x
USB Mass Storage Implementation / CDC with HW flow control and misc fixes and improvements for Arduino DUE/RE-ARM based boards
Scott Lahteine aa97cd6e9b
Merge pull request from petrzjunior/bugfix-2.0.x
[2.0.x][Language] Update Czech for Dec 2017
Thomas Moore 2917d1217d Revert "Followup to #8698"
This reverts commit 4e891e9fb7.
Petr Zahradník 69a51a426c
Update Czech language Dec 2017
Scott Lahteine caa5093498 General DELTA_IK macro
Scott Lahteine c694608450 Apply SCARA_FEEDRATE_SCALING to G2/G3
Scott Lahteine 97d509d4d2 Revert "Improved Core-compatible jerk code"
Reverting commit 3cd7659
Scott Lahteine 5bc2acc072 Restore position_float to fix LIN_ADVANCE
etagle 33a6fc70e4 Adding USB MSD implementation to the HAL: Now, when you plug the Native USB port of the Arduino DUE to your PC, it will be detected as a composite USB device: One of the devices is a USB CDC (Serial port over USB) with native USB handshake (no more overflows!!) (set SERIAL_PORT to -1 to use it as main serial port) and also, a MSD (USB Mass Storage Device) will be detected, and the SD card present on the socket will be reflected as a Removable disk on your PC)
etagle d8a4db72ac Reimplemented SW SPI for DUE in assembler. This allows to reach 12Mhz as SPI Clock and improves 4x the transfer speed to the SD card. This is REQUIRED so access to SD from USB is usable (allows 600Kbytes/second transfer speeds)
etagle 99b2fc2066 Adjusted timings on the ST7290 u8glib so RE-ARM and RAMPS4DUE have no problems when writing to the graphics LCD. This fixes Issue - Special thanks to Bergerac56 for testinf this out !!!
etagle 498ea7512a Exposed SDCard interface to the public, to USB MSD is able to read/write sectors on the SD card
etagle 9aff55ed1f Backported latest improvements and fixes from the SdFat liibrary to our own version. This includes support for CRC7 validation on commands and also, made sure that even if using software SPI implementations, SD card speed is properly adjusted when transitioning from INITIALIZATION to DATA TRANSFER mode. ALL HALs implement spiInit, even in SW SPI mode, and we NEED this change to improve 25x the transfer speed of the SD card and allow implementations of USB MSD
etagle 7447979110 Fixed some warnings on the MakerParts configuration, when compiling using the AVR toolchain (integer overflow on the preprocessor calculations)
etagle b6f9c333d4 Adding hooks into the idle loop so HALs can execute 2nd plane tasks, such as serving SD card read/writes requested from the USB MSD layer
victorpv 2ec4113cb2 Changes to STM32F1 HAL ()
Some to correct missing files from previous PR to completely avoid
HardwareTimer Class (reduce overhead). Some changes to formatting.
Changes to DMA ADC to work correctly.
Change to F1 sanity check.
Scott Lahteine 913d9e9a59 Matching sign across filwidth vars
Scott Lahteine 3cde4c78b2 Use wildcard *.cpp in Makefile
Based on 
Addressing 
Scott Lahteine fdc5e72720 A single setting to validate filament width
Scott Lahteine 93a6a4e1a8 Add VOLUMETRIC capability item
Scott Lahteine 933f76fda3 Option to disable all volumetric extrusion
Scott Lahteine 31e33d2acd Add NO_VOLUMETRICS to example configs
Scott Lahteine fc9ee1a4de Fix up serial sanity check
Scott Lahteine de5ca96654 More parity with 1.1.x, plus whitespace
Scott Lahteine a891d8d738
Merge pull request from thinkyhead/bf2_mks_sbase_spi
[2.0.x] Fix SDSUPPORT for MKS SBASE
Scott Lahteine 097a26007f Fix SDSUPPORT for MKS SBASE
Fix supplied by @cjsoong in https://github.com/MarlinFirmware/Marlin/issues/8750#issuecomment-350779983
Scott Lahteine 8df5955da4 Revert "Reset timer count before first block step"
This reverts commit 5cf6a062e3.
Scott Lahteine 957bbab57f Update inc files for parity with 1.1.x
Scott Lahteine f79026acc1 Apply MKS_12864OLED_SSD1306 to examples
Followup to 
Dan Delaney b055d8c39c [2.0.x] Adding support for using the MKS_12864OLED with the SSD1306 controller ()
* Adding support for using the MKS_12864OLED with the SSD1306 controller

* Update comment for correct controller type
Scott Lahteine 15d05748df Adding support for the Tronxy and Zonestar LCD
Scott Lahteine 9abbcc3ee0 Apply ZONESTAR_LCD to example configs
Dave Johnson aed0cfa3d1 Various fixes for 2.0.x configs
Scott Lahteine 674deaf223 Add NANODLP_ALL_AXIS to config examples
robpower 5595098063 V2 Extended NanoDLP_Z_Move_Sync to G4 & G28,Added all axis option.
Scott Lahteine 2b7db90340 Bring Malyan M200 config up to date
Scott Lahteine 8b12371e45 Change some hex case
Scott Lahteine 4782acf60e
Merge pull request from fiveangle/bf2-typo
[2.0.x] typo in Marlin.cpp
teemuatlut 0cd1e91056 [2.0.x] TMC driver update ()
Scott Lahteine 09d13f186f
Correct unskew, after all
Dave Johnson 0d531d9655 Missing HAS_HEAT_BED conditional
Fixes issue found in 
Dave Johnson 69efb87d19 typo in Marlin.cpp
Scott Lahteine 368c124de8 Fix Planner::unskew parity with skew
Scott Lahteine cf2193c07f Comment, fix filament width sensor
Scott Lahteine a641992c1d
Merge pull request from victorpv/patch-2
[2.0.x] STM32F1 HAL: Fix issue . Updates to readme.
Eduardo José Tagle ac168a03c8 Fixes for the Arduino DUE HAL (Serial Port, Graphics Display, EEPROM emulation) ()
* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style cleanup (2)

* Style fixes (3)

* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style changes to u8g_dev_st7920_128_64_sw_spi.cpp

* Even more improvements to the FastIO HAL for DUE. Now WRITE() is 2 ASM instructions, if value is constant, and 5 cycles if value is not constant. Previously, it was 7..8 cycles

* After some problems and debugging, seems we need to align the interrupt vector table to 256 bytes, otherwise, the program sometimes stops working

* Moved comments out of macro, otherwise, token pasting does not properly work sometimes

* Improved Software SPI implementation on DUE: Now it honors the selected speed passed to spiInit(). This allows much faster SDCARD access, improving SDCARD menus and reducing latency

* Update u8g_dev_st7920_128_64_sw_spi.cpp

* Disabling EEPROM over FLASH emulatiion if an I2C or SPI EEPROM is present
victorpv 084f2434a7
Update readme.md
victorpv 7c7ae5ebef
Delete duplicated file.
victorpv 4feffca178
fix for issue
As reported in this issue:
https://github.com/MarlinFirmware/Marlin/issues/8585
I have it working fine in my local copy like that change.
Scott Lahteine d568e586b7 Fix up ubl_motion indentation
Scott Lahteine 24f9bec6f4 UBL + DUAL_X_CARRIAGE compatibility
Scott Lahteine 6d0678d963 Omit unused UBL motion code
Scott Lahteine 3255712343 Skew Correction for UBL
Also remove unused grid slicing function when using UBL segmented.
Scott Lahteine 3d796d8040 Move debug code
Scott Lahteine 3db5303bfe _buffer_line => buffer_segment
Scott Lahteine a71d2f3f40 UBL_DELTA => UBL_SEGMENTED
Scott Lahteine 73e32925e4 References are better for array args
Scott Lahteine 125c572d97 Tweak M114 detail
victorpv a5150c83a2 [2.0.x] Multiple updates to STM32F1 HAL ()
* STM32F1 HAL

Adding files for STM32F1 HAL based on libmaple/stm32duino core.
Current persistent_store uses cardreader changes to be sent in separate
commit, but could be changed to use i2c eeprom.
There is another persistent_store implementation that uses the MCU flash memory
to emulate eeprom
Adding readme with some information about the stm32 HAL.

* Switch to Timer4 to avoid a hard reset on STM32F103C6 boards

On bluepill STM32F103C6 boards, using Timer5 results in a error() vector call. Switch to 4 since these are both general purpose, 16 bit timers.

* Add support for EEPROM emulation using Flash

Some low end machines doe not have EEPROM support. Simulate it using the last two pages of flash. Flash does not allow rewrite between erases, so skip writing the working version if that's enabled.

* Basic Pins for a malyan M200

This is a work in progress to go hand in hand with the STM32 work.

* Add support for ADC with DMA. This work has exposed a problem with the pin enumerations in STM boards vs what marlin expects (i.e, try defining PA0 as a temp pin). The hack can be removed with we go to fastio completely. To see this work, set something in adc_pins to a value like PA0 and connect your pullup resistor'd thermistor.

* Missing file - change HAL_adc_init to actually do something

We have an actual ADC init function now.

* Remove pinmode hack

Remove the pin mode hack that I was using to init PA0.

Updated Readme.md

* Several changes to timers and GPIO

Faster GPIO, and faster timer functions by accesing registers and
libmaple.
Still more changes pending for the Timer's code to skip using the
HardwareTimer class altogether.

Switch all enums to be within #defines

This change allows a user to have, for instance, TEMP_4 and TEMP_BED definied but nothing else. The enums which are not defined move "out", allowing the first ones to take the slots in the enum, and since the array is sized on ADC_PIN_COUNT, we always have the right size data and in order.

* Update Malyan M200 pins

Update Malyan M200 pins with correct fan values.

* Test all pins on actual hardware, update definitions

Some of the pin definitions were from knowlege base/pdfs. Now they've been tested against actual hardware. This should be very close to final.

* Update HAL_timers_Stm32f1.cpp

* Add sample configurations for Malyan M200

Add sample configuration for Malyan M200 without bed leveling, and move fan to auto cool E0 since this printer by default has only one fan.


Choose the timer based on MCU defintion. Timer5 is not valid on C8/CB class boards, so use Timer4 for the step timer.


readme.md update

* Updates to timers, and some stm32 boards definitiions

* Correct pin toggle macro.

* Remove duplicated Malyan M200 entry from pins.h

* Update configuration_store.cpp

* Formatting, indentation

* Formatting in HAL_Stm32f1.cpp
Scott Lahteine 204199e1ce Only compare XYZ to check motion
Scott Lahteine 6686d937fb Always report position on config load/reset
Scott Lahteine 117fc872a7 Update current position in M852
Scott Lahteine 7d2e850577 Have M420 report a changed position
Scott Lahteine 03ba79f144 Sync and report changed position
Scott Lahteine 5cf6a062e3 Reset timer count before first block step
Scott Lahteine 6149b82119 Allow setting current timer counter
Scott Lahteine 82ef6b5242 Add an option to specify "pulse" timer
Scott Lahteine b8bc965414 General cleanup HAL timers
Scott Lahteine 69d49a2438 Shorter segments may be better
Scott Lahteine d576f5408e Add MiniRAMBo 1.0a board
Scott Lahteine c40cb52342 Use MB() for Megatronics 3.1
Scott Lahteine 4fa65a5c25 TCNT0 => HAL_timer_get_current_count
Fix 
AnHardt b3daf6b5db [2.0.x] better reverse pass ()
* repair reverse_pass()

And make it readeble.
This was broken a long time ago.
Not competely unfunctional but far from optimal.

* Minor speedup when calling calculate_trapezoid_for_block

2 float / to 1 foat / and 2 float *

* Various style changes
Roxy-3D f58eb391aa [2.0.0] Better off mesh behavior for UBL ()
* Better off mesh behaviour for UBL

* Suggested ubl.h changes
Jonathan Barchi cffd052fee [2.0.x] Fix for ()
* Nozzle.cpp: replace incorrect M_2_PI (2/pi) with 2.0 * M_PI

* Use RADIANS(360) instead of 2 * M_PI
Bob-the-Kuhn 65d0f32f82 divide only when required
Scott Lahteine 728acf521c Followup to
Scott Lahteine 85c6ffbe0d Discard all "continued" blocks on interrupted move
Scott Lahteine 4e891e9fb7 Followup to
Scott Lahteine de3d3b9cb1 Put FORCE_INLINE before static
Scott Lahteine 43ea265b78
Merge pull request from MateuszKrawczuk/patch-3
Update TEMP_BED_PIN in MIGHTYBOARD_REVE
Scott Lahteine ae663a4198 PROBE_DOUBLE_TOUCH => MULTIPLE_PROBING
Scott Lahteine d7800e7975 Apply MULTIPLE_PROBING to example configs
Scott Lahteine 542efda7db
Merge pull request from thinkyhead/bf2_replace_jerk_code
[2.0.x] Improved Core-compatible jerk code
Scott Lahteine 3cd7659924 Improved Core-compatible jerk code
GMagician 99fcf60977 [2.x] addressing
Removed missing include file
Scott Lahteine 81c0a918af feed_factor => inverse_secs
Scott Lahteine f206b81cf7 Sanity check skew+UBL
Scott Lahteine 9898b96992 No lcd_map_control flag in quick_stop
Scott Lahteine 840289e7cc Use block cleaning instead of split flag
Scott Lahteine 90cf6a06be Simplify G26 user_canceled
Scott Lahteine cdfabbc507 Shorten error text in G29
Scott Lahteine c846388a65 Standardize LCD interface code for UBL a little
Scott Lahteine 2fde60da12 Changes for parity with 1.1.x
Scott Lahteine 6040d4080e Cleanup stepper ISR. Allow cleaning for endstops.
Scott Lahteine a4e1d83599 Fix M503 S parameter
Scott Lahteine a3b098b4be Whitespace clean
AnHardt a993c5227d Don't split first_move while homing or probing
While homing or probing it might be bad if the stop/trobe triggers during the first part and the second is still in the buffer.
Mateusz Krawczuk 5320906b0b
Update TEMP_BED_PIN in MIGHTYBOARD_REVE
Pin K7 number in fastio1280.h is 69, but it's also ADC15 pin. 
To get correct value from ADC reading it should be set as 15.
Scott Lahteine aeb5c623c1 Show "Level Bed Corners" with UBL too
Addressing 
Scott Lahteine 5fbb2f121e Remove skew warning that could crash the planner
Richard Wackerbarth c1184552ac Change K1 to required option PID_K1
revilor 9e3fbcf35c fix for ()
* fix for 

* Update G28.cpp
Scott Lahteine d8b444c144 Cleanup constextpr in planner.cpp
Scott Lahteine a2372cfab5 Fix SKEW_CORRECTION without leveling
Scott Lahteine 4d3c3d0b73 Some ST7920 parity with 1.1.x
Possibly more should be brought over? Discussion at 
Scott Lahteine 3748c28924 Fix MBL G29 without LCD
Addressing https://github.com/MarlinFirmware/Marlin/pull/8575#discussion_r154536617
Scott Lahteine 772298257b Creality pins spacing, MINIPANEL CS pin
Scott Lahteine b27bc67271 Set initial endstops state
Scott Lahteine b6ba32ce75 Support for RAMPS Plus (3DYMY)
Scott Lahteine 53694ebaa1 Folllwup to planner splitting
Scott Lahteine 37fff608b0
Merge pull request from fiveangle/bf2_usbcon_xonxoff
[2.0.x] SERIAL_XON_XOFF not supported on USB-native AVR devices
Scott Lahteine 4b612f590c Split first move to planner for better chaining
Unknown 91b63f6d69 SERIAL_XON_XOFF not supported on USB-native AVR devices
User could enable SERIAL_XON_XOFF on USB-native devices and it would not be enabled without warning, but M115 would report the capability as available.
Bob-the-Kuhn 57fac33a74 add explanations
1) add explanations as to why software SPIs are selected

2) remove unused flag/option
Bob-the-Kuhn bb23286383 add README & modify spi_pins.h
still trying to fix file name
Scott Lahteine dd8febca1a Revert "Merge pull request from thinkyhead/bf2_planner_split_first"
This reverts commit 824980e70e, reversing
changes made to aa7efb96bf.
Bob-the-Kuhn fb44f8e50f
Merge pull request from hg42/bugfix-2.0.x
[2.0.x][LPC1768][FIX] NUM_DIGITAL_PINS was negative, fixes PWM, arduino io functions, M42, M43, M226, probably also Servo, some LCD, soft spi, SoftwareSerial, ... may be others
Bob-the-Kuhn 4c5356f77a
Merge pull request from hg42/implement-LPC1768-GET_TIMER
[2.0.x][LPC1768][fix] Implement GET_TIMER and other GET_xxx, fixes PWM
Harald Gutsche f5b4e1ef4f as a workaround enable PWM for any pin, see PR
Scott Lahteine 6e944a413c
Merge pull request from benlye/patch-1
[2.0.x] Fix M49 so that it does not hang the terminal console
Scott Lahteine 967522b95e
Merge pull request from dot-bob/Duplicator_6-2.0.x
[2.0.x] Example configurations for Wanhao Duplicator 6
Scott Lahteine f4b16a3bac
Update M49.cpp
Scott Lahteine f9327534f8
Merge pull request from fiveangle/bf2_report_xonxoff
[2.0.x] Report SERIAL_XON_XOFF in M115
Scott Lahteine da9f140829
Merge pull request from thinkyhead/bf2_ubl_uses_LSL
[2.0.x] Use custom segment length for UBL Cartesian
Scott Lahteine 3a97de52ef Split first move to planner for better chaining
Address , 
Scott Lahteine 24437de591 Use custom segment length for UBL Cartesian
Unknown 4c5ffd2349 [2.0.x] Report SERIAL_XON_XOFF in M115
-Report SERIAL_XON_XOFF in Extended Capabilites M115 report for hosts
-Remove outdated 256 size limitation from comments on RX_BUFFER_SIZE defines
-Update error message conditions
Scott Lahteine aa7efb96bf Bring configurations up to date
Scott Lahteine 63a91cd37a Fix a homing comment
Scott Lahteine 8056120195 Rename inverse_mm_s => inverse_secs
Scott Lahteine 23557f8e77 Remove obsolete de_float
Jonathan Barchi 05f8e98c4a Fix for issue - mismatch between number of stored and loaded dummy items on non-delta machines. ()
Roxy-3D 48fb4e0932
Get Bi-Linear to work with G26
More corrections to make that happen...
Roxy-3D 0850b38b45
Get Bi-Linear working with G26
G26 uses logic that looks like:
```
ex = _GET_MESH_X(i + 1) - (SIZE_OF_INTERSECTION_CIRCLES - (SIZE_OF_CROSSHAIRS));
```
The Bi-Linear macros need parenthesis to work correctly.
Scott Lahteine 000b3b3117 Comment/cleanup of motion code
Scott Lahteine 046a1ad331
Merge pull request from tcm0116/2.0.x-G33
[2.0.x] Fix missing return values in G33_auto_tune
Thomas Moore b35c3b5eb8 Fix missing return values in G33_auto_tune
Scott Lahteine 45c2388a58 Apply const to thermal_runaway_protection args
Scott Lahteine 0154e3480c New feature: BED_SKEW_CORRECTION
Scott Lahteine 082ab8fcab Add SKEW_CORRECTION to example configs
Unknown d1f11e9c10 fix missing GET_TIMER (used by PWM for Ex_AUTO_FAN)
Harald Gutsche dd1b503f64 fix NUM_DIGITAL_PINS being negative for more than 127 digital pins
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
Scott Lahteine 0efa66be0b Updates to Traditional Chinese
From @cheton at 
Scott Lahteine cba9c1cf9e Add pre-calculated planner.e_factor
Thomas Moore 600c85226e Normalize load/unload length in M600
Scott Lahteine 81b91b3f9d Clean up some trailing white-space
Roxy-3D 2f9848ede3
Correct gMax 1.5+ example file
And...   Keep both branches in synchronization.
Scott Lahteine 006dad4b52 Add pins_RURAMPS4D.h & change pins.h
http://3dtoday.ru/blogs/svs0724/ruramps4d-ramps-for-adruino-due-the-pilot-shipment-available-for-zack/
Scott Lahteine 00514857e9 SBASE serial port -1, RAMPS spacing
Scott Lahteine c66696c507
Merge pull request from tcm0116/2.0.x-delta_height
[2.0.x] Add delta_height variable in lieu of using home_offset
Scott Lahteine 22e18fe832 Patch _manual_goto_xy for kinematics
Scott Lahteine 0cfb936dd1 Clarify some motion code
Thomas Moore f34c3597dc Add delta_height variable in lieu of using home_offset
Bob-the-Kuhn d47fbf791b Arduini IDE compatibility changes
changed includes to make Arduino IDE happy
Scott Lahteine 95ea43bde4 Update XYZ dual stepper configurations
Scott Lahteine b0b4a20930 Tweaks to core motion code
Scott Lahteine 8805e24cc7
Fix tilt_mesh_based_on_probed_grid output bug
Scott Lahteine 24437fbb13
Fix G26 Y argument bug
Scott Lahteine 09b05c9d79
Merge pull request from Bob-the-Kuhn/pins_re-arm
2.0.x - pins_RAMPS_RE_ARM.h - add mega2560 pin numbers
Scott Lahteine e6788bb6ae Fix get_destination_from_command for E
Roxy-3D 967104e1ce
Default Extrusion Settings were off a few lines in some of the example config files. ()
Bob-the-Kuhn 8875885a15 pins add old names
fix typo

re-write PWM section, add "not on Re-ARM" list
Roxy-3D 1c6e83c137
if !HAS_MESH we still need to do some motion! ()
* if !HAS_MESH we still need to do some motion!

Thank You MagoKimbra !

* Ooops....   need #else and not #elif
Scott Lahteine 82f45c3e6a Patch G33 misuse of PROBE_MANUALLY
Scott Lahteine 064e6fe60e Remove debugging pin toggle from LCD code
Bob-the-Kuhn 0483a7df91 AVR RRD works
LPC1768 VIKI2 & RRDFG are working

looks like all SPIs are working

library change

sh1106 locks up

fixed lockup, started I2C SW com

pretty

re-org

restore a few files

make library happy

switched HAL version of rrd

fix travis error

travis error fixes

another travis fix

cleanup

minor update

one more

correct spacing in platformio.ini
Scott Lahteine 96c9d715f3 Patch abuse of sprintf_P in G33
Roxy-3D ed62c621d7
Fix G26 Circle Drawing. Add Default Extrusion Settings ()
- Fix G26 Circle Drawing.
- Add default extrusion settings so machine can print lines on print bed
- Yet to be done: Get LCD Menu's to use these settings.
Scott Lahteine 8fea26aa9d Fix PID_autotune watch temp increase value
Scott Lahteine 2c099fd4c2 Update Thermal Protection Documentation
Colten Edwards a6160916b0 [2.0] Fix M48 for delta printers/ABL compile issue ()
* fix M48 for delta printers

fix M48 for delta printers. home printer if not already homed.

* remove ENABLED(DELTA)

remove ENABLED(DELTA) as it is not needed.

* Update M48.cpp

* abl needs queue.h

without queue.h abl will not compile since there is a script that runs at the end of it and we need to queue it up.
Scott Lahteine 17ef0a513b Update G92 for native workspace
Scott Lahteine b4bf8928aa German language updates
Corresponding to 
Thomas Moore 73ca5345e1 Fix Delta EEPROM
Scott Lahteine 714d2b9bbc
Merge pull request from thinkyhead/bf2_M118_and_others
[2.0] Fix M118, compiler warnings, etc.
Alexey Shvetsov 83555933aa Add platformio support for stm32 ()
[2.0] Add platformio support for stm32
Scott Lahteine 85a62bbf46 Misc. fixes to compiler warnings, etc.
Scott Lahteine e6aba99f16 Fix M118 parameters, with strict guideline
Scott Lahteine e9b1944a67 Patch non-extended font option
Roxy-3D 6324b09934
Revert "Fix EEPROM crc ()" ()
This reverts commit 172c36f517.
Rowan Meara 172c36f517 Fix EEPROM crc ()
Scott Lahteine cc4d28b73c
Update bilinear for native workspace
Scott Lahteine 94c7205d64
Merge pull request from thinkyhead/bf2_alligator_dac
[2.0] Use fastio for Alligator dac084s085, etc.
Scott Lahteine 2246316605 Fix name collision. timer_t => hal_timer_t
Jason Hitesman 4efaef7039 [2.0.x] Fix archim2 SSDS define ()
* Fix SSDS define

* Update pins_ARCHIM2.h
Scott Lahteine c8dfa26bc8 Use fastio for STM32F1 endstop interrupts
Scott Lahteine 185dec800b Use fastio for HAL SPI EEPROM
Scott Lahteine 297666ea14 Use fastio for Alligator dac084s085
Scott Lahteine c5d95d318b
Merge pull request from thinkyhead/bf2_nozzle_cleanup
[2.0] Cleanup Nozzle class, fix XY vs Z move order
Scott Lahteine 7e2fee9d56
Merge pull request from tcm0116/2.0.x-re_arm_D8
[2.0.x] Correct RAMPS_D8_PIN for Re-ARM
Scott Lahteine 59c558d612
Merge pull request from GMagician/2.0.x-Typo-fix
[2.0.x] typo fix (removed spaces)
Scott Lahteine be73d5cc08 Cleanup Nozzle class, fix XY vs Z move order
GMagician 9e93b7ccbd [2.0.x] removed spaces
Removed spaces in array declaration
Thomas Moore b91a822d7a Correct RAMPS_D8_PIN for Re-ARM
studiodyne d295f984e3
Update fwretract.cpp
Scott Lahteine 1b40e9c464 Implement CNC_COORDINATE_SYSTEMS
Scott Lahteine 1b42fba39b Add CNC_COORDINATE_SYSTEMS to configs
Scott Lahteine a22434508f Match tweaks to G33 from 1.1
Scott Lahteine c07bbd4154 Prettify some EEPROM code
Scott Lahteine d6aa127c76 Remove I2CPEM workspace offset
Scott Lahteine 79772219ae Fix Fan Multiplexer init
Scott Lahteine ca7d36d9ed RAMPS pins for ANET_KEYPAD_LCD
Colten Edwards e0a6ee8da5 [2.0] Fix up G33, LPC1768 + SDCARD_SORT_ALPHA ()
* Update Conditionals_post.h

* Add a cast to round() to convert to a unsigned int

Add's a cast to round() so that it will compile properly. round() returns a float which must be cast to a integer for the following % operation. Use a unsigned int as a negative index to an array is wrong. Should never be more than 255 points allowing us to use a 8 bit cast.

* Update G33.cpp
Scott Lahteine dac1f6fe74 Tweaks to cubic_b_spline code style
Scott Lahteine 4df024d7b9
Merge pull request from thinkyhead/bf2_native_operation
[2.0.x] Operate in Native Machine Space
Scott Lahteine 601ccded89 Fix case-insensitive config issue
Scott Lahteine f8393a0908 Operate in Native Machine Space
Scott Lahteine d83a9a53e8
Merge pull request from thinkyhead/bf2_serial_port_-1
[2.0] Add SERIAL_PORT -1 option for configurators
Scott Lahteine 93ba72ea83 Add SERIAL_PORT -1, set on SBASE, STM32F103RET6
Scott Lahteine 7e43dd1d23 Fix probes configuration url
Based on  by @machaj
AnHardt ca0e4b4e96 Some cleanup around 'lcd_bootscreen()' and 'lcd_kill_screen()'
Move 'lcd_bootscreen()' from `lcd_init()` to 'setup()' where it is cexecute exactly once. Saves 'bool show_bootscreen'.
Move the call of 'lcd_custom_bootscreen()' to the begin of 'lcd_bootscreen()'.
Move the delays into the related functions.
Move the picture loop around 'lcd_kill_screen()' into the function.
Scott Lahteine 84b93d941f
Merge pull request from thinkyhead/bf2_config_tweak
[2.0.x] Faster menu navigation for Anet A8
teemuatlut 70be4d206e [2.0.x] UltiMachine Archim2 ()
* UltiMachine Archim2 support

* SPI gets included by the library

* Invert TMC2130 diag pin state

* Clean up Archim2 pins

* Update Archim2 config

* FAN2 -> FAN1

* Cleanup

* Add brief Archim installation instructions

* Bring pins into compliance

* Update 1.0 SD Detect pin for 1.1

* Update Configuration.h

* Update pins_ARCHIM2.h
Scott Lahteine f3deb37bdf
Merge pull request from thinkyhead/bf2_protect_M303
[2.0.x] M303 thermal runaway protection
Scott Lahteine 31f112cf58 Cleanup trailing whitespace
Scott Lahteine 2f9e42feb9 M303 thermal runaway protection
Scott Lahteine e5ae545647 Remove ADCKey steps acceleration
Luc Van Daele 6827e243a0 [2.0.x] G33 magic numbers ()
* [2.0.x] G33 magic numbers

* oops

* Comments

* oops

* warning

* better comment section

* remarks

* extra grids
Scott Lahteine 8735ae984b
Merge pull request from tcm0116/2.0.x-pin_mapping
LPC1768: updates to use the new pin_t typedef
AnHardt c72a0610b4 Fix watchdog in WATCHDOG_RESET_MANUAL mode AVR
Thomas Moore 13d839795c LPC1768: updates to use the new pin_t typedef
Scott Lahteine eb13b8d985 Add MKS Gen L board
Morten 063e957fc4 Update pins_MKS_SBASE.h ()
* Update pins_MKS_SBASE.h

Deleted E_MUX2, not used.
Changed #define LCD_PINS_D4      P0_14  // EXP1.5 to #define LCD_PINS_D4      P0_15  // EXP1.5, wrong in MKS's pinout schematic.
Swapped TEMP_BED_PIN and TEMP_0_PIN port's, request from user, more logical...

* Update pins_MKS_SBASE.h

Moved MUX signals to J8 and re added MUX2, cleaner wiring..
Scott Lahteine f7133e53fd
Fix case light off
Addressing 
Scott Lahteine 0108d5181f Allow asterisks in G-Code commands
Addressing 
Scott Lahteine 34745b2183 Organize boards.h by architecture
android444 9cc1d8e312 [2.0.x] Support for SilverGate Board
Scott Lahteine 03e5369411 Faster menu navigation for Anet A8
Addressing 
Scott Lahteine f1edf83720
Merge pull request from rafaljot/patch-5
Update InterruptVectors_Due.cpp
Scott Lahteine b2bd77c40a
Merge pull request from thinkyhead/bf2_rearm_more
[2.0.x] Add SDCARD_SORT_ALPHA options for LPC1768
Scott Lahteine 571ced712d Add SDCARD_SORT_ALPHA options for LPC1768
rafaljot 778e4e4c23
Update InterruptVectors_Due.cpp
const pfnISR_Handler *isrtab = get_relocated_table_addr();

What compiler do you use? Arduino 1.8.5 can't compile this "const".
Scott Lahteine cae8703e0d
Merge pull request from thinkyhead/bf2_fix_bootscreen_repeat
[2.0.x] Only show custom bootscreen once
Scott Lahteine a516856df9 Only show custom bootscreen once
GMagician 727a403ba1 [2.0.x] Fix NO_MOTION_BEFORE_HOMING unwanted behaviour ()
* [2.0.x] Fix NO_MOTION_BEFORE_HOMING unwanted behaviour

NO_MOTION_BEFORE_HOMING should prevent XYZ movements only when homing is not done.
E axes should be allowed

* Update G0_G1.cpp

* Update G0_G1.cpp
Alexey Shvetsov 577659cacf Basic support for Azteeg_X5_GT ()
* Basic support for Azteeg_X5_GT

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

* Add fan pins for AZTEEG X5 GT

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

* Fix endstop pins

* Add servo0 pin
Scott Lahteine 0b02f9cc33
Merge pull request from thinkyhead/bf2_config_tweak
[2.0.x] Apply Re-ARM SPI review items
Scott Lahteine 04c0d9f3c3 Implement kinematic software endstops
Scott Lahteine 9f89b5d876 Fix for MAX_VFAT_ENTRIES sanity check
Scott Lahteine 2cdde08339 Apply items specified in code review
Followup to 
Scott Lahteine 34be5d33c0 The plural of 'axis' is 'axes'
Bob-the-Kuhn 6e5f13a5c2
Merge pull request from Bob-the-Kuhn/2.0.x-restore-Re-ARM-RepRap-Discount-Full-Graphics-fix-(partial-solution)
2.0.x - Restore fix for garbaged display on Re-ARM with RepRap Full Graphics Smart Controller
Bob-the-Kuhn b7a66742dd tested
add sort alpha section to other LPC1768 boards
Jeffrey Li bbc2e66634 Fix AZSMZ MINI pins for new LPC1768 pinmapping
Scott Lahteine 31e96935f7 Fix EXTRA_FAN_SPEED
Addressing 
Scott Lahteine c94dce6b32
Merge pull request from thinkyhead/bf2_fixup_sd_reprint
[2.0.x] Cleanup after SD Print Again, whitespace, tabs
Scott Lahteine ce1c9c0808 Tweak QUICK_HOME description
Scott Lahteine 12458cefc4 Remove 5s timer hack. Encoder pos is saved on print start!
Scott Lahteine 9a4cf11835 Remove return_to_status_ms hack, just use defer...
Scott Lahteine 8949c8c0a5 Move SD_REPRINT_LAST_SELECTED_FILE to ultralcd.cpp
Scott Lahteine 817175613a
Merge pull request from thinkyhead/bf2_anet_10_servo
[2.0.x] Define a default SERVO0_PIN for Anet 1.0
Scott Lahteine 723f2a77f6 Implement support for Dual X and Y endstops
Scott Lahteine e04425281d Add Dual Steppers / Endstops to configs
Scott Lahteine edff2c917b Cleanup for DIGIPOTS settings
Scott Lahteine 3e8754a38a Add/correct time units on planner vars / M205 B
Scott Lahteine b2a48f1a04 Provide a SERVO0_PIN for non-standard LCD
Scott Lahteine b232f39341 AVR: Hidden option to use 8s watchdog
Scott Lahteine 9d4cfd2013
Merge pull request from thinkyhead/bf2_fix_m303
[2.0.x] Fix M303 thermal protection
Scott Lahteine eae0aea1e0 Fix M303 thermal protection
Luc Van Daele a1a4fc277e (2.0.x) serious bug G33 ()
* (2.0.x) serious bug G33

* Revert config changes

This reverts commit 74b5a98223b7b7fb970d05b8541f4a079c3cfe56.
Thomas Moore 325233b454 Fix automatic stepper assignment for X/Y/Z dual stepper drivers ()
Thomas Moore 50b4f9cbf7 LPC1768 Pin Mapping and M43 cleanup ()
* LPC1768 M43 cleanup

* Update pinmapping.h to #define pins
Scott Lahteine 6b1d1a818b Revert default BABYSTEP_MULTIPLICATOR to 1
etagle ba8dc678f5 Arduino Due XON/XOFF implementation
Alos includes emergency parser and configurable TX/RX buffers for Arduino Due.
etagle 8d9c3cc2b7 Add a module for Due SRAM-based Interrupt Vector Table
This is the ONLY way to be able to override ISRs stolen by the Arduino Runtime, such as Serial or USB device interrupts. This feature is needed so Arduino modules can be replaced and enhanced.
etagle c9bbef6380 Cosmetic fix for HAL_AVR/MarlinSerial.cpp
Instead of using const char, it is better to use uint8_t
LVD-AC dcfc2503c2 G33 Autotune calibration update
Scott Lahteine b338cafc65 Merge pull request from thinkyhead/bf2_fwretract_fix_oct26
[2.0.x] Improved Firmware Retraction logic
Scott Lahteine ada90f7335 Clean up trailing spaces
Scott Lahteine 7fad26549b Concise SD_REPRINT_LAST_SELECTED_FILE description
Scott Lahteine 33f379fe88 Add some Polish language
Thanks @SCiunczyk
Scott Lahteine daeff5a11a Tweak neopixel self-test
Scott Lahteine 0ceec1f166 Fix leveling_active_at_z warning
studiodyne eb02f8c719 Improve FWRETRACT logic, add common sense
Scott Lahteine bd78ca0ee3 Add M290 Babystepping
Scott Lahteine ce5f0ec85a Bring STM32 example config up to date
Scott Lahteine 46e9eae159 Tweak to M100 config comment
Scott Lahteine c45514f811 Merge pull request from thinkyhead/bf2_neopixel_led_parity
[2.0.x] Bring NEOPIXEL_LED into parity with 1.1.x
Bob-the-Kuhn 229a27a1c7 save FLASH by using reduced font for some languages
Roxy-3D 3f5f39576b Reprint option for last SD Memory card file ()
* Re-Print of same SD Memory Card file with single click

* Re-Print of same SD Memory Card file with single click
* This is the bugfix-v2.0.0 version of  https://github.com/MarlinFirmware/Marlin/pull/8104
Thomas Moore 9e699811d2 Make LPC1768 pinmapping not specific to Re-ARM ()
* Merging early because of build failures.  See 

* Make LPC1768 pinmapping not specific to Re-ARM

* Add HAL_PIN_TYPE and LPC1768 pin features

* M43 Updates

* Move pin map into pinsDebug_LPC1768.h

* Incorporate comments and M226

* Fix persistent store compilation issues

* Update pin features

* Update MKS SBASE pins

* Use native LPC1768 pin numbers in M42, M43, and M226
Scott Lahteine 3ac581eac9 Neopixel changes for parity with 1.1.x
jeffyl 7b3098bbd5 Add AZSMZ Mini ()
* Add AZSMZ Mini

* Remove tabs, adjust spacing

* Renumber boards to group by family

* Patch up spacing

* Tweak
Scott Lahteine e00ed10c4c GT2560 config MKS_MINI_12864 => SDSUPPORT
Scott Lahteine 10a5e4d80f Merge pull request from thinkyhead/bf2_mks_mini_lcd
[2.0.x] Add MKS MINI 12864 support to GT2560
Scott Lahteine ee9b8bf0f1 Add MKS MINI 12864 support to GT2560
Scott Lahteine f65fc7ffab Merge pull request from thinkyhead/bf2_mesh_consolidate
[2.0.x] Simplify mesh bounds config
Scott Lahteine 070cd34fe8 Merge pull request from thinkyhead/bf2_MKS_BASE_followup
Clean up HAL trailing spaces, MKS SBASE pins
Scott Lahteine 7f55d82fd1 Move UBL_SAVE_ACTIVE_ON_M500 to Configuration.h
Scott Lahteine 90a14b4f5b Clean up HAL trailing spaces, MKS SBASE pins
Thomas Moore 51fafccc16 [2.0.x] Enable hardware serial ports on LPC1768 ()
* Enable hardware serial ports on LPC1768

* Fix compilation errors with other HALs

* FIx order of includes in LPC1768 HAL main.cpp

* Add support for RX_BUFFER_SIZE and TX_BUFFER_SIZE options in Configuration_adv.h
Scott Lahteine 580b6e9089 Apply physical limits to mesh bounds
Scott Lahteine 4e2baeb3e1 Update indentation, file-wrapping for Marlin 2.0.x
Scott Lahteine 60af705e6d Relocate SPI.h to the HAL folder
Scott Lahteine 46aae4c6e7 Merge pull request from thinkyhead/bf2_verbiage_like_8061
Fix some config verbiage
Scott Lahteine 3356d5a72d Merge pull request from thinkyhead/bf2_fix_M600
[2.0.x] Fix position sync in M600 pause/resume
Scott Lahteine 5f87324536 Fix some config verbiage
Scott Lahteine 272f9f65dc Fix some typos
studiodyne 8181220bfd Fix position sync in M600 pause/resume
cdedwards 6296ab2173 Add GFX overlay to UBL mesh edit ()
* Add GFX overlay to UBL mesh edit

Fixed misplaced HAS_TEMP_BED in dogm_bitmaps.h

rename _lcd_babystep_zoffset_overlay to _lcd_zoffset_overlay_gfx and move it out of BABYSTEP_ZPROBE_OFFSET to we can use it for over things. Add this function into UBL mesh edit screen.

update all Configuration.h to add ENABLE_MESH_EDIT_GFX_OVERLAY

* Add Sanity to UBL  insanity

Need to check for DOGLCD  otherwise error out.
Roxy-3D 72156a2029 change to better (more clear) names ()
set_destination_to_current() changed to set_destination_from_current()

set_current_to_destination() changed to set_current_from_destination()
Scott Lahteine 0cb423b5b3 Apply consistency for other configs
Scott Lahteine 8c78f8f790 Add Makeboard MINI for Micromake C1
Scott Lahteine 1fbb307aaf Merge pull request from thinkyhead/bf2_scroll_longnames
[2.0.x] Add SCROLL_LONG_FILENAMES to reveal longer filenames
Scott Lahteine 3d2b2eb1ca Prevent SDCARD_SORT_ALPHA from exploding
Scott Lahteine 783ddf9691 Add SCROLL_LONG_FILENAMES option
Roxy-3D 5439358281 Basic UBL operations working on 32-bit platforms ()
* 32-bit work for UBL

* Update FT i3-2020 reference file
Scott Lahteine 9e5cbf0198 BQ should set this in its config, and does
Scott Lahteine 348e5e3109 Simplify Cartesian probing boundaries
Followup to 
Luc Van Daele 3986a84f77 boolval revisited ()
Roxy-3D 572cf0ec95 UBL able to generate mesh and save and load it on 32-bit platforms ()
* Get UBL Mesh Generation, Mesh Save & Mesh Load working with 32-Bit platforms

* clean up read_data() and write_data() for non-LPC1768 HAL's

* Get read_data() and write_data() return codes consistent

All HAL's read_data() and write_data() return false if they succeed.

* Get read_data() and write_data() return codes to be consistent

Make read_data() and write_data() return true if an error happens.

* Say UBL is now checked out on machine types in default Configuration.h file.
Thomas Moore 67cc29cd3c Update UBL mesh boundaries to accomidate beds centered at 0, 0 ()
Roxy-3D 6cb26c98c8 Fix Baby Stepping on 32-Bit platforms ()
Also, Max7219 debug code was used for this effort.   It has been
improved and hardened.
Scott Lahteine 3b7b0492f8 Merge pull request from jeffyl/bugfix-2.0.x
[2.0.x] Proper support for AZSMZ 12864 LCD on SmartRAMPS
Jeffrey Li 26531f2715 Add lcd to all sample configs
Scott Lahteine ce48403a0b Add EXTRA_FAN_SPEED feature
Based on  by @studiodyne
Jeffrey Li eeb4611606 Add proper support for the AZSMZ 12864 LCD on a SMART RAMPS
Scott Lahteine c46189e429 Fix UBL+Delta segmented feedrate
Based on 
Scott Lahteine 5c4f3e0107 Add LCD_SET_PROGRESS_MANUALLY
Scott Lahteine 014a83fe09 Merge pull request from thinkyhead/bf2_micromake_c1
[2.0.x] Micromake C1 Configurations, Unaccented French
Scott Lahteine bc7df0188e Add Micromake C1 configurations
Scott Lahteine 34a261416f Add unaccented French language
Scott Lahteine e587f0893c Define AVR_ATmega2560_FAMILY_PLUS_70 in Conditionals
Scott Lahteine fd128b3c93 Fix some AVR HAL code style
Scott Lahteine 799360c576 Enhance Teensy/RAMPS pins files
Scott Lahteine d3e5a22a5d Add MIN_SOFTWARE_ENDSTOP_[XYZ] to example configs
Jeff Eberl b206f70693 Split the software endstop capability by axis.
Scott Lahteine ec69e97bda Merge pull request from jeffyl/bugfix-2.0.x
Fix include path for VIKI
Morten 91e28edda6 [2.0.x] Add new board: MKS Sbase ()
* Add files via upload

* Add files via upload

* Add files via upload

* Checked LCD / edited / revised pins_MKS_BASE.h

As requested :)

* Delete Configuration_adv.h

* Delete Configuration.h

* Deleted /Marlin/Marlin/src/config/examples/MksSbase/*.* and moved them to /Marlin/Marlin/src/config/examples/Mks/Sbase/*.*

* Add files via upload
Jeffrey Li 3c8a3a02ba Fix include path for VIKI
Scott Lahteine 4586acad8c Merge pull request from alexxy/bugfix-2.0.x
Python isnt always python2
Scott Lahteine 497f86453e Merge pull request from gallynero/patch-2
fix 'axis_unhomed_error' not defined error
Scott Lahteine c0dddd4233 Tweaks to tool_change, GcodeSuite::T()
Scott Lahteine ca66574062 ADC sensor fix inspired by 'Evgen2' on Twitter
Scott Lahteine 1344ca4b2f UBL no longer needs ubl_state
Scott Lahteine 8dd08425fd Improve LCD leveling edits