Commit Graph

8366 Commits

Author SHA1 Message Date
Scott Lahteine
c4fbbcaf46 Lose the old HOMEAXIS macro 2018-06-30 18:07:40 -05:00
Scott Lahteine
ca6ddbc555 Detect endstop hits in any direction 2018-06-30 17:26:49 -05:00
Scott Lahteine
1caa01a9a2 Fix Trigorilla 1.4 pin defines
See #11097
2018-06-30 13:45:41 -05:00
Scott Lahteine
a294ec3836
Add delta feedrate scaling (#11152) 2018-06-30 13:44:37 -05:00
Scott Lahteine
718a22e836 Non-conflicting CS pins for MKS Gen L 2018-06-30 02:35:45 -05:00
Scott Lahteine
be3e006fc8 Fix G33 compile warning 2018-06-29 23:20:59 -05:00
Scott Lahteine
654f0bed25
Remove JUNCTION_DEVIATION_INCLUDE_E option (#11146) 2018-06-29 22:41:56 -05:00
Scott Lahteine
609e7da3f3
Fix and tweak POWER_LOSS_RECOVERY (#11150) 2018-06-29 22:40:49 -05:00
Scott Lahteine
67475374ae Fix SKEW_CORRECTION compile error 2018-06-29 19:37:47 -05:00
Scott Lahteine
485d50ecb0 Ignore Z min endstop with separate Z probe
To allow for the case where a Z endstop (e.g., hall effect) is higher than the probe trigger point, don't check the Z min endstop during probe moves. See #11134
2018-06-28 05:09:45 -05:00
Scott Lahteine
5788a393c0 Fix up microsteps conditionals 2018-06-28 00:07:03 -05:00
Scott Lahteine
5e03dede18 Eliminate stepper.* signed/unsigned warnings 2018-06-27 23:06:49 -05:00
Scott Lahteine
b880028334
Fix stepper/planner block handling, race conditions (#11136)
- Allow planner to alter the deceleration phase of the currently executing block.
- Remove BUSY flag, as it is NON ATOMIC to set bits in the Stepper ISR and Planner at the same time.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-27 18:11:23 -05:00
Scott Lahteine
cff2201629
Poll all endstops, even when stationary (#11125)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-27 04:19:05 -04:00
Scott Lahteine
e352c1e52d Endstop patch followup 2018-06-27 00:12:42 -05:00
Scott Lahteine
04fc715c91
Add minimum step dir delay option, A4988 pulse note (#11122)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-26 22:28:46 -04:00
Scott Lahteine
4d5c655f8d
Make max_e_jerk an array to save CPU (#11121)
Co-Authored-By: gloomyandy <andy-git@gloomy-place.com>
2018-06-26 22:09:38 -04:00
Giuliano
0a2d3ecfd4 [1.1.x] Fix advanced pause init values (#11096)
Fixed for cycle used to initialize default values
2018-06-26 14:38:08 -04:00
Scott Lahteine
8600cbb01b Clear Max7219 without test pattern 2018-06-25 11:54:14 -04:00
Scott Lahteine
dd9c65d0be
[1.1.x] Fix stepper/planner race condition, Stepper pulse timer (#11084)
* Fix planner/stepper race condition

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
Co-Authored-By: AnHardt <github@kitelab.de>

* Fix stepper pulse timing

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-22 10:53:46 -04:00
Scott Lahteine
53745446f9 Fix LIN_ADVANCE max_e_jerk_factor
According to https://github.com/MarlinFirmware/Marlin/issues/9917#issuecomment-399204568
2018-06-21 21:38:52 -04:00
Scott Lahteine
52f5efb78d
Filter endstops state at all times (#11076) 2018-06-21 20:13:16 -05:00
Scott Lahteine
94787114f1
Merge pull request #11074 from thinkyhead/bf1_value_editing 2018-06-21 20:12:48 -05:00
Roxy-3D
7632df6820
add the move_z_after_probing() functionality to UBL's G29 J 2018-06-21 13:22:40 -05:00
Scott Lahteine
bd10791b6d Edit Z fade as whole numbers 2018-06-21 11:53:29 -04:00
Scott Lahteine
b05fcad7fe Fix value editing with callback 2018-06-21 11:48:27 -04:00
Scott Lahteine
3bb332b440 Use Tool 0 for Dual X Axis G29
See https://github.com/MarlinFirmware/Marlin/issues/5597#issuecomment-397683325
2018-06-19 22:54:30 -05:00
Scott Lahteine
e0b4abd3eb Don't reset stepper timeout for all g-codes 2018-06-19 21:50:09 -05:00
Roxy-3D
3ca4f09680 Tiny improvement to M7219
The registers within the Max7219 can get corrupted a number of ways.  This allows the Max7219 to be reset and fully initialized.
And...  it also allows the user to see the initialization pattern.
2018-06-19 18:21:19 -05:00
Giuliano
7cdaf69ab7 [1.1.x] Fix Italian msg len (#11057)
Fix message to long for 12864 display
2018-06-18 22:04:35 -05:00
Scott Lahteine
dc087b1132
[1.1.x] Tweaks and additions for MAX7219 (#11033) 2018-06-18 22:03:53 -05:00
Scott Lahteine
35023b09ef Fix critical section start/end 2018-06-16 17:38:46 -05:00
Scott Lahteine
a85f60adb9 Unsigned eeprom mesh addresses 2018-06-15 15:54:42 -05:00
Giuliano
e601cfb836 [1.1.x] reset bltouch on home (#11010) 2018-06-13 14:08:47 -05:00
Scott Lahteine
af1721b351 Extra insurance against endstop false positives 2018-06-13 00:36:47 -05:00
Scott Lahteine
cc4e515480 Fix coolstep_min_speed / sensorless homing
Fix #8890
2018-06-12 22:53:17 -05:00
Scott Lahteine
9d91ea4e3e Fix stepper pulse duration 2018-06-12 21:35:03 -05:00
Scott Lahteine
d3567592d7 Localize stepper-specific defines 2018-06-12 21:22:13 -05:00
Scott Lahteine
87eddf35e2 HAL_STEPPER_TIMER_RATE => STEPPER_TIMER_RATE 2018-06-12 16:55:57 -05:00
Scott Lahteine
1d048f5192 Optional homing/leveling with O parameter
Based on #10913

Co-Authored-By: dot-bob <gibben@gmail.com>
2018-06-11 23:13:18 -05:00
Scott Lahteine
8073f23672 Improvements for junction_deviation_mm
- Drop `max_jerk` with `JUNCTION_DEVIATION`
- Add `max_e_jerk_factor` for use by `LIN_ADVANCE`
- Recalculate `max_e_jerk_factor` when `junction_deviation_mm` changes
- Fix LCD editing of `junction_deviation_mm`
2018-06-11 21:49:26 -05:00
Scott Lahteine
4bc5e9341e Use bit flags for homed/known 2018-06-11 21:49:26 -05:00
Scott Lahteine
4ed92f838f Use stepper timer to count pulse duration 2018-06-11 21:46:31 -05:00
Scott Lahteine
47f7c4889d Fix include in lite status screen 2018-06-11 21:30:49 -05:00
Scott Lahteine
6a7e0a852b Minor stepper.cpp cleanup 2018-06-11 19:16:31 -05:00
Scott Lahteine
eca91a8bd7 Tweak M122 report spacing 2018-06-10 20:34:18 -05:00
Scott Lahteine
8e987023e1 Replace ADC with HAL_READ_ADC 2018-06-10 20:09:44 -05:00
Scott Lahteine
53730be606
Fix MarlinSerial (#10992) 2018-06-10 20:04:52 -05:00
Scott Lahteine
38f73d57bc Clean trailing whitespace 2018-06-10 18:42:39 -05:00
Scott Lahteine
7175da3256 Multiplier edit large ranges 2018-06-10 18:18:22 -05:00
Scott Lahteine
4c3504c43f Limit Junction Deviation (0.01 to 0.3) 2018-06-10 18:18:22 -05:00
Scott Lahteine
327b9c389d
Add Junction Deviation mm runtime setting (#10989) 2018-06-10 18:02:40 -05:00
Scott Lahteine
f1ed08e369 Fix serial debug ouput 2018-06-10 17:55:56 -05:00
Scott Lahteine
8dac040c42 Protected pin err for M226 2018-06-10 17:40:00 -05:00
Scott Lahteine
d70189abf6 Always stow BLTOUCH at start of G28 2018-06-10 16:24:12 -05:00
Scott Lahteine
6e49901104 Adaptive and max stepping followup 2018-06-10 16:00:38 -05:00
Scott Lahteine
e0aec001f3
Merge pull request #10984 from thinkyhead/bf1_multiaxis_smoothing
[1.1.x] Adaptive multi-axis step smoothing
2018-06-10 15:12:54 -05:00
Scott Lahteine
e9c8c5dbc9
Merge pull request #10982 from thinkyhead/bf1_xon_xoff_changes
[1.1.x] Serial handshaking fixes / debug
2018-06-10 04:33:23 -05:00
Scott Lahteine
9c083d8a9f Add sanity-check for MOTHERBOARD 2018-06-10 04:01:59 -05:00
Scott Lahteine
b7ddfddf51 Add MAXIMUM_STEPPER_RATE, enforce in multi-stepping
The timing value should be properly set for ALL boards. The compiler will check and set maximum step rate calculations based on those values.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-10 01:56:00 -05:00
Scott Lahteine
1cdcc6adfa Adaptive multiaxis step smoothing
- Stepper bugs fixed
- Support MIXING_EXTRUDER with Linear Advance
- Miscellaneous cleanup

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-10 01:56:00 -05:00
Scott Lahteine
aab9cb0bbe Update MINIMUM_STEPPER_PULSE description 2018-06-10 00:14:39 -05:00
Scott Lahteine
095cc75838 Add hidden Serial debug options
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-09 22:23:10 -05:00
Scott Lahteine
17a965de17 Fix serial XON/XOFF handshaking
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-09 22:23:10 -05:00
Scott Lahteine
63af814d4d Add HAL_timer_start to HAL.h
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-09 22:12:52 -05:00
Giuliano
1b1e15623a [1.1.x] Fix null check in lsDive (#10979) 2018-06-09 22:03:57 -05:00
Scott Lahteine
1132ec34c1 Increase BLOCK_DELAY_FOR_1ST_MOVE to 100
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-09 21:13:55 -05:00
Scott Lahteine
4c4fd9f32f Highlight 64128N and common ST7565 difference
Followup to #10919, addressing #10962
2018-06-09 15:08:46 -05:00
Scott Lahteine
60cd6892e2 Prevent MB false-positive on bad board name 2018-06-08 19:57:31 -05:00
Scott Lahteine
1dd4e63402 MarlinSerial.cpp formatting tweak 2018-06-08 19:53:39 -05:00
João Brázio
7aa7ecbd0e Update BQ Hephestos 2 config, NTC-70 table (#10902) 2018-06-07 21:23:43 -05:00
Scott Lahteine
582845fd72
Allow FAN_PIN override, pins cleanup (#10957) 2018-06-07 16:39:11 -05:00
Scott Lahteine
70d39ac185 Fix M503 ABL mesh report. (Zero-based IJ indices) 2018-06-07 16:25:35 -05:00
Scott Lahteine
cd73e8f825 More concise M503 output for M906, M913, M914 2018-06-06 03:12:35 -05:00
Scott Lahteine
827ba94e16 Fix a compile warning 2018-06-05 22:46:45 -05:00
Scott Lahteine
851149954a Tweak sanity formatting 2018-06-05 22:45:07 -05:00
Alex
3bc392f592 Prevent a buffer overflow in cardreader 2018-06-05 22:14:51 -05:00
Scott Lahteine
7d39bcfcce LED menu item bool (like Case Lights) 2018-06-03 00:32:13 -05:00
Scott Lahteine
9641bae325 Cleanup for dual endstops homing 2018-06-03 00:32:13 -05:00
Scott Lahteine
d32beafd21 Add macros for ST7565 commands 2018-06-02 20:31:26 -05:00
Scott Lahteine
3b06a8e917
[1.1.x] Assorted fixes and improvements (#10914)
Co-Authored-By: ejtagle
2018-06-01 19:00:59 -05:00
Scott Lahteine
08090d10b6 Drop JUNCTION_ACCELERATION from example configs 2018-05-31 20:06:37 -05:00
Sebastianv650
568b19e7d4 Fix/Improve junction deviation
- Respect axis max acceleration limits instead of forcing a fixed acceleration value.
- The `junction_unit_vec` ensures proper handling of entry and exit speeds even when the axes involved have different limits.
2018-05-31 20:06:37 -05:00
Scott Lahteine
c010b1f43f Clean up some trailing spaces 2018-05-31 19:37:22 -05:00
Scott Lahteine
2b49f8ee65 Fix the Z un-hop on G11
Co-Authored-By: zarthcode <anthony.clay@zarthcode.com>
2018-05-29 23:40:16 -05:00
Scott Lahteine
9c8594c2fb For SCARA probe Y offset is proximal/distal 2018-05-29 21:44:13 -05:00
Scott Lahteine
a11717eed6 Improve probe logging 2018-05-29 21:44:13 -05:00
Scott Lahteine
43a55a9af4 Update Fan 2 and E0 Auto Fan pins for Trigorilla 2018-05-29 12:24:37 -05:00
Scott Lahteine
0460406154 Fix M914 value range (-64...+63)
Fix #10896
2018-05-29 12:03:01 -05:00
Scott Lahteine
7445f30cbf Set deltas to park on the left 2018-05-29 11:45:17 -05:00
Scott Lahteine
6f07699ed5 HOTENDS for Switching Extruder with Switching Nozzle 2018-05-29 11:09:29 -05:00
Scott Lahteine
d6cd7d924c
Modify E-stepping macros for use in LINEAR_ADVANCE (#10887) 2018-05-28 19:33:54 -05:00
Scott Lahteine
2c4d8761ec More concise commentary in planner.cpp 2018-05-28 19:27:55 -05:00
Scott Lahteine
dfe90d552d Long temperature tables need special consideration 2018-05-28 06:27:10 -05:00
Scott Lahteine
c45bfc1c21
Faster (bisect) search in thermistor tables (#10882) 2018-05-27 23:27:34 -05:00
Scott Lahteine
fbeea12026 Correct HOTENDS for SWITCHING_EXTRUDER 2018-05-27 22:55:57 -05:00
Scott Lahteine
33b7488f68 Update stepper.cpp Bresenham for 2.0.x parity 2018-05-27 21:44:01 -05:00
Scott Lahteine
14f45448cb Fix switching extruder stepping with LA 2018-05-26 19:05:31 -05:00
Scott Lahteine
a7561df3d7 Tweak configuration spacing 2018-05-26 18:31:57 -05:00
Scott Lahteine
0bfb10ffb6 Rename Junction Deviation options 2018-05-26 18:31:57 -05:00