Commit Graph

5857 Commits (bf563e62c152428b4fb7340fcbb2c907b9a5330e)

Author SHA1 Message Date
Scott Lahteine 65c50e062e Support for an RGB LED using 3 pins
esenapaj 3047f3c85c Suppress warning
jes f674246397 extend Configurations files
jes c90191faaf adding ukrainian laguage support
Sebastianv650 912704a0d8 Enable ISRs inside temperature ISR
to capture chars at UART at 250000 baud.
Sebastianv650 f62f4006af Account for LCD improvements in ENSURE_SMOOTH_MOVES
.. and give the hint to try lower values if possible.
Scott Lahteine 092e949b58 Merge pull request from thinkyhead/rc_core_inverted
Support for COREYX, COREZX, COREZY
Scott Lahteine e9e4208ff1 Merge pull request from Sebastianv650/improve_smooth_moves
Improvement for ENSURE_SMOOTH_MOVES
Scott Lahteine c7935bb0d2 Merge pull request from thinkyhead/rc_bed_correction_fade
Add a fade factor for mesh leveling
Scott Lahteine a69b1ee691 Merge pull request from thinkyhead/rc_fix_menu_actions
Keep drawing menu unless screen changes
Scott Lahteine 32ee3acf86 Merge pull request from thinkyhead/rc_fixup_material_menus
Refine material heatup menu items
Scott Lahteine c70a06daf1 lcd_save_previous_menu => lcd_save_previous_screen
Scott Lahteine 13ea43cc8d Only exit menu handler when the screen changes
Scott Lahteine f45b6a7762 Merge pull request from thinkyhead/case_light_menu_fix
Fix and optimize case-light code
Scott Lahteine 59fafb93b2 Merge pull request from AnHardt/pixel-shifting
MENU_HOLLOW_FRAME for the menu screens
Scott Lahteine 0951d385ce Don't set heater temperature above its maximum
Scott Lahteine c9193e856d Limit preheat parameters based on all nozzles
Scott Lahteine bb4529f7d2 PLA / ABS => Material 1 / 2
Scott Lahteine 61437d988a Fix and optimize case-light code
AnHardt 7a9fa78822 MENU_HOLLOW_FRAME for the menu screens
MENU_HOLLOW_FRAME for the menu screens and
some pixel shifting to optimize the look with tall fonts. (cn)
AnHardt 24ca1a6289 Not more then 4 stripes for u8g-devices
To optimise speed.
Costs well invested 128Byte of RAM.
Scott Lahteine aee71c543e Minor formatting in language.h
Scott Lahteine 05d8d189f6 Adjust spacing in utf_mapper.h
Scott Lahteine 5460a529da Add option DOGM_SPI_DELAY_US
Scott Lahteine 71842b6a17 Apply const to LCD arguments and locals
Scott Lahteine b1abd7edef Optimize graphical display with selective rendering
AnHardt b91fab2d7d Fix USE_BIG_EDIT_FONT
Scott Lahteine 4cd73e183d Hide hidden files and folders
Scott Lahteine f6f77d34a1 Add a fade factor for mesh leveling
AnHardt 75fdcc14b7 Activate font and mapper for el-gr
AnHardt a0004e7cd3 Change font decent to -1 for tt and gr
For speeding up font drawing unify font decent.
Tr and Gr have ben the only fonts with a font decent of -2.
Sorry for some, a bit compressd, but hopefully still readeble symbols.
Scott Lahteine 307f263f89 Merge pull request from esenapaj/Update-Japanese-translation
Update Japanese translation
esenapaj 7070143042 Update Japanese translation
・Add new translation
esenapaj ef97645002 Follow-up the PR (Case light menu (3rd attempt))
Scott Lahteine 2a9b3376a9 Merge pull request from thinkyhead/rc_which_menu_actions
Drop "static" keyword in ultralcd.cpp function declarations
Scott Lahteine b97dafe4b8 Drop "static" keyword in ultralcd.cpp function declarations
Scott Lahteine 2e966f8e5b Patch Capabilities Report for "PROGRESS"
Scott Lahteine f60321d3e3 Merge pull request from thinkyhead/rc_turkish_update
Turkish update (squashed)
Mehmet Sutas a26668b10c Add UTF8 Turkish Translation
Mehmet Sutas 61aa796307 Added Human Readable Comments
Mehmet Sutas 6fb9c6fe07 Follow-up for Turkish Language
Add check for Turkish Font before setting better font for graphic displays
Scott Lahteine d891324830 Merge pull request from mosh1/mbl_speed_fix
Fix z feedrate value when doing mesh bed leveling. probe feedrate use…
Scott Lahteine 7f8133a51f Merge pull request from Kaibob2/CaseLightMenu
Case light menu (3rd attempt)
Kai e9b42f4f47 Update language_de.h
Kai 0c341f0c50 Added Menu entry for Case light
Scott Lahteine 3bc2273ac9 Comment M540
Scott Lahteine 14b74181f5 Merge pull request from thinkyhead/rc_TMC2130
TMC2130 "Silent StepStick" support
Scott Lahteine bb2114a060 Merge pull request from thinkyhead/rc_delta_safe_zone
Add an option for delta to home to the top
Scott Lahteine 38466b1d2f Merge pull request from
Fix for thePR  (Introduce a +1234.56 format for over 999 steps/mm)
Scott Lahteine 9b96a4a53b Merge pull request from thinkyhead/rc_some_cleanup
Minor stepper cleanup
Sebastianv650 8190483eeb Improvement for ENSURE_SMOOTH_MOVES
Instead of waiting for a single long block, compare the complete block
buffer runtime for the long_move() check.
esenapaj da67037550 Fix for thePR (Introduce a +1234.56 format for over 999 steps/mm)
・Fix memory leak
Scott Lahteine 0f891e848b Merge pull request from esenapaj/Update-Japanese-translation
Update Japanese translation
esenapaj 190a04c467 Update Japanese translation
・Change translation for 16 width LCD
esenapaj 7b836a4000 Introduce a +1234.56 format for over 999 steps/mm
Scott Lahteine 3e0376b45e Reorder M114 and M119 gcode cases
Scott Lahteine 644fac5d34 Reduce all stepper_indirection init code with macros
Scott Lahteine 4e4f37b6c2 Code formatting for TMC and L6470 config options
Scott Lahteine 127e21ae00 Extend M122 for all steppers
Scott Lahteine bf5f5f44cc Make TMC2130 init code auto-configure
Simply apply enabled settings instead of requiring users to edit
stepper_indirection.cpp
Moritz d67c1d825f Add TMC2130 support
Scott Lahteine 11effeee2c Add an option for delta to home to the top
Sebastianv650 50059690e0 Allow UART ISRs inside the stepper ISR
If the stepper ISR takes too long, chars are lost which leads to serial
communication errors like "Line number not +1" or "Wrong checksum". In
worst case, the printer can even do crazy moves.

With this changes, UART interrupts are handled inside the stepper ISR.
This way, no chars should be lost.
Moshen Chan 29b174bfb9 Fix z feedrate value when doing mesh bed leveling. probe feedrate uses XY_PROBE_SPEED
AnHardt 88b38eafd8 Endstop interrupt refinement
At the start of a move, check if the endstops are already triggered.
The 'change' interrupts will not see a change if already triggered.
Scott Lahteine 79c8591192 Merge pull request from thinkyhead/rc_smooth_move_ex-lax
Ensure smooth print moves even with LCD enabled
Scott Lahteine 0215cacb30 Merge pull request from
Re-follow the PR  (Set language display charset in language.h)
Scott Lahteine 2cc32d85a3 Adjust ENSURE_SMOOTH_MOVES coding style
Scott Lahteine 072541f286 Update ENSURE_SMOOTH_MOVES in all configs
Sebastianv650 de89dc9f04 Ensure smooth print moves even with LCD enabled
lcd_update can take so much time that the block buffer gets drained if
there are only short segments. This leads to jerky printer movements for
example in circles and a bad print quality.

This change implements a simple check: Only if the block currently
executed is long enough, run lcd_update.
This also means the printer will not show actual values on the LCD nor
will it respond to buttons pressed. A option that keeps the menu
accessible is also available.
Aditionaly, slow down if a block would be so fast that adding a new
block to the buffer would take more time. In this case, the buffer would
drain until it's empty in worst case.
Scott Lahteine 87b6b19256 Patch CASE_LIGHT typo
Scott Lahteine 0be6167f14 Merge pull request from CONSULitAS/RCBugFix_K8200_backinsync_2016-11-18
K8200: Example configuration back in sync
Scott Lahteine eb714ee873 Move dummy thermistor opts, fix redundant sensor comment
Scott Lahteine 7a99c6ce4f Reformat temp sensor listing
Scott Lahteine 181cdb3cfe Move GCode list above include lines
Scott Lahteine 25d0c167bd More detailed static_assert messages
Scott Lahteine eb120e518c Followup to new endstop interrupts feature
- Fix typos, verbiage
- Fix naming of `setup_endstop_interrupts`
- Some formatting, indentation, spacing
Scott Lahteine 832fe284b4 Merge pull request from AnHardt/endstop_interrupts
Introduce endstop interrupts
CONSULitAS cbae44df64 K8200: Example configuration back in sync
Configuration.h: back in sync, new features configured
Configuration_adv.h: back in sync, new features configured
README.md: text updated
esenapaj 5db3738fe7 Re-follow the PR (Set language display charset in language.h)
Scott Lahteine 6eb6f12c64 Patch up some language formatting
Bo Herrmannsen 8cffa60cc5 Update to Danish language 10/11-2016
Scott Lahteine 98600e1433 Minor stepper cleanup
Florian Heilmann d08867986e Add autotemp capabilities to M104
This allows M104 to pass the F and B parameters to enable autotemp as well
Sebastianv650 c11b2bb777 Bugfix LIN_ADV
Advance has nothing todo with Z_AXIS, strange copy&paste error?
Scott Lahteine ee0765e872 Merge pull request from esenapaj/Update-Japanese-translation
Update Japanese translation
Scott Lahteine 2330619da0 Merge pull request from petrzjunior/const
Replace const bool with #define for consistency
esenapaj b278b7a395 Update Japanese translation
Only adjust spacing
Petr Zahradník junior d7ce5d271b
Replace const bool with #define for consistency
Scott Lahteine d63230d73e Merge pull request from Kaibob2/patch-7
Printer Stats / Completed prints line doesn't fit in display (when german)
Scott Lahteine 548b45026d Merge pull request from Sebastianv650/RCBugFix_planner_opt
Save some cycle inside the planner
Scott Lahteine 5d23e52d75 Merge pull request from thinkyhead/rc_keep_last_mix
Fix DIRECT_MIXING_IN_G1 to preserve the previous mix
Scott Lahteine db47aa983d Merge pull request from mtowara/RCBugFix
bump -std in Makefile to c++11
Scott Lahteine 99b0c1fe56 Fix DIRECT_MIXING_IN_G1 to preserve the previous mix
Markus Towara 23a675f621 reduce binary size of .hex
still a few bytes bigger than with arduino but nothing major
Markus Towara 5b6e2cecf5 bump c/c++ standard to gnu11
needed for constexpr
Scott Lahteine 410657b050 Fix G30 with limits, print correct probe XY
AnHardt f3eee02596 Introduce endstop interrupts
If ENDSTOP_INTERRUPTS_FEATURE is enabled this tries to set up interrupt routines
for all used endstop pins. If this worked without errors, `endstops.update()` is called
only if one of the endstops changed its state.

The new interrupt routines do not really check the endstops and react upon them. All what they
do, is to set a flag if it makes sense to call the endstop test we are used to.

This can be used on:
* ARM (DUE) based boards - all pins can raise interrupts,
* RAMPS - all 6 endstop pins plus some other on EXT-2 can raise interrupts,
* RAMPS based boards - as long the designers did not change the pins for the endstops or at least left enough,
* all boards, if there are enough pins that can raise interrupts, and you are willing/able to swap with pins dedicated to other purpose.
Sebastianv650 e3ffb58fbd Save some cycle inside the planner
planner.h:
fan speed is used to set integer variables, so no need for long.
Basicaly a byte should be enough for all the fan things, as it's 0-255?

planner.cpp:
Save some float multiplications.
We could squeeze out even more by defining feedrate_percentage,
saved_feedrate_percentage and flow_percentage as float instead of int.
Everytime they are used in the time-critical planner, they are casted to
float and multiplied by 0.01. Not done jet, as they are used in LCD menu
functions I don't know well enough.
Scott Lahteine 665b7f3893 Merge pull request from thinkyhead/rc_mixing_faster
Store mix factors as reciprocals and multiply
Scott Lahteine 60cc9342a4 Merge pull request from thinkyhead/rc_extended_host_support
Extended host support: M155 Auto temp report, M115 capabilities
Scott Lahteine f663220e87 Store Mix factors as reciprocals and multiply
Scott Lahteine ea3c08d249 Merge pull request from esenapaj/Follow-up-the-PR-#5167-etc
Follow up the PR  (Add Turkish Language) again, etc
Scott Lahteine c488378532 Merge pull request from Sebastianv650/RCBugFix_stepperpatch
Remove useless line from stepper ISR
Michael Neumann 8bdf303da0 Update pins_MEGATRONICS_3.h
Michael Neumann 3890366c83 Update pins.h
Michael Neumann c0d45ca7f2 Update boards.h
Sebastianv650 cdc18f8c22 Remove useless line from stepper ISR
The flag is already set inside planner.get_current_block(). Doing it
twice isn't making it better..
Kai 8e8b4398f3 Printer Stats / Completed prints line doesn't fit in display (when german)
Scott Lahteine b31a07e261 Stateful M355 with separate P parameter
Scott Lahteine 3c9a838651 Extended capabilities report in M115
Scott Lahteine 68b866b5dd Add M155 - Auto-report temperature with interval
Scott Lahteine 68b46fb2c9 Allow send to i2c address 0 (broadcast)
Scott Lahteine 75bfde9945 M155=>M260, M156=>M261
esenapaj 2ae72b0491 Follow up the PR (Add Turkish Language) again, etc
・Update forgotten K8400\Dual-head\Configuration.h
・Adjust spacing
Scott Lahteine 06f2282f82 Merge pull request from thinkyhead/rc_filchange_feedback
Give instant feedback for filament change
Scott Lahteine dcfd7c69e8 Merge pull request from nzinov/RCBugFix
Improve G30 probing command - add optional arguments
Scott Lahteine e765eebfb0 Patch spacing in bilinear grid report
Scott Lahteine 7780052fb3 Give instant feedback for filament change
esenapaj 24e3f7abe7 Update Turkish translation
・Add new translation
esenapaj be48792e9c Follow up the PR (Add Turkish Language), etc
・Remove all the #ifndef
・Follow the PR  (Strip never-translated strings from language
files)
・Follow the PR  (Set language display charset in language.h)
・Follow the PR  (Put max_jerk vars in array, clean up jerk code)
・Adjust spacing
Scott Lahteine 1864b282c5 Implement reversed CORE options
Scott Lahteine e3c8318504 Add reversed CORE options
Rigid3D 2327764980 Add Turkish Language
Nikolay Zinov dea00bbcf1 improve G30 probing
Add optional parameters
X, Y for probe point
S sets stowing on and off
Scott Lahteine 00662b8635 Minor babystep cleanup patches
Scott Lahteine cad792e702 Reduce code for invariant lcd_detected
Scott Lahteine b23d255491 Move macros above Stepper::babystep
Scott Lahteine cc57d46158 Fix set_position for CoreYZ
Scott Lahteine 0269347682 Merge pull request from thinkyhead/rc_old_slowdown_what
OLD_SLOWDOWN does nothing, so remove it
Scott Lahteine e92e2b2446 Merge pull request from Sebastianv650/RCBugFix_LIN_ADV_wipe
Account for wipe moves
Scott Lahteine 176aeafc19 Don't define bilinear_line_to_destination on kinematic setups
Sebastianv650 d448500643 Account for moves with negative E movements
Added a rule so that LIN_ADVANCE isn't used for moves with negative E movements (de_float will be negative in this cases).
I also added a more detailed comment to make it more clear what the if statement does.
Scott Lahteine 236853df22 Corrections to bilinear_line_to_destination
- Allow more than 9x9 probe points
- Account for the probe starting position
Scott Lahteine 0115e495fe Fix up Dual X switch blocks
Scott Lahteine 2495ab7af2 Make dual_x_carriage_mode an enumeration
Scott Lahteine d6c36f5bb9 Fix Z raise with DXC_AUTO_PARK_MODE
Scott Lahteine 0c79553fc5 Cast int to AxisEnum for some accessors
Scott Lahteine adbf1f7dca Add M355 to the GCodes list.
Scott Lahteine 63efc10599 Merge pull request from thinkyhead/rc_bilinear_split_lines
Split cartesian moves on grid boundaries with bilinear ABL
Scott Lahteine 12167bc8f3 OLD_SLOWDOWN does nothing, so remove it
esenapaj c8c1a28f6f Follow-up the PR (Centralize click-handling in the LCD loop)
bool feedback is no longer used
esenapaj c3a105186d Follow-up the PR (M355 Case light)
・Add CASE_LIGHT_PIN into pinsDebug.h
Scott Lahteine ee5b8d6dc8 Split moves on grid boundaries with bilinear ABL on cartesian
Scott Lahteine 66744a6076 Merge pull request from thinkyhead/rc_M355_case_light
M355 Case light
Scott Lahteine 955d14acb0 Patch photo pin code style
Stanley ab3f966f5f Case light G-code M355
implemented G-Code M355 into Marlin
Scott Lahteine 8b44413498 Merge pull request from Sebastianv650/RCBugFix_LIN_ADV-Patch
BugFix for incorrect E-speed calculation
Scott Lahteine f418e82b15 Remove redundant definition of EN_C
Sebastianv650 f9bea7968f BugFix for incorrect E-speed calculation
The extrusion speed was wrong due to a not high enough precision of
esteps to XY steps, therefore now the target float values are used to
calculate the ratio between XY movement and extrusion speed.
The e_speed_multiplier8 was replaced by an absolute multiplier called
abs_adv_steps_multiplier8, therefore one multiplication and bitshift can
be saved inside the stepper ISR. Due to this, also extruder_advance_k is
better suited inside the planner and not the stepper files any more.
Bob-the-Kuhn c20b4098be 2 bug fixes & some minor changes
see detailed  description in PR 
Scott Lahteine fa6bf12697 Merge pull request from thinkyhead/rc_expanded_M43
Enhancements to M43 pins debugging
Scott Lahteine 3a107e280d Developer note in pins_MIGHTYBOARD_REVE.h
Scott Lahteine 85e307dcd8 No FAN0_PIN
Scott Lahteine ff3a8ca0d1 Use NUM_DIGITAL_PINS instead of custom DIO_COUNT
Scott Lahteine 04a1fac029 Some cleanup to M43
Scott Lahteine 24f6612551 Reduce and optimize endstop_monitor code
Scott Lahteine b4444e91ae Reduce code and build size of PWM_details
Scott Lahteine dbe414ef03 Squash redundant code in PWM_status
Scott Lahteine af26d22741 Clean up some spacing and semantics
Bob-the-Kuhn 81397d7a9a EXTRUDER_x_AUTO_FAN name change to Ex_AUTO_FAN
I stumbled across a name change that'll be used a lot so I'm updateing
the name list.
Bob-the-Kuhn c7f1f0dae6 Add endstop monitor & make pins report pretty
Scott Lahteine d567b426d5 Merge pull request from thinkyhead/rc_mightyboard_rev_e
Mightyboard Revision E preliminary support
Scott Lahteine 43df9ace4e Merge pull request from thinkyhead/rc_z2_min_allowed
Support Z2 min in M119 report
Scott Lahteine 23f05f8be7 Use bit-length types in block_t
Scott Lahteine 8dc7807d85 Add support for CoreYZ to planner.buffer_line
Scott Lahteine 1cf878fdb1 Calculate dm and e-steps earlier in planner
Scott Lahteine 75dbb71dd7 Replace block.busy with a block.flag bit
Scott Lahteine c7f22f688f buffer_line can calculate while it's waiting
Scott Lahteine f3720f4e81 const arguments to test_dual_z_endstops
Scott Lahteine 8cebd2a7db Arrange Z2 min before Z2 max
Scott Lahteine accabf088a Add support for Z2 min endstop to M119
Scott Lahteine 396434a445 Fix compiler warning in M145
Scott Lahteine 8e787304c9 const float ref args in planner.h
Scott Lahteine 07bfc45df8 Adjust spacing in gcode_M149
Scott Lahteine 1a2310c494 Make LCD preheat vars an array to reduce code size
Scott Lahteine 1226ae1912 Some cleanup in ultralcd.h
Scott Lahteine 50ee749082 Centralize click-handling in the LCD loop
Scott Lahteine 47ad97c35e Merge pull request from thinkyhead/rc_eeprom_M218_tool_offset
Save hotend_offset array (M218) in EEPROM
Scott Lahteine bff6bbdb12 Indentation in configuration_store.cpp
Scott Lahteine 97115d56f9 Print error for M500 with disabled EEPROM
Scott Lahteine 67ab54185b Save hotend_offset array (M218) in EEPROM
MagoKimbra dfcdbb437b Fix Command M420
Scott Lahteine c34dbfb248 Merge pull request from thinkyhead/rc_preset_auto_fans
Add predefined AUTO_FAN_PINs to pins files
Scott Lahteine 9a23f73765 Don't trigger endstops that are actually Z2 or probe
Scott Lahteine c07cc9e3f1 Revert changes made to z dual endstop test
 broke z dual endstops. Solved by @Nocturnal42 in https://github.com/MarlinFirmware/Marlin/issues/5078#issuecomment-256572248
Scott Lahteine c4c53856a4 Merge pull request from
Fix for the PR  (Handle M108 in M1 also with ULTIPANEL)
Scott Lahteine 2e3110539b Merge pull request from thinkyhead/rc_fix_bilinear_math
Fix bilinear grid constraints
esenapaj d5a5042d23 Fix for the PR (Handle M108 in M1 also with ULTIPANEL)
Scott Lahteine 9cbedab91b Use DPM where possible
Scott Lahteine ad38d91692 Sanity check that auto fan pins can do PWM
Scott Lahteine 95275eb9b3 Predefine auto fan pins in some pins files
Scott Lahteine 3f94b15cef Fix bilinear grid constraints
Followup to 
Scott Lahteine d439fb95f7 Sanity check for the renamed options
Scott Lahteine b6aa894893 Rename auto fan pins and add auto fan flags
Scott Lahteine ada935de87 Allow TEMP_STAT_LEDS with only one LED defined
Scott Lahteine 4b056d8184 Fix warning in ultralcd.cpp
Scott Lahteine 9dfd029911 Fix bug in fastio.h _GET_TIMER
esenapaj 8b1d90e281 Follow-up the PR (Fixed SERVO pins on Azteeg X3), etc
・Add header
・Adjust spacing
Scott Lahteine bfd3b3c604 Merge pull request from Fulg/azteeg-x3-pins
Fixed SERVO pins on Azteeg X3
Scott Lahteine 208d720614 Merge pull request from Fulg/RCBugFix
Only issue MAXTEMP when heating
Scott Lahteine f0d673561f Fix for bilinear grid outside bounds
Scott Lahteine 24bcea6c02 Merge pull request from thinkyhead/rc_break_m1_fix
Handle M108 in M1 also with ULTIPANEL
Scott Lahteine 1ba1ec0db9 Handle M108 in M1 also with ULTIPANEL
Scott Lahteine 7ad33422e3 Clear dir_t size, not pointer size
Benoit Miller 1c716034ec Fixed SERVO pins on Azteeg X3
Benoit Miller 2aa12d78dc Only issue MAXTEMP when heating
Scott Lahteine 3fcf915808 Fix uninitialized var in reset_acceleration_rates
Scott Lahteine 14f824c3de Merge pull request from esenapaj/Extend-measuring-range-of-thermocouple
Extend measuring range of thermocouple for MAX31855
Scott Lahteine 1097a50694 Merge pull request from gcormier/rcbugfix
Fix  - M48/G29 on CoreXY maybe others?
Sebastianv650 c397b9d60a Planner acceleration bugfix and speedup v2
.) Use already existing inverse_millimeters instead of /
block->millimeters.
.) Prevent overflow during acceleration calculation by checking if float
is necessary. Idea modified from Sailfish.
.) Save two uint32_t or even float multiplications by checking if
step[AXIS] has steps and if max acceleration is lower than accel. If
not, there is no need to check this axis.
esenapaj 70e287ca8c Extend measuring range of thermocouple for MAX31855
Greg Cormier f0aed9dac7 Fix - M48/G29 on CoreXY maybe others?
esenapaj e50992694f Fix for the PR (Updated french translation)
MSG_INFO_PRINT_TIME is still being used
Scott Lahteine 483082387c Merge pull request from
Fix for the PR  (Save bytes for custom chars (Hitachi LCD))
Scott Lahteine 8b967a9ff0 Merge pull request from thinkyhead/rc_reverse_arrow_buttons
Apply encoder reverse options to keypad arrows
esenapaj 523c7eaa6c Fix for the PR (Save bytes for custom chars (Hitachi LCD))
Scott Lahteine ca48a49fdb Merge pull request from petrzjunior/transl
[LANGUAGE] Update Czech (BLTOUCH and DAC strings)
Scott Lahteine f0744fc815 Merge pull request from thinkyhead/rc_french_update
Updated french translation
Gege2B 88b7f6eb46 Updated french translation
Scott Lahteine 3544c3632f Merge pull request from thinkyhead/rc_warnings_fix
Warnings fixed redux
Petr Zahradník junior 8323d78ed7 Translated BLTOUCH and DAC strings
Scott Lahteine e151f952a3 Apply encoder reverse options to keypad arrows
Scott Lahteine cfb47929ca Merge pull request from thinkyhead/rc_fix_ugly_code
Reduce, clean up MINTEMP / MAXTEMP test code
Josef Pavlik dca50737f5 fixed warning: ISO C++ forbids compound-literals
Josef Pavlik 0bd66807b2 fixed warning: extra ;
Josef Pavlik d35dc407a8 fixed warning: ISO C99 requires rest arguments to be used
Josef Pavlik c2b51af3ba fixed warning: ISO C does not permit named variadic macros
Scott Lahteine 0d3fc7dd89 Merge pull request from gcormier/fixbaby
Set defer delay back to false when exiting babystepping.
Scott Lahteine f888597197 Reduce, clean up code for mintemp/maxtemp tests
Scott Lahteine ad64723354 Move MAX_EXTRUDERS to pins.h
Scott Lahteine 5f5a55a0de Add a ZERO macro to clear arrays
Greg Cormier 0009725637 Set defer delay back to false when exiting babystepping.
Scott Lahteine 627f9d5285 Merge pull request from thinkyhead/rc_lin_adv_opt
LIN_ADVANCE optimizations
Scott Lahteine 0908329d96 Merge pull request from thinkyhead/rc_mbl_lcd_logical
Fix manual leveling coordinates
Scott Lahteine 14e60f0d3b Correct typo in configs
As pointed out by 
Scott Lahteine 1165e83263 MBL coordinates are logical
Scott Lahteine dbfabb4c0a Merge pull request from Kaibob2/patch-5
Correct grammar and translation in language_de.h
Scott Lahteine b19bba275f No LCD timeout during babystepping
As requested in 
Scott Lahteine b9109b2875 Improve LIN_ADVANCE commentary (all configs)
Sebastianv650 9818d97587 Fix Z-hops during retract/prime lead to blobs
We don't want to have retract/prime movements done with LIN_ADVANCE, that's also true with simultaneously executed Z-hops.
Sebastianv650 599649e45d Add formula for LIN_ADVANCE_K
With this formula, a start value for K for further fine-calibration can be calculated.
Scott Lahteine be7d245eff Merge pull request from thinkyhead/test_endstop_hits
Save some PROGMEM in MBL G28
Scott Lahteine 7c0e52256d Merge pull request from thinkyhead/rc_fix_baud_config
Patch BAUDRATE line in configs
Scott Lahteine 2783dcb4cc Save some RAM in MBL's G29
Scott Lahteine 4f5a8c05d5 Tweaks to endstops macros
Scott Lahteine 083d41a2c2 Remove redundant estep rate code from LIN_ADVANCE
As noted by https://github.com/MarlinFirmware/Marlin/pull/4971#issuecomment-252503295
Scott Lahteine 4f6bfabaad Patch BAUDRATE line in configs
Kai 2bfedb74d5 Correct grammar and translation in language_de.h
Made Filament change Text sound like correct german.
esenapaj 1e1edeadd3 Fix for the commit dc2cb84 (Revert acceleration limiting to avoid overflow)
・Add forgotten '\'
Scott Lahteine dc2cb8454c Revert acceleration limiting to avoid overflow
Scott Lahteine 6ae5cf17a9 Merge pull request from esenapaj/Fix-freezing-with-MAX31855
Fix freezing and MINTEMP Error with MAX31855 thermocouple
Scott Lahteine f257c4bcae Merge pull request from thinkyhead/rc_dac_code_deps
Fix DAC current code
Scott Lahteine b80cc0cbb5 Fix DAC current code
esenapaj 385bd8a4a3 Fix freezing and MINTEMP Error with MAX31855 thermocouple
Scott Lahteine ca7275a67a Disable EXTRAPOLATE_FROM_EDGE by default
Scott Lahteine 0921c7da84 Merge pull request from thinkyhead/rc_jerk_from_mk2
Adapt Jerk / Speed code from Prusa MK2
Scott Lahteine 4d89652bc2 Apply minor optimizations to planner.cpp
Scott Lahteine 1092319b19 Adapt speed/jerk code based on Prusa MK2 branch
Scott Lahteine 37643fef63 Merge pull request from bgort/platformio-improvements
Move platformio directories out of source tree
Scott Lahteine 8e1cc9332a Replace block flag bools with flag bits
…and apply const to some method parameters
Scott Lahteine d41f2bdbd8 Merge pull request from thinkyhead/rc_max31855_fix
Patches for Stepper DAC and MAX31855
Scott Lahteine e7cf566fc5 Do kinematic segments with buffer_line_kinematic
This breaks the raw option, but in the future perhaps all planner moves
will be sent in raw form instead of logical.
Scott Lahteine a10e81dc2a Minor cleanup of set_bed_leveling_enabled
Scott Lahteine 029824bc49 Patch ADJUST_DELTA macro for SCARA
Scott Lahteine 5ce5a9c822 Marlin: planner.h tweak
Scott Lahteine d963020532 Sort out some header dependencies
Scott Lahteine e17f9b8b99 DAC patches
As suggested by 
Scott Lahteine 2cb5df8a56 Merge pull request from
Small fix for the PR  (LIN_ADVANCE bug fix and optimization)
Scott Lahteine b6221df3f3 Merge pull request from MarlinFirmware/revert-4933-rc_drop_pid_func_range
Revert "Removal of PID functional range"
Scott Lahteine a07033a6c1 Merge pull request from
Fix and follow-up the PR  (PINS_DEBUGGING and M43: Read pin states), etc
Scott Lahteine f8199b2cc1 Merge pull request from thinkyhead/rc_abl_bugfix
Fix planner with kinematics, delta ABL
esenapaj f41c60d4a4 Follow-up the PR , etc
・More ANALOG NUMBERING to Analog Input
・Add comment header to all the section of all the pins files

・Sort sections as follows:
1. Some special definitions (USBCON, LARGE_FLASH, etc)
2. Servos
3. Limit Switches
4. Z Probe
5. Steppers
6. Temperature Sensors
7. Heaters / Fans
8. Misc. Functions
9. LCD / Controller

・Move MAX6675_SS into "Temperature Sensors" section
・Adjust spacing
esenapaj 00456b0cb3 Fix compilation errors
esenapaj cfb5c24bc9 Small fix for the PR (LIN_ADVANCE bug fix and optimization)
・Fix a comment about timer
Scott Lahteine 149b8d9e4b Handle MAX31855 error conditions
Scott Lahteine f4ec265363 Fix a typo
Scott Lahteine 4ec2d459e6 Fix mcp4728_setVref_all as followup to
Scott Lahteine 1e551c0688 Revert "Squashed - Removal of PID functional range"
Scott Lahteine 4037df82b0 Merge pull request from esenapaj/Update-Japanese-language
Update Japanese translation, etc
Scott Lahteine e4e290d957 Make EXTRUDER_RUNOUT_PREVENT kinematic compatible
Scott Lahteine 847429eff4 Make tool_change kinematic compatible
Scott Lahteine a4a7ca10ca Make USE_DELTA_IK_INTERPOLATION compatible with ABL
Scott Lahteine c5cac486f5 Use a, b, c instead of lx, ly, lz
Josef Pavlik f8c2473a71 Improve planner kinematics, fix delta ABL
Scott Lahteine 48761f2021 Patch delta endstop adjustment config
Josef Pavlik 28d41b48e3 delta endstop adjustment configurable
Scott Lahteine ff6b23cb0f Fix an issue with shifted LCD lines
Scott Lahteine e4d2662d81 Use some macros in M48
Scott Lahteine 3752d9aca8 Fix timer comments
Sebastianv650 a448cedbc5 LIN_ADVANCE bug fix and optimization
.) long to int: Extruder stalls at 10kHz / 20kHz step limits with long.
.) Take the delta_adv_steps calculation out of the step_loops loop. Wasted calculation performance if done inside.
.) >> 2 replaced by 3: Is divide by 8. Reason: Timer 0 runs at 16/8=2MHz, Timer 1 at 16/64=0.25MHz. ==> 2/0.25=8.
esenapaj b27080c1dd Update Japanese translation
・Add new translation
esenapaj 0780146034 Move DAC section from inside of the changing filament section
Brian 9c0404eae4 Move platformio directories out of source tree
Scott Lahteine a1b50f1102 Cleanup of code style
jaysonkelly 13c9dcc600 Add LCD menu for DAC
Scott Lahteine 00261cbfcb Merge pull request from thinkyhead/rc_drop_pid_func_range
Squashed - Removal of PID functional range
Scott Lahteine ee01def16d Merge pull request from thinkyhead/rc_debug_pins
PINS_DEBUGGING and M43: Read pin states
Scott Lahteine a0df34fd4c Add PINS_DEBUGGING advanced config option
Scott Lahteine e21bab5243 PINS_DEBUGGING and M43 Read Pins
Scott Lahteine 3c97fa6e29 Merge pull request from esenapaj/Fix-for-advance-algorithm
Move routine of direction signal of ADVANCE and LIN_ADVANCE from Stepper::isr() to Stepper::advance_isr()
Scott Lahteine 48e63c4730 Comment some globals
Scott Lahteine 9a6c66602f Fix formatting of extrapolate debug output
Scott Lahteine cd77eb5c40 Clear grid for bilinear G29
Scott Lahteine 53a0856f5c Print Y as int in print_bed_level
esenapaj f8df88f271 Move routine of direction signal of ADVANCE and LIN_ADVANCE from Stepper::isr() to Stepper::advance_isr()
Brian 357854a7ef tweak variables;
Brian 48cf19151a Improve M48 output; Add min, max, range, etc.
Scott Lahteine c63cb45268 Fix thermal runaway timeout
Scott Lahteine e6164d254d Clean up GCode command short comments
Scott Lahteine 47bd142b29 Should marlinAnalogInputToDigitalPin use analogInputToDigitalPin?
Scott Lahteine bd8520e61d Label analog pins in a similar way
Some other pins formatting also
Scott Lahteine 0c0deb5194 Common pin_is_protected function
Scott Lahteine 49d77720d5 More support for 4th extruder or heater
Scott Lahteine 46839c222a Comment and clean up some vars
Scott Lahteine 8910bb7c97 Fix buzzer conditional compile
Scott Lahteine de7e798e6f Replace single-char S_ECHOs with S_CHAR
Scott Lahteine 0e83f34174 Tweak debugging of probe_pt
Scott Lahteine cc02f6edf8 Merge pull request from esenapaj/Small-update-of-language_kana_h
Small update of language_kana.h
Scott Lahteine ca26011e3c Merge pull request from MagoKimbra/rc_fix_M205
Add note for M205
Scott Lahteine 9485aa8f13 Include negative Z probe offset in clearance move
Scott Lahteine 5c1eb595e6 Fix for G2/G3 negative radius
As suggested in 
esenapaj f09ae96f28 Small update of language_kana.h
MagoKimbra 7b37539fe7 Add note for M205
Scott Lahteine d5f598cd82 Tweak probe debug, add newline
Scott Lahteine c592ccb6f5 Patch max_jerk[Z] menu item
Scott Lahteine d80a79eb77 Use right-shift instead of / 2, why not?
Rerouter 02fe9cf558 Removal of functional range constraint
Also lined up the >> 1 and / 2 mentioned earlier in the unconstrained I term issue,
Rerouter 5f5d87cad3 Update Configuration.h
Scott Lahteine 761593b74b Cleanup some vars, use of min/max
Scott Lahteine d19cfcfc1d max_jerk array, DEFAULT_XYJERK => DEFAULT_[XY]JERK
Scott Lahteine e7dc174f30 More detailed debugging of G28 delta
Scott Lahteine 473f4a17a8 Merge pull request from Rerouter/PID-Unconstrained-Itemp
Pid unconstrained itemp
Scott Lahteine bad8899ebc Merge pull request from thinkyhead/rc_g38_changes
Cleanup of G38.2 / G38.3
Scott Lahteine 73ce3a61c7 Cleanup, comment zigzag
Scott Lahteine 0d538f3db6 Add to all configurations
Scott Lahteine 919fe3e4b8 Rename feature to G38_PROBE_TARGET
Scott Lahteine a2864ab7fe Patched up, cleaned up
Bob-the-Kuhn 2911aa7ffa code changes to implement G38 commands
1) modified 3 code files
Marlin.h
Marlin_main.cpp
endstops.cpp

2) modified config files so I could test on my machine

Testing was done on an AzteegX3pro based machine.

The probe was hooked to the Z_MIN endstop.

My controller doesn't have a dedicated Z_PROBE input so I couldn't test
that functionality.

Verified that a large file (without any G38 commands) executed the same
before and after the changes.

Verified that the head moves as expected when G38.2 and G38.3 commands
are issued. Single & multiple axis moves were tested along with + and -
directions.

Code was added to the main ISR. In normal operation only one extra IF
statement is evaluated. I didn't notice any performance degradation
because of the added code.

The G38 commands are expected to be issued manually by the operator
during machine setup. The G38 commands wait until the machine is idle
before proceeding. That way the other commands are minimally impacted
by the extra ISR overhead when a G38 command is in the queue.

The G38 commands are very similar to the G28 commands except 1) only the
Z_PROBE is used and movement can be in the + or - direction.

See issue 4677 for a discussion on adding G38 commands to Marlin.
Feature request: add ability to use G38.2 command (CNC)
Scott Lahteine 74d048e77e Merge pull request from thinkyhead/rc_bltouch_noraise
Don't check Z_MAX on raise when the probe pwns the pin
Scott Lahteine 4afa293289 Say "BLTOUCH" in machine info report
Scott Lahteine ed7d2694fc Don't check Z_MAX on raise when the probe pwns the pin
Scott Lahteine 3bbdd48a4d Merge pull request from thinkyhead/rc_abl_patchups
Fix up ABL - Add PROBE_Y_FIRST option. Arduino 1.6.8 required.
Scott Lahteine fffc9fefa8 Apply changes to all configs
Scott Lahteine 587cb6c283 K8400 has 1xXY an 2xZ endstop plugs
Scott Lahteine d234bc160e Require Arduino 1.6.8 to compile
Scott Lahteine 2d2c9bdf92 Add PROBE_Y_FIRST option for probe order
Scott Lahteine c8c57e59fc Patch the end of G29 to sync plan position
Scott Lahteine 81b8c9f8ec Add XY parameters to G29 for mesh dimensions
Scott Lahteine 56cf674150 M420 can now enable/disable ABL
Scott Lahteine 06790977c4 Use updated position methods
Scott Lahteine e8f2604a6f Patch print_bed_level numbering
Scott Lahteine d066610514 Patch up bilinear_z_offset
Scott Lahteine 850e38d013 G30 will only disable bed leveling
Scott Lahteine 510ef5d14a Standard function to turn bed leveling on/off
Scott Lahteine ecf7cdde65 Augment planner/stepper getters/setters
Scott Lahteine 2febd8ec82 Double-touch debugging
Scott Lahteine b331077c32 Use stepper.get_axis_position_degrees
Scott Lahteine 0d9efb24f3 Fix up bilinear_z_offset
jaysonkelly 3b3d282f8e Adjusted values for Rigidboard Configuration
Rigidboard differs a little in configuration from the PrinterBoardRevF we modeled the code after.
Scott Lahteine 850259bb25 Watch bed temp also for Control menu item
esenapaj 92c03a44a9 Fix the PR (ABL: Enable by type. Bilinear for all.) etc.
About Configuration.h:
・Fix the PR  (ABL: Enable by type. Bilinear for all.)
Remove Duplicated contents

・Fix the PR  (Custom boot screen feature improvement)
Revert from "during boot" to "during bootup" in all the example
Configuration.h

・Fix the PR  (Clean up, simplify and generalize the Allen-key-probe
code.)
Resolve and relocate the duplicated definitions in Z_PROBE_ALLEN_KEY
section

・Follow-up the PR  (Additional documentation of Configuration.h)
Add forgotten changes to all the example Configuration.h

Adjust spacing

About Configuration_adv.h:
Add missing description of SLOWDOWN for DELTA

Adjust spacing
Rerouter 50e5ee4de4 Update Configuration.h
Rerouter 1a2f1d4974 Update temperature.cpp
Rerouter a765c98850 Removal of the constraints of the Iterm
Scott Lahteine 8b46eb3766 Fix bilinear interpolation
Scott Lahteine 5100bdac81 Improve Bilinear Grid
- Extrapolate properly for even numbered grid points
- Extrapolate using average, not median
- Improve bilinear grid report output
- Add debug output for bilinear extrapolation
- Add option to extrapolate from edge, not center
Scott Lahteine a3e91ec65e Add 'Q' option to G29 when debug leveling is on
Scott Lahteine 1fceda4fb0 Add leveling type and details to machine_info
Scott Lahteine e0e0166075 Fix auto bed leveling - turn on after successful G29
Scott Lahteine 18e40de39c Adjust final Z after bilinear G29
Scott Lahteine ea0dbee3c9 Enable ABL by type, support bilinear on cartesian
Scott Lahteine 9cebbabd05 Merge pull request from thinkyhead/rc_stat_led_check
Define status LED pins without condition
Scott Lahteine 5fff8d148b Clean up digital pots and microsteps
Scott Lahteine 570676d265 Include requirements in "Implemented Codes"
Scott Lahteine cb48292338 Use fastio for literal pins
Scott Lahteine 07703d2bd6 Use _PIN suffix on some pins
Scott Lahteine 203e519bf4 Sanity check for status LED pins
Scott Lahteine ba43277429 Always define status LED pins
Scott Lahteine ad691022d7 Fix up spacing in A4JP pins
Scott Lahteine fba0b67f7d Rename status led pins
Scott Lahteine 9d86c07702 Clean up some fastio.h spacing
Scott Lahteine ab84ed22ca No such thing as G6 and G7 pins
Scott Lahteine c2f13be750 Mightyboard Revision E
Scott Lahteine 041d127cd3 Match bltouch test in do_homing_move with new code
Scott Lahteine 16461900c2 Fix for HEATERS_PARALLEL
Scott Lahteine 1583d37edd Comment on M851 case
Scott Lahteine 076f3a8284 unsigned char => uint8_t
Scott Lahteine 8935bed594 MIDDLE_DEAD_ZONE => MIDDLE_DEAD_ZONE_R
Scott Lahteine 6cf0952bf9 Merge pull request from thinkyhead/rc_autumn_fixups
Improve MINIMUM_STEPPER_PULSE
Scott Lahteine 8061f1fac9 Merge pull request from thinkyhead/fix_warnings_etc
Suppress warnings, fix nonlinear_z_offset
esenapaj 7bdc58a818 Suppress warnings, fix nonlinear_z_offset
Scott Lahteine eabff30e75 Improve MINIMUM_STEPPER_PULSE
esenapaj 3ed8f8331c Update Japanese translation
・Add new translation
Scott Lahteine da1644313d Merge pull request from
Follow-up the PR  (Fix BLTOUCH string and SERVO_DELAY)
Scott Lahteine 903b8bb60c No need for auto_bed_leveling_was_enabled
esenapaj ee60225c07 Follow-up the PR (Fix BLTOUCH string and SERVO_DELAY)
Scott Lahteine 0951bffcc0 Sanity check homing bumps
Scott Lahteine a9a21db39f No homing bump if bump distance is 0 (or less)
Scott Lahteine 2b4da57ea7 Patch Z safe homing for probe Z homing