Commit Graph

4065 Commits (068c303742dc9df785bce68eda858dc72bd6e55c)

Author SHA1 Message Date
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>
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 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 2af62a5d8d Apply spacing, const to some HAL code
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.
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
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.
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 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