Commit Graph

10439 Commits (ffb76b75d75d9cb2f929063bb3d7de751a566394)

Author SHA1 Message Date
Alexey Shvetsov ad58b626a3 Fix pin mappings for Viki2 on Azteeg X5 GT ()
Scott Lahteine 9e07df5c1b
Extra options for LEVEL_BED_CORNERS ()
Scott Lahteine 1c3d49afe0 Fix G28 with Z_AFTER_PROBING
Fix 
Scott Lahteine b6747c742a Cleanup AZTEEG_X5_GT pins for VIKI
What should the SD detect and SDSS pins be? Followup soon on 
Scott Lahteine 023385ca59
Merge pull request from thinkyhead/bf2_creality_power_loss_resume
[2.0.x] Creality3D Power-Loss Recovery
Scott Lahteine 3396671011
[2.0.x] Reset LCD status to fallbacks ()
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
Scott Lahteine d58450c82a Russian language update
Co-Authored-By: anton-piliugin <34044202+anton-piliugin@users.noreply.github.com>
Scott Lahteine 11ab017dd0 Creality3D Power-Loss Recovery
Scott Lahteine 594d6f9efd Add POWER_LOSS_RECOVERY to example configs
Scott Lahteine 7dcd0a1cff Add R parameter to G28 to specify pre-raise
Scott Lahteine 2f4b4d6076 Add Stopwatch::resume method
Scott Lahteine a90cbc6339
[2.0.x] Wait for bed heaters between probing ()
Scott Lahteine a0dac95d25
Merge pull request from thinkyhead/bf2_trigorilla_14
[2.0.x] Split TRIGORILLA into 1.3 and 1.4
Scott Lahteine f0cbf3d432 Correction to sanity check
Scott Lahteine d8a8eec6ea Add THERMAL_PROTECTION capability
Based on 

In response to `M115` the firmware reports if Thermal Protection is enabled (1) or not (0). This information can be used by software such as OctoPrint (more precisely the Printer Safety Check plugin) to warn users when Thermal Protection is not enabled in the firmware.

Co-Authored-By: andrivet <sebastien@advtools.com>
Scott Lahteine 186d71b361 Complete CREALITY_ENDER revert
Scott Lahteine 11ef432476 Match Makefile to boards.h
Scott Lahteine 2be5fe5ddf Split TRIGORILLA into 1.3 and 1.4
Scott Lahteine 80e29492c6 TRIGORILLA => TRIGORILLA_13
Scott Lahteine dea686cf55
Define short pin names in fastio for STM32 ()
Scott Lahteine 65a6a86d19 Don't report point 0 in MBL G29
Scott Lahteine 6faa93d787 Add G29_RETRY_AND_RECOVER to example configs
Marcio Teixeira 5cc7916e69 Add G29_RETRY_AND_RECOVER feature
- Add an option to retry G29, optionally executing a G-code procedure after each failed probe.
Scott Lahteine 78ea4871f9 Fix up enqueue now functions
…and apply to MALYAN_LCD.
Roxy-3D 23635c2b64
Update ubl_motion.cpp
Restore necessary and needed loop termination logic.
Scott Lahteine 8ca3c43d73 Updated language_data spacing, headers
Scott Lahteine 184c077c58 Correct includes (u8g.h) and spelling
Yunhui Fu 627348b46c move the TALL_FONT_CORRECTION to language files
Yunhui Fu 77bc653524 Use X windows 6x12 bitmap font to support western languages.
Yunhui Fu d81649b365 Update language data for sk.
Yunhui Fu 41839746a2 Removed unused macros
Scott Lahteine 4f184ba5da
[2.0.x] Add BOARD_MKS_BASE_15 with digital micro-stepping ()
* Add BOARD_MKS_BASE_15 with digital micro-stepping
* Rename MKS_13 to MKS_GEN_13
Scott Lahteine ad6baa5c9d Fix for UBL set_bed_leveling_enabled
Scott Lahteine df2f24617b Use 0 as the bed position (not Z_MIN_POS)
Karl Andersson 428c54f2ad [2.0.x] HAL for STM32F4 ()
Chris Pepper 744bcaee61 [2.0.x] Fix problems compiling with Arduino IDE ()
* Fix problems compiling u8glib utf8 support on Arduino
* Change header in auto-generated font data
* Change include in font gen scripts
GMagician 20772492aa Fix compile warnings in AVR fastio.h ()
Scott Lahteine f57a008c58
Merge pull request from thinkyhead/bf2_fix_and_improve
[2.0.x] Improve UBL mesh report, M420 V T, M421 N, and…
Scott Lahteine 89b1580587 Fix compile error in tmc_status
Scott Lahteine 52c024e260 M221 with no parameters report flow
Scott Lahteine 01b01f6dfd Tweak fwretract.retract debug, comments
Scott Lahteine e4acd2c40e One fewer compare in _lcd_move_xyz
Scott Lahteine e05c825a05 Update position for UBL non-segmented activate/deactivate
Scott Lahteine d462be6de6 Try FIXFLOAT rounding based on sign
Scott Lahteine 39c6f65ce7 Ignore LCD_BED_LEVELING with UBL
Scott Lahteine 0746aff595 Improve UBL mesh report. Add M420 T, M421 N
Scott Lahteine 3c826e5d05 Prevent delay when power is already on
Fix 
Scott Lahteine 5a064d0e94 Fix bug in planner.set_position_mm
Scott Lahteine 0945674ba2
Use H0 by default with UBL_MESH_EDIT_MOVES_Z ()
Scott Lahteine 6cb83758d7 Fix Brazilian Portuguese language duplicates
Scott Lahteine 8f57e098de Use end-of-line comments in planner.cpp
Scott Lahteine 6c7a17dba6
Abort SD printing more safely ()
Allow the current command to complete when aborting an SD print, otherwise some commands (G28, G29, etc.) will cause trouble.
Chris Pepper c9aed73987 Fix missed includes from HAL macro patch ()
Scott Lahteine 9f8a96fb8a
Brazilian Portuguese update ()
Yunhui Fu 93273a4c9e Fix u8g.h search path error ()
Support env MARLIN_LANGS for user select generated language, and update doc; update script to generate dogm_font_data_ISO10646_1.h automatically.
Scott Lahteine 584735c994 u8g.h => clib/u8g.h
Scott Lahteine 29dda871cb Patch "upload_disk" to make python happy
Scott Lahteine 36b97bde9f clear_block_buffer, kill_current_block in quick_stop
Scott Lahteine 99282a46e9 Make sure ABL (manual) starts close to the bed
Roxy-3D 21f13f9e57
Stow Probe at end of G29 J3
KangDroid 6c535081ec [2.0.x] Add optional menu item to toggle software endstops ()
Scott Lahteine 3c5c6d478a Prettify process_parsed_command
Scott Lahteine 0535ebc4d2 MESH_BED_LEVELING before PROBE_MANUALLY
Scott Lahteine bb7064cc30 Tweak MBL move to bed code
Chris Pepper cc6d41e1d3 Use a macro for HAL header redirection ()
Luc Van Daele 12785583d0 [2.0.x] G33 MIN_STEPS_PER_SEGMENT ()
Yunhui Fu c96412a78f [2.0.x] UTF-8 language translation support ()
Scott Lahteine daa712455b Make sure MBL starts close to the bed
Fix 
Scott Lahteine 4c8751727a Fix M118 parameter handling
Fix 
Scott Lahteine 3bc179a16f Compress/update comments ubl_motion
…to fit more code on the screen and correct outdated commentary contrasting ABL.
Luc Van Daele 646aa20b43 Overhaul of G33 Delta Calibration ()
Luc Van Daele ac2e0afb62 Low Point for delta calibration ()
Eduardo José Tagle 57a899a412 [2.0.x] 6th-order jerk-controlled motion planning in real-time for AVR ()
Bob-the-Kuhn 85014cd132 [2.0.x] LPC1768 - automatic selection of upload disk ()
Scott Lahteine 8669dba5e6
Merge pull request from noingwhat/2.0.x-Filament-Change-Acceleration
[2.0.x] Filament load/unload add acceleration for Bowden
Scott Lahteine 472ab0cc24 Tweak RAMPS SDSS pins
LichtiMC b94c8defee Provide additional information about SMART-RAMPS board ()
Scott Lahteine 6f8e228880 Add RESET_PIN to pins_RAMPS_SMART.h
Sean 2d9b0a66fe Add Filament Change accelerations
Scott Lahteine 71d3523254 Add Filament Change accelerations to example configs
Scott Lahteine 8b8ad14178 Add Z_PROBE_LOW_POINT to prevent damage
Scott Lahteine 82dafbba33 Add Z_PROBE_LOW_POINT to example configs
Roxy-3D a731a723e8 Better i3-2020 Z_PROBE_OFFSET_FROM_EXTRUDER
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
Scott Lahteine 3e3911fb81 Use planner.leveling_active for all leveling systems
Scott Lahteine 32c607ffe2 Ensure fade factor is recalculated if fade height changes
Scott Lahteine ca1e47375c Move fade_scaling_factor_for_z to Planner
Scott Lahteine 9a930ebec2 Make leveling_is_active a macro
Scott Lahteine 58abc66c1d Tweak bed leveling conditionals
Scott Lahteine 1adb5a6a48 Remove obsolete UBL z_offset
gallynero 3619a4cbea fix 'axis_unhomed_error' not defined error
Fix 'axis_unhomed_error' not defined error when pause with unhomed status
Alexey Shvetsov 12d212d1b4 Python isnt always python2
So now this script is compatible with both python versions 2 and 3

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Scott Lahteine cc01a36363 Merge pull request from thinkyhead/bf2_more_READMEs
[2.0.x] Add a README.h file for Arduino IDE users
Scott Lahteine 4764710b11 Add a README.h file for Arduino IDE users
Bob-the-Kuhn 4e3ee845b9 config_adv ()
get rid of twi.h

move to board files
Roxy-3D 0e260c6c1d Get FolgerTech i3-2020 working again with 32-bit platforms ()
Setup FolgerTech i3-2020 Configuration files as a reference platform for
32-Bit work.

Also fix MAX7219 debug lights on 32-bit platforms.
Bob-the-Kuhn 26bfae58d4 MPC4451 I2C support
Scott Lahteine 1f5c432e29 Merge pull request from thinkyhead/bf2_neopixel_full
[2.0.x] Move FILAMENT_RUNOUT_SENSOR to a feature
Scott Lahteine 732e87e83c Merge pull request from GMagician/Serial-double-echo-fix
[2.0.x] Serial double echo fix
Scott Lahteine f8e8fcb978 Move FILAMENT_RUNOUT_SENSOR to a feature
Slawomir Ciunczyk a11e6a1022 Different NEOPIXEL types
Same as  but for 2.0.x,
Lot of cleanup and remove references in whole code to other "LED files" than leds.h. Now will be much easier to add next drivers/libraries. e.g. FastLED. But bad news, currently FastLED is suporting only RGB devices (no RGBW)
Scott Lahteine b30b55307c Merge pull request from thinkyhead/bf2_goodbye_legacy_advance
[2.0.x] Remove legacy ADVANCE feature
Scott Lahteine 1d04197f2f Merge pull request from thinkyhead/bf2_probeless_ubl
[2.0.x] Allow UBL G29 and G26 to build without a probe
Thomas Moore 9b0ee53b12 Use segmented moves when moving axis from LCD
Scott Lahteine 442669d23c Allow UBL to build without a probe
Scott Lahteine 20ebe218c8 Tweaks to VIKI lcd support
Scott Lahteine 09fa34a9e1 Modernize configs
Scott Lahteine 560d366b80 Move VIKI SCK/MOSI pins fix to Conditionals_POST.h
Scott Lahteine e9bcb9d048 Add 4 new LCD displays
Scott Lahteine 03f4891fb9 Remove legacy ADVANCE feature
GMagician 546f02c6f4 [2.0.x] Addressing
Compiler error, added char c variable
GMagician eb96d37da0 Serial double echo fix
Fix double character sent when TX buffer size is 0 on mega2560
Scott Lahteine deeea98d22 LCD filename already concatenated
Scott Lahteine a058638d11 Merge pull request from thinkyhead/bf2_fill_eeprom_dat_ff
[2.0.x] Update LPC persistent store to initialize eeprom.dat with FF
Scott Lahteine ae1a18d0a1 LCD filename already concatentated
Scott Lahteine 12aa1b999a Fix display issue with SD_SORT_ALPHA cached names
Dave Johnson 9d0e4ea3d5 [2.0.x] Auto-enable DISABLE_REDUCED_ACCURACY_WARNING if HOME_AFTER_DEACTIVATE enabled ()
* Auto-enable DISABLE_REDUCED_ACCURACY_WARNING if HOME_AFTER_DEACTIVATE enabled

If HOME_AFTER_DEACTIVATE, there is no need to warn on LCD since printer will home prior to starting print.  Saves 60 bytes PROGMEM on AVR with U8g panel.

* Reduce lines used

* Reduce lines used
Scott Lahteine 8315a8a716 Apply fixes for DUE
Alternative to . If F_CPU is greater than 1000 it can be evenly divided by 8. Over 10000, 16; over 100000, 32; over 1 million, 64; etc.
Scott Lahteine 4b36a542e0 Merge pull request from thinkyhead/bf2_hotend_messages
[2.0.x] Addressing 
Unknown 12730c1303 [2.0.0] Resolve USE_CONTROLLER_FAN compile errors
Add to controllerfan.cpp:
#include "../module/stepper_indirection.h"
#include "../module/temperature.h"
Scott Lahteine 7fb3343bda [2.0.x] Addressing
Change "extruder" to HOTEND in sanity error messages
victorpv 8998f31ee1 Update LPC persistent store to initialize eeprom.dat with FF
This change initialize any data in eeprom.dat beyond the current file size to FF.
That way if eeprom.dat is deleted and created again, it doesn't take the old values or random ones, but rather starts with FF in all positions as a real brand new or erased eeprom.dat
Currently if you delete eeprom.dat and restart the board, the new file is created in the same sector with the same content, since FAT does not actually delete the data, just marks the sector as free. I tested by deleting the file, and then rebooting the board, and checking the file content.
The change can be tested in the same way, deleting, rebooting the board, and then the new content should be all FF.

If an eeprom file already exist with data on it, but smaller than E2END, it will be padded with FF on first access, so it will not have random or old content appended.
Scott Lahteine 2aa22c5a5e Merge pull request from thinkyhead/bf2_anet_encoder_pulses
[2.0.x] Fixing ANET encoder pulses
Scott Lahteine f99d1dedae Fixing
Derived from 
Scott Lahteine de84f57a9c Patch SD file draw bug
Scott Lahteine ef90b49fff Remove extra NEWPANEL settings in Conditionals_LCD.h
Scott Lahteine 67a7dd9792 Merge pull request from thinkyhead/bf2_finally_G33_is_done
[2.0.x] Apply G33 updates
Scott Lahteine b220bc7521 Apply G33 updates
Adapted from 
Scott Lahteine 9fe7f53216 Misc general spacing cleanup
Scott Lahteine c0382cd8cd Add UTF-8 mapper for Slovak language
Based on ,  by @rmoravcik
Scott Lahteine c81843a414 Set TEMP_SENSOR_0 to 1 in CR-10 example config
As pointed out in  by @totalitarian
android444 72693a7e87 [2.0.x] Fixed RAMPS FD V1 pins.h file ()
* test only

test

* Fixed RAMPS FD V1 pins.h file

* Fix typo
Chris Pepper aa51a02b8f LPC1768: fix serial buffer underrun ()
When the buffer is empty index_write == index_read, but they needed constrained by buffer_mask
Chris Pepper 46b2773e13 General fixes for LPC1768 ()
* fixed some include paths

* LPC1768: Fix Serial API

Add missing serial methods used if TX_BUFFER_SIZE is set
Change return value of HalSerial:read to match Arduino API

* LPC1768: add filters to ADC

This is to try and compensate for hardware issue and oversensitivity to noise

* LPC1768: remove the polling section of delayMicroseconds

* LPC1768: lock usb mass storage device while device accesses it.

Currently only applicable to persistent store,
The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window.

* Add timeout to make sure if Serial never connects that Marlin still boots

* Remove unneeded ifdef CPU_32_BIT

In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform

* LPC1768: relocate RE-ARM debug_extra_script.py
Scott Lahteine 7258218f89 Fix xon_xoff_state initialization
Scott Lahteine bf596fb039 Merge pull request from thinkyhead/bf2_xon_xoff
[2.0.x] Add XON/XOFF serial handshaking
Scott Lahteine ca3c9baf1b Fix DUAL_X_CARRIAGE manual moves, add T0/T1 menu item
Scott Lahteine a8b8d4e85e Add a typedef for MENU_ITEM(function,…) functions
Scott Lahteine 6ea2cc0293 Make prepare_move_to_destination_dualx a proper move function
Scott Lahteine e472a7569b Remove extra auto_current_control call
Scott Lahteine 508d764d63 Add serial XON/XOFF handshaking
From @ejtagle, originally 
Scott Lahteine af15383578 Add XON/XOFF options to example configs
Scott Lahteine 33c4d45f2f Merge pull request from thinkyhead/bf2_fix_resume_print
[2.0.x] Fix broken M600 resume_print
Scott Lahteine a03e70d46c Fix M600 resume_print
Derived from  and 
Scott Lahteine 2d41c59320 Tweak some spacing
Scott Lahteine 5ae390e240 Apply NO_MOTION_BEFORE_HOMING to examples
Scott Lahteine 90af1fe5ee Implement NO_MOTION_BEFORE_HOMING option
Scott Lahteine 965b0ab53e Spacing adjustments
Scott Lahteine ac41eb5871 Merge pull request from tcm0116/2.0.x-warnings
Cleanup 2.0.x compiler warnings
Thomas Moore ae2173cd52 Synchronize retractions
Thomas Moore 0cb00f52d9 Cleanup warnings
Bob-the-Kuhn 1beaef0452 fix 3S hang & enable SPLIT
Thomas Moore 020ce176c4 Fix Servo class compile errors
Bob-the-Kuhn 62054af6eb 2.0 compile issues
Christopher Pepper bea3ec2724 M355 S0, S1 fixes & faster LCD, SD card
fix Travis error
Scott Lahteine 8c622a59cf Merge pull request from thinkyhead/bf2_lcd_leveling_status
[2.0.x] Show leveling status on character LCD
Scott Lahteine 56c05a7015 Show leveling status on character LCD
Scott Lahteine 2ee4eef25c Merge pull request from
[bugfix-2.0.x] Fix compiler error (issue )
Scott Lahteine ffed785656 Merge pull request from thinkyhead/bf2_HAL_STM32F1
[2.0.x] HAL for STM32F1
Scott Lahteine 604b804125 Add confirmation step to Init EEPROM
Tannoo c869dc9745 User script return-to-status option
victorpv e9acb63290 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.
Scott Lahteine c2b1d51f16 HAL whitespace and style cleanup
Scott Lahteine c272f2c84e Cleanup pins spacing
Scott Lahteine dff2904c0f Marlin code whitespace cleanup
Scott Lahteine 599f2ad983 Define pin accessors more like <Arduino.h>
Scott Lahteine 358656acc3 Tweak HAL_adc_start_conversion
Scott Lahteine 0cb4d25431 Tweaks to Servo classes
Phr3d13 10c1b442ca Fixes for Anet10 and gt2560
Fixes for 2 "... not declared in this scope" compiler errors.
Phr3d13 5a3a53379f Update pins for GT2560_Rev_A_Plus
For PR 
Scott Lahteine fdf1b8a7b8 Fix sanity check for LCD_FOR_MELZI
Comes from 
Scott Lahteine b93a55e15f Fix ST7920_DELAY_2 potentially being unset
Comes from 
Scott Lahteine ce1638e32f Add Babystep Z graphic overlay
See PR 
Scott Lahteine 49c693c85b Tweak to serial macros
Scott Lahteine 46709ed7e0 More featureful CR-10 configurations
See 
Scott Lahteine 2b112143fa Update Sanguinololu config version
Scott Lahteine 7cd5eb6d42 Update LEVEL_BED_CORNERS config option
Scott Lahteine 981a610f75 Disable BABYSTEP_XY, add to SDSORT comment
Scott Lahteine 4c5be9bb05 Fix a PARKING_EXTRUDER comment
Scott Lahteine 494b0eba2d Config spacing fix
Scott Lahteine 2281154025 Increase BABYSTEP_MULTIPLICATOR to 100
Scott Lahteine 92dbf5f148 Fix babystep edit label, allowing translation
Scott Lahteine 37eb6d1732 Babystepping code tweak
Scott Lahteine 7a29f802d0 Fix ENCODER_PULSES_PER_STEP for G3D_PANEL
Scott Lahteine 5972251b17 No need for unused LCD_PINS_Dn
GMagician c508e9adec Fix compiler error
Added missing include file,
called 'leveling_is_active()' with no prototipe defined.
Scott Lahteine c4e4a0688c Fix bug in SD Autostart
As pointed out by @marcio-ao in 
Scott Lahteine 6d5fcac54a G33 changes from 1.1.x
Dave Johnson f58ba3a64e Improve AVR arch detection
Replace ARDUINO_ARCH_AVR with __AVR__ to better detect architecture for non-Arduino dev environments.  Resolves compile failure in PIO for 8-bit Teensduino targets

More info:
https://forum.pjrc.com/threads/33234-Using-Teensyduino-Selecting-Teensy-3-2-3-1-board-has-incorrect-platform-define
http://www.atmel.com/webdoc/avrlibcreferencemanual/using_tools_1using_avr_gcc_mach_opt.html
Scott Lahteine 71d63fcafb Apply LCD changes from 1.1.x
Changes from 
Scott Lahteine 1587962547 Combine G-code files into fewer units
Addressing 
Scott Lahteine bfd1e75c04 Patch for caselight + lcd compile issues
Scott Lahteine ff1f211eb4 Merge pull request from tcm0116/move_framework
Move LPC1768 framework out of Marlin source folder
Thomas Moore ddbd4b73e0 Move LPC1768 framework out of Marlin source folder
GMagician 00b1b33816 Fix compiler warning
Scott Lahteine f37ed314e0 Friendly layout for Arduino IDE
Scott Lahteine 06a02dd200 Workaround for SCK/MOSI pins on VIKI
Scott Lahteine f9ef446fb5 Clean up after refactor
Scott Lahteine 64dfb46461 Move z_endstop_adj to Endstops
Scott Lahteine 2e20c53c9d Move endstop debug to Endstops
Scott Lahteine a10451ceed Move Volumetric methods to Planner
Scott Lahteine 6f92ab7eed Move Controller Fan to feature
Scott Lahteine 07cf75883f Move T (tool change) to cpp
Scott Lahteine 927524af6b Move M999 to cpp
Scott Lahteine 1a37ebc76d Move M163-M165 MIXING_EXTRUDER to cpp
Scott Lahteine 8ca0b2fd68 Move M355 caselight to cpp
Scott Lahteine 59608086e6 Move M350_M351 to cpp
Scott Lahteine 6e0503eab2 Move M907-M910 to cpp
Scott Lahteine 2e89685154 Move TMC2130 g-codes to cpp
Scott Lahteine 19dde5be03 Move M900 to cpp
Scott Lahteine 1b0acbff72 Move M605 to cpp
Scott Lahteine 75cf17d816 Move M702 MK2_MULTIPLEXER to cpp
Scott Lahteine 7ba2ab4fb3 Move M540 to cpp
Scott Lahteine a90c7dbf64 Move M500-M503 to cpp
Scott Lahteine aab5489962 Move M428 to cpp
Scott Lahteine 1fe25271e4 Move M401_M402 to cpp
Scott Lahteine 0589884d26 Move M400 to cpp
Scott Lahteine 4a220a8b79 Move M380_M381 to cpp, solenoid feature
Scott Lahteine 9be8cb0ac9 Move M360-M364 to cpp
Scott Lahteine 828405cac8 Move M302 to cpp
Scott Lahteine 8584f7e390 Move M250 to cpp
Scott Lahteine ebb9bd5419 Move M240 to cpp
Scott Lahteine d4aaa0f1c8 Move M304 to cpp
Scott Lahteine 609c4eea32 Move M301 to cpp
Scott Lahteine 4f14849675 Move M300 to cpp
Scott Lahteine 6ed5252884 Move M280 to cpp
Scott Lahteine d4d3d92f8a Move M260_M261 to cpp
Scott Lahteine 3e761696a0 Move M226 to cpp
Scott Lahteine 0e319104c2 Move M220 to cpp
Scott Lahteine 234de3547c Move M211 to cpp
Scott Lahteine 6c7bad8bc3 Move M666 to cpp
Scott Lahteine f5877aa93e Move M665 to cpp
Scott Lahteine 33861d4e04 Move M206 to cpp
Scott Lahteine 7aca9fe2f7 Move M203-M205 to cpp
Scott Lahteine b3822b9242 M202 is unused
Scott Lahteine 5e63efc1d9 Move M201 to cpp
Scott Lahteine 92c15f5578 Move M150 to cpp
Scott Lahteine eef4a54778 Move M119-M121 to cpp
Scott Lahteine 379f16558e Move M118 to cpp
Scott Lahteine 811c32b85a Move M117 to cpp
Scott Lahteine 1d2061c935 Move M115 to cpp
Scott Lahteine 81b8fbf4d6 Move M114 to cpp
Scott Lahteine 5d2681a105 Move M100 to cpp
Scott Lahteine beb346e49f Move M92 to cpp
Scott Lahteine 381b17e6a9 Move M18_M84, M85 to cpp
Scott Lahteine a911215b0e Move M82_M83 to cpp
Scott Lahteine 4b9d1b9f26 Move M80-M81 to cpp
Scott Lahteine 0c7ba52451 Move M149 to cpp
Scott Lahteine cbf40f7ee9 Move M145 to cpp
Scott Lahteine b464887ea1 Make BARICUDA a feature
Scott Lahteine 14a5d2a273 Move M113 to cpp
Scott Lahteine 06f3c8029e Move M111 to cpp
Scott Lahteine a831977dee Move M110 to cpp
Scott Lahteine 7479ff98b7 Move M140, M190 to cpp
Scott Lahteine 5b3e49babd Move M108, M112, M410 to cpp
Scott Lahteine df0432c7c8 Move M155 to cpp, auto-report to Temperature
Scott Lahteine df031ab100 Move M106_M107 to cpp
Scott Lahteine 99c4b9050a Move M105 to cpp
Scott Lahteine a41130f854 Temp stat LEDs
Scott Lahteine 2c1eda9e00 Move M75-M78 to cpp
Scott Lahteine fc52fc72ac Move M48 to cpp
Scott Lahteine be8d913484 Move M43 to cpp
Scott Lahteine 10fab24e50 Move M42 to cpp
Scott Lahteine 69b664b6fe Move M31 to cpp
Scott Lahteine a442c34a1a Move SD commands to cpp
Scott Lahteine be0e4a4ad0 Consolidate pause, apply to M125, M600, M24
Scott Lahteine adca4a9b79 Move M17 to cpp
Scott Lahteine 33e00b6cd6 Move M3-M5 to cpp
Scott Lahteine 04583d46af Move M0_M1 to cpp
Scott Lahteine 04376975ce Move G92 to cpp
Scott Lahteine 931aa79d85 Move G42 to cpp
Scott Lahteine 84ddae56a8 Move G38 to cpp
Scott Lahteine b8adae0785 Move G31_G32 to cpp
Scott Lahteine 9db5d21837 Move G30 to cpp
Scott Lahteine 13136376ee Move G27 to cpp
Scott Lahteine a1ee1628e5 Move G20_G21 to cpp
Scott Lahteine 9b4aa5ea8b Move G17-G19 to cpp
Scott Lahteine 94d9def81c Move G12 to cpp
Scott Lahteine 56f4a43535 Move G5 to cpp
Scott Lahteine 760f29a88e Move G4 to cpp
Scott Lahteine 4007cbfe9e Move G2_G3 to cpp
Scott Lahteine 27f7e3fe6f Hide problem pins in pin debug list
Scott Lahteine 9c21191f74 Rename SPI class to avoid conflict (good?)
Scott Lahteine 51f195e698 Move dwell to gcode
Scott Lahteine 4f1eadf41f FILAMENT_WIDTH_SENSOR feature
Scott Lahteine d5fe0fb02b Consolidate PrintCounter
Scott Lahteine 551752eac7 Consolidate "bedlevel" code
Scott Lahteine 71aefc2e22 Move heater output to Temperature class
Scott Lahteine 63228fc453 Move volumetric flag to GCodeParser
Scott Lahteine bf7af95db3 Move flow_percentage to Planner
Scott Lahteine 8dc2838d98 Move host keepalive to GcodeSuite
Scott Lahteine 8fbb833de9 Encapsulate RGB(W) LEDs
Scott Lahteine a98e9874db FWRETRACT as a feature
Scott Lahteine 722786966a Add gcode.cpp, motion.*, queue.* - Apply to some G-codes.
Scott Lahteine 4231faf779 Initial split-up of G-code handlers by category
Scott Lahteine e0a189a481 Consolidate Buzzer
Scott Lahteine bca67a5b79 Main controller updates
Scott Lahteine 142d8aae56 Move debugging to serial.*
Scott Lahteine a1e2b5da70 Fix LCD_PINS_Dn tests in pinsDebug_list.h
Scott Lahteine 038f82cc38 Fix L6470 init and options
Scott Lahteine 42e2dd9251 Build file updates
Scott Lahteine 614a86a380 SD file updates
Scott Lahteine 82fff87e16 Pins updates
Scott Lahteine 3d8a0ab4b2 Module updates
Scott Lahteine 0fcec02db5 LCD updates
Scott Lahteine 7dd0a46732 Language updates
Scott Lahteine 4a82e95c3e Feature file updates
Scott Lahteine d7ee81202f Libs updates
Scott Lahteine 34101224c4 Inc updates
Scott Lahteine f52a31a275 Core updates
Scott Lahteine 479652073b Config updates
Scott Lahteine 54326fb06a HAL updates
Scott Lahteine 7e42c7563c Move build files into place
Scott Lahteine b66d65f865 Move 'sd' files
Scott Lahteine 0b9a88d6ce Move 'pins' files
Scott Lahteine 2b3b7d5d7f Move 'thermistor' files
Scott Lahteine 0c9231fd04 Move 'module' files
Scott Lahteine efa578d6b0 Move 'libs' files
Scott Lahteine cc92e544a5 Move 'lcd' files
Scott Lahteine 5be07b5db2 Move 'inc' files
Scott Lahteine 9ea2ff950a Move 'gcode' files
Scott Lahteine 4e4d16c92e Move 'core' files
Scott Lahteine fa5f9c2aec Move 'feature' files
Scott Lahteine f536c4dccb Move configs
Scott Lahteine 48351fd6d5 Move root sources
Scott Lahteine 27cbb939b2 Clean up some HAL code
Christopher Pepper b29b66feda Temporary fix for odd stepper behaviour with servos
Christopher Pepper 8afe13b1a2 Fix compile issue when watchdog was disabled
Christopher Pepper b908e38d08 Add needed platform defined gaurds to compile with Arduino IDE
Also removed explicit platform HAL directory inclusion from platformio.ini to make sure these errors are caught by Travis in the future
Scott Lahteine a037ddbf7b Other spacing tweaks
Scott Lahteine 2af62a5d8d Apply spacing, const to some HAL code
kfazz fa9ff6be6e try to fix LIN_ADVANCE for 32bit
kfazz 18f97c4013 add HardwareSerial and SoftwareSerial for Re-ARM.
HardwareSerial has been tested on Uart0 (debug header) and Uart3 (i2c connector)
Software Serial has been tested to work bi-directionally at 9600 and 115200
using pins 6 and 63 on J5, and unidirectionally (write only) at 250000.
The code used to test was Teemuatlut's tmc2208 patch, and a few small changes to main used to echo recieved chars back to a host pc.
Bob-the-Kuhn 01fb45b4f8 hybrid PWM system
Uses PWM1 to directly control pins 4, 6 & 11 (servo 0, 1 & 3) and PWM1
generated interrupts to control other pins.

Interupt control of the servo pins had too much jitter so switched all
that we could to PWM1 direct control.  The PWM1 direct control pins have
less than 1 microsecond pulse width jitter while the interrupt
controlled ones can have 20+ microseconds of jitter.

Also added insurance to the servo code in the "disable servo after move"
section.
Tannoo 94dd39b3b7 LCD_UBL_memory_slot_corrections ()
* LCD_UBL_memory_slot_corrections

Changed the memory slot edit function to work with the
`settings.calc_num_meshes()`

* Add a little more safety margin...

* More corrections

Error handling when the EEPROM is not available.
Roxy-3D 8587c4e1ec Minor corrections to 32-bit branch ()
Mostly...  clean up some compile time warnings for the 20x4 LCD Display.
Bob-the-Kuhn 7342d5c07a ST7565
Bob-the-Kuhn 97444391e0 Servo & PWM support for LPC1768 ()
Tannoo 859fa35287 Re-Arm bugfixes ()
* UBL_correction

* RGB Map function
Bob-the-Kuhn d80877d570 Set pinMode with every digitalWrite (legacy compatibility)
Chris Pepper 9a950e3a5a Update the delay functions and change the default pinmap for character displays ()
Scott Lahteine 105324b85b Match the license headers in other files
Bob-the-Kuhn 69704b93f2 ultralcd.cpp fix compile error - switch to int16_t
Chris Pepper 61c0a10efe Revert "SPI API platform implementation stubs" ()
This reverts commit 2dfa6ca72a2e8d43caf4932ca0d35792f0638917.

Revert "Base HAL SPI Changes"

This reverts commit 2afc521b8b6a81b2281a038f1b99a69f4a008e64.

Revert "Initial HAL SPI API"

This reverts commit 58f7ffe09ab5bc034b6510f5204f8d342138abaa.
Chris Pepper a5cf3a190c bugfix-2.0.x critical fix ()
* Fix mistake in gitignore file and add in missing core files.

The missing leading slash on "lib" meant all folders names lib in the directory tree are ignored, rather than just the top level PlatformIO lib folder

* Add LiquidCrystal Library and associated headers modified to compile.
Bob-the-Kuhn 76da81c1de minimize SD card reads when using SDCARD_SORT_ALPHA (Re-ARM board)
Because of the Re-ARM card's pinout there is only one SPI connected to
the RepRap Discount Full Graphic LCD display.  The LCD responds to ANY
SCK transitions no matter if it's enable is inactive.  The result is
garbage (usually bars) on the LCD display whenever there is SD card
activity.

This code minimizes this by only accessing the SD card when changing
directory levels if :
SDCARD_SORT_ALPHA is enabled
SDSORT_USES_RAM is true
SDSORT_CACHE_NAMES is true

The code changes result in file names being pulled from the ALPHA SORT
memory array rather than the SD card.

The code also gives the file count and file index functions their own
variables.  When they shared a common variable the index function
sometimes resulted in the file count being short by 1.

=======================================================================

cardreader.cpp & pins_RAMPS_RE_ARM.h changes

Added another condition to cardreader.cpp to enable getting file names
only from RAM.

pins_RAMPS_RE_ARM.h :
Added comments about the SD card accesses and the LCD display
Combined all versions into this one.
Bob-the-Kuhn 84a11cfedc HAL compatible pinsDebug & misc
Re-ARM has been tested.  AVR has not been tested.

1) moved all cpu specific items to files in the low level HAL directory
for that CPU (pinDebug_Re-ARM.h & pinsDebug_AVR_8_bit.h

2) added pinsDebug.h to the top level directory

3) modified HAL_pinsDebug.h to select the correct support file for the
selected CPU

4) Patched sanitycheck to stop throwing false errors.  A long term
solution will be done

5) misc changes & bug fixes
arduino.cpp - included macros.h to fix a missing definition
pinmap_re-arm.h - removed a duplicated line.
pinmapping.h - changed from "ENABLED" to "defined" to fix a compile
error

======================================================================

split SanityCheck up, improve pinsDebug system

======================================================================

switch to latest pins_RAMPS_RE_ARM.h
Christopher Pepper 32e759c928 SPI API platform implementation stubs
Christopher Pepper 4183a249b6 Moved CMSIS and other LPC1768 dependencies
Fixes Arduino IDE builds for 8-bit AVR,
misc: Adafruit NeoPixel currently incompatible with Teensy 3.5-6, blacklisted
Christopher Pepper b55295ad33 Post merge fix
Add macros.h to allow Enabled macro, also need to reference include files directly
Christopher Pepper c66d1ac651 Debug Pins Support
Christopher Pepper a31e32969f Base HAL SPI Changes
Christopher Pepper bcd050f33b Initial HAL SPI API
Christopher Pepper 44b0c186a6 HAL for Re:ARM (LPC1768) architecture
teemuatlut f3e562e46e HAL for 32-bit Teensy (3.5, 3.6) architecture
Christopher Pepper cfef925559 HAL for DUE architecture
Christopher Pepper 4b16fa3272 Implement HAL and apply macros across code-base
Implement AVR Platform
Scott Lahteine e4fcf460e7 Marlin bugfix-2.0.x Version/README
Scott Lahteine 367e1b54ba Merge pull request from thinkyhead/bf1_misc_patches
M111: no args reports current flags
Scott Lahteine 8a184a526a Marlin: Patch G33, allow M111 to give status
Scott Lahteine 353c23b16e Enforce BED_CENTER_AT_0_0 on Delta, SCARA
Scott Lahteine 898f48e331 CNC workspace planes for G5
According to LinuxCNC, G5 should throw an error if the current plane mode isn't XY.
Scott Lahteine 5851c2d36f MAX7219 followup ()
* Add MAX7219_DEBUG to Travis CI testing

* Tweak config and use standard pin naming for MAX7219_DEBUG

* MAX7219: Apply coding standards, use macros, etc.

* Make code work...
Scott Lahteine 52073f21c5 Merge pull request from thinkyhead/bf1_slovak_language
Slovak UTF-8 translation
Scott Lahteine 321f98f867 Fix servo delay in Folgertech config
jneilliii 36771e9492 Fixes required for Creality CR-10
Roxy-3D 3f0b38ed5d Add Max7219 LED Matrix Debug Support ()
* Add Max7219 LED Matrix Debug Support

The Max7219 8x8 LED Matrix's are very helpful for debugging new code.
And for that matter, just trying to maximize printer settings without
causing stuttering.

The displays are very inexpensive (under $2.00 with shipping) and
provide a lot of help when trying to debug complicated code.

* Try to keep Makefile up to date.
GMagician 0067bb2840 Addressing
When M405 is used it changes 'volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]' value. When M406 disables M405 it leaves the value unchanged.
This PR applies 'calculate_volumetric_multipliers' in M406 instead of resetting it to 1.0 because M200 may not be compatible with M405 hence I'm sure to restore anyway with correct value.
Scott Lahteine 2b12093589 Merge pull request from thinkyhead/bf1_fan_mux_vben
New feature: Part-Cooling Fan Multiplexer
Michal Holes 54d48130f3 Slovak UTF-8 translation
Slovak UTF-8 translation
Scott Lahteine 86c024ce98 Organize, document pins.h include lines
Scott Lahteine c7b07d20f2 Minor patches to pins files
Scott Lahteine 356af7dcb0 Tweak Sanguinololu-related pins files
Scott Lahteine 11a724d8fc Sanguinololu example configuration
Scott Lahteine e337df2e98 Miscellaneous tweaks to serial outputs, code cleanups
Vben c0409b85e7 New feature: Part-Cooling Fan Multiplexer
Scott Lahteine e82e9073d6 Merge pull request from GMagician/Code-reduction
Code reduction with some configurations
GMagician 6127154af3 Fix identation by tab
There was a tab instead of spaces
GMagician b94a1c6b9f Code reduction this some configurations
When switching noozle and extruder but these operations are done by the same servo in 'setup' function there is a unnecessary call
GMagician 405a2132f3 compile fix
I made an error in previous fix
GMagician 869d7f3703 missing part
 integration has missed this part.
When more than 1 servo is used with bltouch it's impossible to predefine default servo delay for it.
In my original fix I completely removed this part but maybe this is a better compromise
Scott Lahteine 101ba70517 Merge pull request from thinkyhead/bf1_anet_1_pio
Add Anet 1.0 to Platformio.ini
Vben 4817b39d98 Added new feature for AutoParking Extruder (APE)
Scott Lahteine 6772e33ef6 Use [XY]_CENTER for error correction
Followup to 
Scott Lahteine 385f1bb9e5 Merge pull request from thinkyhead/bf1_servo_delays
Individual servo delays
Scott Lahteine 2a31c9f2ce Merge pull request from cdedwards/bugfix-1.1.x
Fix for G26 spam output
MTrab 5fa61c0ad3 Add Anet 1.0 to Platformio.ini
Added env:anet10 to platformio.ini for easy compile and upload to this board
Scott Lahteine b3f59ec945 Merge pull request from thinkyhead/bf1_cleanups_aug_16
Add "Level Corners" menu item
Tannoo b33739d493 UBL_Language_Update ()
* UBL_Language_Update

Translatable strings

* Use slightly better wording...

* Use slightly better wording...
Scott Lahteine a1878cd1c0 Add "Level Corners" menu option
Scott Lahteine 0a18fb735e Use "PSU" label to fit on screen
Scott Lahteine 30887feae3 Tweak some formatting in ABL G29
Thomas Moore 257b693ab0 Advanced pause fixes ()
* Disallow filament change while paused

* Use kinematic movemements in pause_print and resume_print
Tannoo ab2ac1af71 UBL_LCD_storage_corrections ()
Correcting the storage selection.
Also EEPROM error handling on the LCD.
cdedwards f1843211e6 Fix for G26 spam output
while heating, G26 will continuously spam the heater states instead of printing it out every 5000ms.
Roxy-3D be5ca34215 Allow G29 to work correctly even if nozzle is off the mesh. ()
* work around previous regressions...
Scott Lahteine 06541ec885 Merge pull request from thinkyhead/bf1_delta_fixes
Prevent damage if DELTA_HEIGHT is set badly
GMagician e9c72978c7 Implement SERVO_DELAY as array
This modify give SERVO_DELAY x servo basis
Scott Lahteine 96ae53cf41 Use MOVE_SERVO macro where possible
Scott Lahteine 3be9c19f12 Hold on move axis screens
Scott Lahteine 8fd58cd6dc Patch goto labels for consistency
Scott Lahteine 75e6f72c89 Fix hexadecimal number formatting
Scott Lahteine ac76101ec3 Eliminate goto in gcode_M48
Scott Lahteine 75e6ead5fd Eliminate goto in gcode_G33
Scott Lahteine 6bd63d27b5 Updates to G29 for probe error handling
Thomas Moore f54e0fc90f Prevent damage if DELTA_HEIGHT is incorrect
Scott Lahteine 0938c62b48 Neater position_is_reachable call
Scott Lahteine 9d95b1b4df Tweak Conditionals_post.h
Scott Lahteine 35d5a7bdff Tweak CR-10 config/pins
Scott Lahteine 419c8969a7 Merge pull request from thinkyhead/bf1_fix_italian
Fix Italian string length
Frederik Kemner 25a11cd485 Use bed size and inset instead of travel limits to define mesh area\n\nAs proposed in ()
Scott Lahteine 7f3406d47b Fix Italian string length
Addressing 
Jozsef Kiraly 97c21e9007 Support for Geeetech GT2560 Rev.A/Rev.A+
Scott Lahteine b2822a59f9 Add a sanity check for valid bed size
Scott Lahteine a7e5c1bf19 Use float to init TMC2133 steps-per-mm
Scott Lahteine dd66d21749 Extend DEACTIVATE_SERVOS_AFTER_MOVE sanity-check
As proposed in 
richarddeweerd b370906031 Example config for Geeetech I3 Pro X with GT2560 controller
Scott Lahteine 804818b4d9 Bring configs up to date
Scott Lahteine dd841a3675 Merge pull request from benlye/user-script-feedback
Make audible user script feedback optional
Florian Heilmann 0fd2923a9f Fix compilation with ADVANCED_PAUSE_FEATURE without SDSUPPORT ()
* Fix compilation of ADVANCED_PAUSE_FEATURE without SDSUPPORT

* Fix Identation

* Make use of IS_SD_PRINTING macro

as per @MagoKimbra
benlye 24af9e1bf4 Make audible user script feedback optional
Add a parameter to enable/disable audible user script feedback
Florian Heilmann 6827a162bb Update language_de.h
Add
MSG_BLTOUCH                    
MSG_DELTA_SETTINGS            
MSG_UBL_MESH_EDIT                
MSG_UBL_OUTPUT_MAP_BACKUP        
MSG_UBL_STEP_BY_STEP_MENU       
MSG_Z_FADE_HEIGHT
Scott Lahteine 3497153cf1 Followup cleanup patch
Fix regression in 
Scott Lahteine 16f8c4865a Merge pull request from FHeilmann/bf_update_ru_translation
Update Russian Translation
Scott Lahteine 622048ffb0 Clean up whitespace, trailing space, bad tab conversion, etc.
Roxy-3D 2cbdc0ebb6 Fix large Z corrections when nozzle moves off of UBL mesh ()
Florian Heilmann 650e5274c4 Update Russian Translation
Scott Lahteine ce65c13a97 Merge pull request from fiveangle/bf_lcd_bed_level_requirements
Clarify LCD_BED_LEVELING requirements
Dave Johnson 936dfb965c Clarify LCD_BED_LEVELING requirements
LCD_BED_LEVELING requires PROBE_MANUALLY with auto bed leveling enabled.  See 
Kai ffe3013bb5 Fix for
Filament change causes freeze during paused print. This PR disables Filament change in the prepare menu when a print from SD Card is paused. See 
Øystein Krog e948f77cf9 Fix DUAL_X_CARRIAGE not moving at all
Axis would only move when homing.
Bug introduced in 91841d75c9.
Fixes , fixes  and fixes 
Scott Lahteine 08b0456d91 Merge pull request from thinkyhead/bf_manual_bed_level_floor
Manual Bed Leveling: Goto previous Z height at each probe point
teemuatlut 936d00dda8 Implement probing delay for piezo sensors
Scott Lahteine 29eef360d0 Merge pull request from thinkyhead/bf_cleanup_config_adv
Fixes for FWRETRACT
Wilfried Chauveau 894608f8a3 Manual Bed Leveling: Goto previous Z height at each probe point
Scott Lahteine ff06e1a030 Merge pull request from tcm0116/delta_calib_menu
Move Delta Calibration menu to the Prepare menu
Thomas Moore 15e009b6ca Move Delta Calibration menu to the Prepare menu
Scott Lahteine bfd396c13a Patch to fix some compiler warnings
Scott Lahteine 48c5f3dddf Tweak kill action #ifdef
Scott Lahteine be7a9a07c5 Don't reset grid with `G29 Q` + PROBE_MANUALLY
Scott Lahteine dfe670247d Merge pull request from marcio-ao/bugfix-1.1.x
Makefile fixes and U8G support.
Marcio Teixeira af83c512b8 Added support for U8G.
Scott Lahteine 4eff18854b Rename options with swap_ prefix
Scott Lahteine 14482d2f2a Strip auto-retract for impossible M(IN|AX)_AUTORETRACT combo
Scott Lahteine 9fc72422e4 Don't let the flow multiplier affect retract/recover length
Scott Lahteine fee696db5d Improve retract() for G10/G11/autoretract
Scott Lahteine 423b0f3a1e Replace MIN_RETRACT with MIN_AUTORETRACT, MAX_AUTORETRACT
Scott Lahteine 51864fd365 Add bed size as a configuration option
Scott Lahteine dc7c95e07b Remove `@ section fwretract`
Dave Johnson 4718c09c48 Remove extraneous USBCON defines for AT90USB boards
USBCON is definied by serial.h pullikng in MarlinConfig.h which in turn pulls in Arduino.h.  Defining in later includes has shown to cause compile issues so removing all extraneous calls for and potentially easier future linker troubleshooting.
more USBCON unification
C. Scott Ananian 890e7a16a9 Add support for Printrbot Neopixel RGBW strip.
Connected as described at http://printrbot.com/shop/led-strip/

Based on patch by Kelly Anderson <kelly@xilka.com> at
http://www.xilka.com/printrbot/marlin/1.1.4/20170707/
Scott Lahteine a059e95463 Bring Infitary i3 config up to date
Scott Lahteine d6d6043548 Merge pull request from thinkyhead/bf_mks_ps_on_pin
MKS 1.3+: Add pin mapping for PS_ON
Alexey Shvetsov 851f9f5399 Update Russian translation - Part 1
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Scott Lahteine b7a16e4468 Merge pull request from fixoid/patch-1
Fixing SWITCHING_EXTRUDER feature to work with HOTENDS > 1
Alexey Shvetsov f38b8c5bf8 MKS 1.3+: Add pin mapping for PS_ON
This allows the use of D4 as PS_ON since MKS Gen doesn't have a PS_ON pin. However this effectively allows only 3 servos (instead of 4).

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Scott Lahteine 8a3bc6be4d Improve FWRETRACT config options and commentary
Add more details as requested in 
Scott Lahteine b0173ccdb9 Drop extra initializers for vars initialized by EEPROM code
Scott Lahteine 7afafb05b8 Split G10/G11 into separate functions
Scott Lahteine c45798694f Add some more requirements to the G-code list
Scott Lahteine 72de280c1e BARICUDA valve pressure consistently uint8_t
Scott Lahteine 4d98e3f0a7 General cleanup
fixoid e530c67349 Fixing SWITCHING_EXTRUDER feature
Tannoo 2ad3ca5d8a Bugfix ()
Roxy-3D 37a6833d7e Allow the sampled point to be added into the Least Squares Best Fit ()
Without this...  The LSF won't work because none of the sampled points
in this code block get added.
C. Scott Ananian a519b093b9 Fix build by replacing qr_solve by least_squares_fit. ()
This was broken by 9af67e2446.
Scott Lahteine 0873c667fa Apply coding standards to recent merges
Scott Lahteine 8c2907d10f Fix ABL broken by recent change
Roxy-3D 9af67e2446 Save 7714 bytes of program memory when doing AUTO_BED_LEVELING_LINEAR ()
We can save more and a pile of RAM by eleminating the eqnBVector and
EqnAMatrix arrays next.
Scott Lahteine 76e90b93b7 Volatile keyword not needed for parser.seen
Jamie Bainbridge 00e4ced58e Stay in User Menu after command. Add feedback.
When a user executes a User Menu command, the LCD returns to the main menu. If the user has multiple menu items they want to run, such as one menu item per bed leveling corner, then it's better to stay in the User Menu rather than return to the main menu.

This PR modifies Marlin to stay in the User Menu after a command.
Scott Lahteine 1066b17457 Merge pull request from thinkyhead/bf_G33_update_27
Updates to G33 and its LCD code
Tannoo e927941c06 Bugfix ()
Fix compile error when UBL is enabled but there is no LCD Panel.
Scott Lahteine 68aea9c01d Merge pull request from thinkyhead/bf_configs_by_vendor
Arrange more example configs by vendor
Tannoo aaacef9441 Corrections ()
20x4 map integration.    Also some minor changes to the UBL Menu layout.     Both 20x4 LCD's and Graphical LCD panels should have similar functionality now.
LVD-AC 4bc79ec877 Updates for G33-LCD interface
Scott Lahteine 186580b55f Arrange example configurations by vendor
Scott Lahteine 6be369f3ea Add some config names to AUTHOR
Scott Lahteine 7fc31a7940 Merge pull request from thinkyhead/bf_cleanups_jbrazio
Add support for BQ heated bed kit with Hephestos 2
Scott Lahteine 11e376e920 Merge pull request from thinkyhead/bf_cleanup_july_6
Assign -1 to LCD_PINS_D4-7 if not defined
João Brázio 2065591daf Add support for BQ heated bed kit with Hephestos 2
essgcee 61be28133d Support for Creality CR-10
Creality board is a Melzi / Sanguinololu variant, but using different pins for LCD control (and maybe other minor variations)
Scott Lahteine 9248a90a4c Assign -1 to LCD_PINS_D4-7 if not defined
Scott Lahteine 5ef1e5ef60 Tweaks for M43
Scott Lahteine c7732db99d Fix: Use of digitalRead, digitalWrite breaks on AT90USB
Scott Lahteine f713f25fa5 Clean up excess whitespace
Scott Lahteine fc9ce65095 Add `BUSY_WHILE_HEATING` for hosts that need it
Scott Lahteine c6d430670a Clear SHOW_BOOTSCREEN with no LCD
Scott Lahteine 11c589c3ec Fix compile issue with G38
Fixes 
Scott Lahteine 678914be25 Patch M23 to work around Simplify3D bug
Addressing 
LVD-AC 3efe4aeef8 Add PROBE_MANUALLY support to G33
Scott Lahteine cca1cca3a5 Merge pull request from thinkyhead/bf_cz_mapper
UTF-8 mapper for Czech
Scott Lahteine a2babb532d Merge pull request from benlye/add-kill-action
Add configurable action command to send when printer is killed
Petr Zahradník 8c34233452 UTF-8 mapper for Czech
Dave Johnson 20f6676d63 DISABLE_[XYZ] compatibility check
DISABLE_[XYZ] is incompatible with HOME_AFTER_DEACTIVATE and Z_SAFE_HOMING
Ben Lye c28749a567 Add kill action
Sends pre-defined string as action command when printer is kill.
Scott Lahteine df87278fce Add "CAP:PRINT_JOB:1" (M75 / M76 / M77) to M115 output
Scott Lahteine 4be8d7720e Fix spelling of "Chinese"
LVD-AC 567941e341 Fix for issues and
Probing with the effector in the printing area, but an eccentric probe (e.g. allen key) outside it but still touching the bed gives meaninfull information for calibration. Since calibration is most accurate when probing as close to the towers as possible the testing was way to restrictive hence this fix.
Scott Lahteine 57fff2e95e Merge pull request from thinkyhead/bf_update_git_scripts
Update Marlin+git helper scripts
Scott Lahteine 6a3967ee33 Corrections for probe_pt parameters
Scott Lahteine 534bffa7a9 Correct comment on ABL G29
Scott Lahteine e1e1a0c344 Provide a default CUSTOM_BOOTSCREEN_TIMEOUT
Scott Lahteine 69297b2d7b Make all EEPROM optimization options available
Scott Lahteine d609489b22 Drop setup_homepin
Scott Lahteine 167169e1bf Sanity check for a real probe with M48
Scott Lahteine 395a9f59ac Merge pull request from thinkyhead/bf_lcd_bootscreen
Use lcd_bootscreen for both
Scott Lahteine 14663efe0d Merge pull request from fiveangle/printrboard_revf_cleanup
Printrboard RevF cleanup
Scott Lahteine ae5923a3d0 Make lcd_bootscreen common to both
Scott Lahteine 859248433f Patch for gcode debug
Dave Johnson 09c90c2f6c Printrboard RevF Cleanup
-Update Arduino IDE extension descriptions
-Set default motor currents if not defined in Configuration_adv.h
-Support for MINIPANEL LCD
-Support for choosing internal or panel SD
Scott Lahteine 232a10410d LCD_FOR_MELZI
Scott Lahteine 76c92a1fab Clean up some trailing spaces
Scott Lahteine cf96109056 Implement the EEPROM_CHITCHAT option
Scott Lahteine dcec7178d1 Expose DISABLE_M503 option as a test option
Scott Lahteine 3e78a01262 Merge pull request from thinkyhead/bf_update_ubl_lcd
UBL radar map corrections
Tom 1ff7d10c80 Add configuration for Infitary M508 (i3 clone)
Based on Infitary's own firmware settings.
Scott Lahteine 4cb45c10dd Patch ubl lcd mesh map indentation
Scott Lahteine abd6ba62b4 Some cleanups for ubl lcd mesh map
Scott Lahteine f17bae1f70 Changes for ubl_lcd_map_control patch
Tannoo 8e0f3b7eba UBL radar map corrections
Bob-the-Kuhn fcceed5be6 intermittent Teensy & G26 compile problem
===============================================

also an issue with ubl_motion.cpp
Scott Lahteine 30b327d24c Finish the solution for
Scott Lahteine 6c97c5595c Add a sanity check for DELTA_AUTO_CALIBRATION
Bob-the-Kuhn e6e3132f79 make LETTTER_OFF return values that match param indices range
Bob-the-Kuhn bfbf5f8200 correct value_bool() when FASTER_GCODE_PARSER is enabled
Also corrected compile issue when DEBUG_GCODE_PARSER and
AUTO_BED_LEVELING_UBL are both enabled.
Scott Lahteine 406ef69702 Move Anet A8 config to subfolder
Scott Lahteine 379926961c Add Anet A6 config, edit Anet A8 config
Scott Lahteine 5b03f23fa2 Bring configurations up to date, fix some comments
Scott Lahteine e3cedfa0ec Fix a compiler warning
Scott Lahteine bb0508b6cf Fix comment in M115 code
Scott Lahteine 85777a56c6 Add A (action) and E (echo) parameters to M118
Scott Lahteine d1e8d4cd9d Merge pull request from thinkyhead/bf_20x4_lcd_update
UBL Map Cleanup and LCD display
Scott Lahteine b492e0878d Changes to reduce and simplify
Ben Lye 98d362c2da Adding M118 command to send text to serial
Allows the user to send text to the serial console in order to
communicate with a host - sending debuging information or action
commands, for example.  Text must begin with '//' and this is added if
it is not already present at the beginning of the string.
Tannoo 80abc872f3 Updated to better support the coming "radar"
Tannoo e90cbf5c16 UBL Map Cleanup
Scott Lahteine fc140c4962 Followup for I2C_POSITION_ENCODERS
Scott Lahteine f4246dc8ff Merge pull request from thinkyhead/bf_parser_shorthand
Use parser.seenval, add shorthand functions
Scott Lahteine bd776df8c1 Optimize seen_axis by moving 'X' to index 24
Scott Lahteine 05449cf6ee Add shorthand value accessors to gcode.h
Scott Lahteine 12f092c812 Cleanups to gcode.h, use seenval()
Scott Lahteine 941943c167 Apply const, spacing, etc.
Scott Lahteine 5b11b33854 Add support for Průša MK2 Multiplexer
Scott Lahteine a4a587a897 Fix spelling of Průša
Scott Lahteine ba1706a265 Fix spacing in gcode.cpp
Followup to 
Scott Lahteine c2c8aafda2 Merge pull request from thinkyhead/bf_g33_f_parameter
G33 F and Height bug fix
Scott Lahteine 627afb29df Merge pull request from tnw513/fix-italian
added missing italian translation
Scott Lahteine f0f9fb7465 Remove line that does nothing
LVD-AC 99592c8458 Update G33: Add F, fix height bug
Ben Lye 31514f453a Fix #ifdef AVR_AT90USB1286_FAMILY in pinsDebug
Can't compile with PINS_DEBUGING enabled on Atmega1284p because it tries
to enumerate pins 46 and 47 (which don't exist) because `#ifdef
AVR_AT90USB1286_FAMILY ` doesn't work as expected.
Scott Lahteine 134116b874 Merge pull request from thinkyhead/bf_czech_update
Updated Czech language
Petr Zahradník e80958b631 CZ Translate BLTouch and UBL
Fixup length
Scott Lahteine fe7e890b09 Fix issues with ADC_KEYPAD
Fixes 
dot-bob a1632cfa0a Added option 'H' to G29 P4.
- Added `H` to set a nozzle height adjustment to surface of the bed.
- Updated G29 P4 comments to reflect changes.
Scott Lahteine e687782875 Merge pull request from thinkyhead/bf_skynet_a3_ready
Add Skynet/ANET A10 support
dot-bob b3c36c98fd Edit digipot currents via LCD, save to EEPROM
Scott Lahteine 3c7bfe798d Various cleanups ahead of digipot save
Bob-the-Kuhn 9651d01e1a Add Skynet/ANET A10 support
Scott Lahteine eb314373bb Config spacing & consistency, group custom LCDs
Scott Lahteine 6c45fa7dcc Apply #elif in LCD conditionals
Scott Lahteine afbc6e3e2f Update DELTA/SCARA config comments
Paweł Stawicki 1e47c17b46 Fix: set digipot mcp4018 Vrefmax to 1.666V
Scott Lahteine 80a232419d CNC workspace planes and 'P' argument for G2/G3
Scott Lahteine 5fb0d401eb Formatting tweaks
Scott Lahteine ed04d0b6be Label DualXMode enums
Scott Lahteine 786cdea124 Ensure REPRAPWORLD_KEYPAD_MOVE_STEP is defined
Scott Lahteine ee7163fd3a Fix pinsDebug compile errors
Scott Lahteine a9f8e518bf Fix FILAMENT_WIDTH_SENSOR infinite loop issue
Addressing  and 
Scott Lahteine 254a11b083 Merge pull request from thinkyhead/bf_sainsmart_link
Add link to F. Malpartida LiquidCrystal library
Scott Lahteine aeb6d465a4 Merge pull request from thinkyhead/bf_french_update
French update
Bob-the-Kuhn 325f09ea6c Add link to custom LiquidCrystal library by F. Malpartida
MagoKimbra d26c8cc5c8 fix_planner_refresh_e_positioning ()
* fix_planner_refresh_e_positioning

* Fix
Gege2B c7f04fbcc7 French translation
Silvio Didonna 4171520729 added missing italian translation
Bob-the-Kuhn 41bfff14e2 Merge pull request from Bob-the-Kuhn/Mesh-with-babystepping
Mesh with BABYSTEP_ZPROBE_OFFSET: add sanity check
Scott Lahteine 424d0bae8b Merge pull request from thinkyhead/bf_HAL_prepare
Apply maths macros and type changes ahead of HAL
Scott Lahteine 5c59ee4e93 Use current (raw) Z if omitted from G29 WXY or G29 WIJ.
Scott Lahteine 37bc0fce62 Make G29 compatible with M206 Z and G92 Z
Use the raw position for mesh measurement. Otherwise the `M206` and
`M92` Z offsets will get canceled out by bed leveling. The downside is
`G29` will not compensate for a poorly set small `M206` fudge value.

To elaborate on this issue, imagine you are probing with a Z home
offset of -0.1, meaning when Z homes, -0.1 is the current position,
implying the ideal bed zero for the nozzle is 0.1mm higher than the Z
endstop. Ordinarily when printing, Z would raise 0.1mm higher.

What happens when we probe is that all points are measured with that
-0.1 included. So when bed leveling is enabled the `M206 Z` offset gets
exactly canceled out by the bed readings.
Scott Lahteine 6c45d0fd81 Apply maths macros and type changes ahead of HAL
Scott Lahteine 8a51e2960c Improve the experience of editing steps_per_mm
Scott Lahteine 725d9d9a56 Fix and improve LCD value editing display
- Fix: When "100.0" changes to "99.0" the LCD shows "199.0"
- Use 2 rows if needed on character LCD, (allowing longer labels…
Germany, et. al.)
- Known issue: A certain length label combined with a certain value
drawing function could, for example, display 99.0 on 1 line, but 100.0
on two lines. Workaround would be to pass a nominal value size argument.
Scott Lahteine 499bb85a95 Clean up, put ubl menu itemization closer at hand
Tannoo 90f5f82926 Step-by-Step Menu addition
Scott Lahteine 0c616700f3 Merge pull request from thinkyhead/bf_dac_percents_fix
Convert DAC percent to uint8_t
Florian Heilmann 6dcf42f1a7 Add Z Fade Height to M420 output if it is enabled ()
* Add Z Fade Height to M420 Output

Echo the z-fade height when M420 is called, if it is enabled.

* Fix Whitespace

* Fix Compiler complaint

* Missing semi-colon
Bob-the-Kuhn a1c65fd3d5 convert DAC percent to uint8_t
=====================

add test to Travis
Scott Lahteine 907cafcbfd Support for two switching extruders
Ross Allan cfcd069501 Fix - LIN_ADVANCE freeze when ADV_RATE returns 0
Scott Lahteine b8b7ef1902 Merge pull request from thinkyhead/bf_italian_refix
Fix Italian language mapper
Scott Lahteine 42f7f9e013 Merge pull request from bgort/i2cpefix
I2C Position Encoders Example Configs
Scott Lahteine 0b49bddec2 Fix Italian language mapper
Silvio Didonna 2e26a7c752 Added missing Italian translations
Scott Lahteine 4c3dc8bf07 Remove set_current_to_destination from resume_print
Addressing 
Scott Lahteine 4857a3ba48 Formatting and spelling
Thomas Moore 3d24c329af M600 fixes
Bob-the-Kuhn 8fb30aaed6 warn user of an invalid combination
Bob-the-Kuhn 6cb9bb27fe Move lcd_refresh_zprobe_zoffset definition
Scott Lahteine d4270f15a9 Spacing tweak in setup()
Scott Lahteine c61c0a9aeb Fix status message missing "blink"
Scott Lahteine 062131554f Followup to
Jim Brown 3d043976f7 Add option to disallow filament change without homing first
Scott Lahteine 93da4e83f7 One more space on a short status message
Scott Lahteine 7c95f762f2 Show LCD bed options even without thermal protection
Scott Lahteine 92eb55f246 Reject generous donation of trailing whitespace
Scott Lahteine 428be27893 Formatting adjustments
Scott Lahteine 8d5a37fb3d Support for a 5th stepper in stepper code
Scott Lahteine 7769a22064 Tweaks to temperature code
Scott Lahteine d9da126776 Cleanups for UBL / ultralcd.cpp
Scott Lahteine 499d5c3b24 Fix scrolling lcd message for DOGM
Scott Lahteine 7164fd499e Tweak to G33 P error
Scott Lahteine c10d763d98 Simpler prepare move conditions
Scott Lahteine 4ebff8eaa5 Drop fastio timer cruft
Scott Lahteine 09bc34f4dc Allow arbitrarily long retraction
Scott Lahteine 4414825e0d Merge pull request from thinkyhead/bf_PCA9632
PCA9632 PWM color LED support
Bob-the-Kuhn 9dda022705 fix compile errors
================================

Changed to conditional compile for AT90USB issue
Bob-the-Kuhn b3338ccb01 Merge pull request from Bob-the-Kuhn/Software-SPI-for-all-CPUs
SD card soft SPI - allow all CPU families to use it
Brian 40bb0cbf7a example configurations, etc.
Jim Brown 26d20ebcfc Don't allow filament change without homing first ()
Roxy-3D 824f71d503 LCD Panel Interactive Mesh Editing ()
Original Mesh Bed Leveling replacement put at top of UBL Menu Options to
help facilitate the removal of the Original Mesh Bed Leveling.

Radar display (and control) of the UBL Interactive Mesh Editing.
Scott Lahteine 445227c807 Fix missing LCD_STR_REFRESH
Scott Lahteine 699aa35df6 Code cleanup for G33
dot-bob 0bc66bf22c PCA9632 PWM color LED support
Add support for the PCA9632 PWM color LED driver used on the Ultimaker 2 and Wanhao Duplicator 6.
Luc Van Daele 896dfa0577 G33 eccentric probe fixes ()
* excentric probe config fix

* undo last commit

* eccentric probe fix

* oops

* !stow after each probe

* deploy/stow fix

* E parameter + bit of cleanup

* comment

* LCD menu fix
Thomas Moore e47029199e Remove ADVANCED_PAUSE_FEATURE requirement for PROBING_HEATERS_OFF ()
* Remove ADVANCED_PAUSE_FEATURE requirement for PROBING_HEATERS_OFF

* Add HEATER_IDLE_HANDLER conditional
Scott Lahteine 8326c1c279 Merge pull request from Diederikvanderpant/bugfix-1.1.x
added shift register pins for reprapworld keypad v1.1
Scott Lahteine 07f8da36d2 CL-260 configs
Scott Lahteine dce665a083 Merge pull request from magnuspub/patch-1
Mod in language_it.h
Scott Lahteine 7b09ab6bda Merge pull request from Bob-the-Kuhn/pinsDebug-&-dac_mcp4728-fixes
Fix pinsDebug problem & add capability to display more than 70 pins
Scott Lahteine 5bdb4bbc5e Merge pull request from thinkyhead/bf_circular_scroll
Circular scrolling of the status message
Federico 772275ab0c Create language_it.h
Bob-the-Kuhn 11e28f389e fix pinsDebug.h error, add capability to display more than 70 pins.
Scott Lahteine 21217d53df Circular scrolling of the status message
Scott Lahteine da8e946efb Reduce size of heater state print code
Scott Lahteine dde8bb7c8b Fix extrude_min_temp compiler warning
Scott Lahteine 83263076dc Merge pull request from fiveangle/fix_get-set_DrvPct_declarations
fix get/setDrvPct declarations
Scott Lahteine 57a51fd5db Tweak some else clauses
Scott Lahteine fc89de6d8b Followup to German language update
Federico 92011e3d8c Create language_it.h
Dave Johnson 7864b133a8 Fix get/setDrvPct declarations
Scott Lahteine 0b6b7c9c7e Merge pull request from thinkyhead/bf_german_update
Update language_de.h
Scott Lahteine f17a3c2474 Merge pull request from thinkyhead/bf_at90usb_mapping
Unify all AVR90USB pin mappings
Kai 5a72b6818e update language_de.h
Following  some more translations and some grammar fixes
Scott Lahteine 4cc5444144 Merge pull request from Bob-the-Kuhn/Z_MIN_PROBE_ENDSTOP-and-Z_MAX_PIN
Can't use "#define Z_MIN_PROBE_PIN Z_MAX_PIN" in configuration.h
Scott Lahteine 51bc50214a Save 8 bytes of SRAM
Scott Lahteine 748bf32388 Unify AVR90USB: pinsDebug changes
Scott Lahteine 5426fc1735 Unify AVR90USB: Pins cleanup
Scott Lahteine 87d8223251 Unify AVR90USB: Pins remap to Arduino
Scott Lahteine b378deaf89 Unify AVR90USB: fastio changes
Scott Lahteine e94f79ccea Patch some serial macros
Scott Lahteine d91710e9aa Followup for UBL translated strings
Scott Lahteine 761df686bd Minor cleanup in gcode.h
Thomas Moore 897bc2ac1f Updates for ensure_safe_temperature ()
* Updates for ensure_safe_temperature

* M600 fixes
Bob-the-Kuhn 1c107b3949 delete problem line
Diederik van der Pant 5b270417ed added shift register pins for reprapworld keypad v1.1
I recently upgraded my Marlin to V1.1.x and decided to publish my fix to make marlin compile properly when #define board megatronics 2 in combination with #define reprapworld keypad v1.1. It was previously described in the comments of a closed pull request. MarlinFirmware#472. All the buttons on the keypad are now operational.
bgort 2f55870edb [New Feature] I2C position encoder support ()
* [New Feature] I2C position encoder support

I plan to continue improving/cleaning this up, as there areas that need work.

* let the cleanups begin.

* progress

* more progress

* comments, rename files, etc.

* clean

* Cleanups per thinkyhead

* a few more cleanups

* cleanups, bugfixes, etc.

* remove unnecessary passes_test(), additional cleanups/optimizations

* cleanups

* misc.

* Fix up I2CPEM.init() and a few other things.

* organize, fix, rename, etc.

* more optimization

* a few more tweaks
Bob-the-Kuhn 28d72f48f1 change to DWORD
Bob-the-Kuhn 8d1d9040b6 add static
Bob-the-Kuhn a17ffe1ece Merge pull request from Kaibob2/patch-1
Fix for  (case_light compile problem when EXTENDED_CAPABILITIES_REPORT is enabled)
Tannoo 731c8e6372 Translatable Strings for ubl_G29 ()
Kai abb6b8ad54 update language_de.h ()
There was quite a lot to translate this time. I'm not absolutely confident with the whole UBL stuff and it's a PITA to translate. I don't use any kind of levelling myself as i just have a perfectly level cast aluminium plate as bed.
So maybe someone who really uses it might take a closer look at it after it's merged.
Kai c2eff60d3f Fix for
Line 7830 prevented successfull compilation when #define CASE_LIGHT_ENABLE is uncommented
Scott Lahteine 1419126721 Merge pull request from thinkyhead/bf_save_more_sram
Use createChar_P to save SRAM in bootscreen
Scott Lahteine a453be7357 Merge pull request from bgort/autoreportT
Enable AUTO_REPORT_TEMPERATURES by default
Scott Lahteine 1d615e0a67 Merge pull request from Tannoo/Leveling_in_About_Printer
Leveling type in About Printer
Scott Lahteine 707707d71a Fix LCD status message padding
Scott Lahteine e556ab1dff Find three-point leveling points on Delta
Scott Lahteine a27b08e6af Various code style tweaks
Scott Lahteine dac29e0f75 Cleaner failure of UBL without EEPROM
Scott Lahteine 9128d9ab45 Improve sanity checks with static_assert, organize
Scott Lahteine 6bb05c4543 Save 20b in smart_fill_mesh with PROGMEM
Scott Lahteine b7dc4d9973 Save 92b PROGMEM, 14b SRAM with extruder auto fan
Scott Lahteine c9e3caf928 Save lots of PROGMEM, ~20b SRAM with DIGIPOT_I2C
Scott Lahteine 4134a6b526 Save 88b PROGMEM, 48 bytes SRAM in settings.reset
Scott Lahteine 36cc03a9b4 Save 224b PROGMEM, 48b SRAM in get_homing_bump_feedrate
Scott Lahteine 2a41f0ff84 Save 28b PROGMEM in ultralcd.cpp (line_to_current)
Scott Lahteine e6d10f6ddd Spend 48b PROGMEM to save 16b SRAM
...by moving `homing_feedrate_mm_s` to PROGMEM.
Scott Lahteine 97e13a30ba Save over 100 bytes SRAM in pin_is_protected
Scott Lahteine 45c74406cf Recover 32 bytes of SRAM in Marlin bootscreen code
Scott Lahteine e1c5a43247 Cleanup stepper current control config options
Scott Lahteine efc198f952 Spacing, const, comments
Scott Lahteine 4406fba994 Fixes
Scott Lahteine d28f5d8a78 Fix: z_endstop_adj is never initialized
Scott Lahteine 5d5ff36446 Fix a compile error with _lcd_set_z_fade_height
Tannoo b88957e0d4 Leveling type in About Printer
Show the Leveling system in use on the About Printer screen.
Brian dd071a4a65 Enable AUTO_REPORT_TEMPERATURES by default
bgort 8db1197c9b Enable extended capabilities report by default ()
Ref 
bgort 82e662fc69 Remove requirement for LCD when UBL is used. ()
* Remove requirement for LCD when UBL is used.

* fix previous oversights

* further refinement - error messages for P2 & P4

* require R on G26 when not using LCD; default to all points
Tannoo 2c2b991b59 UBL Manual Build Menu Option ()
One click option to manually build UBL mesh.
Roxy-3D 0dd0033b33 Save up to 94 bytes of RAM on 20x4 LCD Display machines ()
* Save up to 94 bytes of RAM on 20x4 LCD Display machines

Moved the custom screen characters out of RAM into Program Memory.  With
SD-Card support and the Progress Bar enabled, this saves 94 bytes of RAM
memory.

This was tested using the example_configurations/FolgerTech-i3-2020
files.  So a couple small changes to those files snuck into this Pull
Request.

Probably...  We can find similar savings in the Graphics LCD code it we
comb through it.   And if so...  That is the place we really need to
save RAM memory!

* Tidy up white space and indentation
Bob-the-Kuhn ba0bd33c38 Removed check for 2560 family
Scott Lahteine 04b07a6ecc Unused var in Stepper
Scott Lahteine eb8af486d2 Ensure safe temperature for M600
Scott Lahteine bfe7fbe5c0 Maintain message scroll rate
Scott Lahteine 6411d65c48 Fix Morgan SCARA S2 calculation
Scott Lahteine 46752588b9 Merge pull request from Bob-the-Kuhn/redundant_temperature
fix redefinition errors for redundant_temperature
Scott Lahteine 5938dae200 Merge pull request from MagoKimbra/fix_g29_3_point
Fix G29 with 3 point
Scott Lahteine c5e0f08e35 Merge pull request from fixoid/patch-4
Initializing extruder/nozzle servo when turning on the printer
Scott Lahteine e4937b0285 Cleanup of spacing and formatting
fixoid 1aab9906e6 Initializing extruder/nozzle servo when when turning on the printer
MagoKimbra 663ff7f92a Fix G29 with 3 point