Commit Graph

8413 Commits

Author SHA1 Message Date
Scott Lahteine
ed0e72bf44 Fix spelling in configs 2018-07-24 21:02:22 -05:00
silentninja1
060e7a3565 Silentninja1 idex crash fix (#11329)
* Move home all axis prototype to allow access from UBL.h

* Remove home all axis command as it exists in marlin.h now

* Reverse order of tool change and home

Race condition causes E0 carriage to move on E1 commands and crash into parked head if order is reversed. Needs more research into permanent fix, but this will prevent damage to machines in the meantime.
2018-07-24 14:44:50 -05:00
Scott Lahteine
3bbb121e7d Tweak some Max7219 code 2018-07-19 18:51:35 -05:00
Scott Lahteine
d1590fec3e
Merge pull request #11308 from thinkyhead/bf1_manual_probe_start_z
[1.1.x] Manual Z Start Height
2018-07-19 18:26:51 -05:00
Roxy-3D
6c62b0e263
Change Max7219_idle_task() to use columns if Y-Axis has 16 LED's (#11317) 2018-07-19 16:59:38 -05:00
Scott Lahteine
221e8bbb05 Add MANUAL_PROBE_START_Z to example configs 2018-07-18 21:50:18 -05:00
Scott Lahteine
888774cbc3 Add MANUAL_PROBE_START_Z for manual probing 2018-07-18 21:50:18 -05:00
Scott Lahteine
db057eb453 Fix tool_change call in UBL G29
Fix #11279, #11252
2018-07-18 20:35:14 -05:00
Scott Lahteine
5ce312f158
Merge pull request #11305 from thinkyhead/bf1_power_loss_pin
[1.1.x] Add support for power loss detect pin
2018-07-18 20:13:47 -05:00
Scott Lahteine
389f2ac81f planner.synchronize at start of tool_change
See https://github.com/MarlinFirmware/Marlin/issues/10949#issuecomment-398540498
2018-07-18 20:09:39 -05:00
Scott Lahteine
7321f30ac0 Add POWER_LOSS_PIN support 2018-07-18 19:58:06 -05:00
Scott Lahteine
46b0e054b1 Add POWER_LOSS_PIN to example configs 2018-07-18 19:58:06 -05:00
Giuliano
9d0627d66c Make GCodeParser::debug static (#11294) 2018-07-17 23:38:39 -05:00
Scott Lahteine
6024ffedd9 Improve Malyan progress / feedrate
Co-Authored-By: J.C. Nelson <xc0000005@users.noreply.github.com>
2018-07-17 19:33:57 -05:00
Scott Lahteine
7e648f3721 Add card.longest_filename, more lcd_strlen updates 2018-07-17 19:33:57 -05:00
Scott Lahteine
036f25e159 More lcd_strlen updates 2018-07-17 18:17:19 -05:00
Scott Lahteine
17e1eec21e Make sure linear units are initialized
Based on #11295

Co-Authored-By: Giuliano <gmagician@users.noreply.github.com>
2018-07-17 17:20:57 -05:00
Roxy-3D
58775cc694
Don't display M421 values for UBL at startup
It takes 20 seconds to display the mesh values at startup...   If we are going to display this information at startup, we should find a more terse way to do it.   Perhaps displaying an entire row of the mesh at a time makes sense?
2018-07-17 17:17:09 -05:00
Scott Lahteine
fbc3fdb490 LCD strlen functions like 2.0.x 2018-07-17 15:25:58 -05:00
Scott Lahteine
756080fcca Followup to floats patch 2018-07-17 15:24:33 -05:00
Giuliano
e6801ff84a [1.1.x] Fix change filament (#11268)
Prevent crash, on filament change, when printer is not homed
2018-07-16 21:48:45 -05:00
Roxy-3D
bc961220b7
Change Max7219_idle_task() routines to use single line if X-Axis has 16 or more LED's
Change Max7219_idle_task() routines to use single line if X-Axis has 16 or more LED's

This gets bugfix_1.1.x at parity with https://github.com/MarlinFirmware/Marlin/pull/11285 when it gets merged.
2018-07-16 19:23:59 -05:00
kaimimue
256f76d35e Fix Vellemann K8400 Configuration (#11258)
The maximum movement is 180mm for Velleman K8400.
An offset of `Y_MIN_POS` violates an assertion in `SanityCheck.h`.

Code tested on Vellemann K8400 with Dual Extruder.
2018-07-13 23:15:00 -05:00
Giuliano
1067c43107 [1.1.x] fix kill printer (#11261)
This will fix kill message on dual printer with 0 alignment offset
2018-07-13 23:13:29 -05:00
Scott Lahteine
d60b2e5ba8
Merge pull request #11233 from nightgryphon/multiprobe-z-up
[1.1.x] Shorter Z raise between multiple probes
2018-07-12 22:44:25 -05:00
Scott Lahteine
cb0777dbeb
Merge pull request #11248 from thinkyhead/bf1_tmc_unify_param_i
[1.1.x] Unify "I" parameter for M906,M912 etc.
2018-07-12 22:31:26 -05:00
Scott Lahteine
8f110190eb Add Z_CLEARANCE_MULTI_PROBE to example configs 2018-07-12 22:27:06 -05:00
nightgryphon
54adf6f52d Shorter Z up move between multiple probing attempts
For some probes like micro switches the full Z clearance raise between
probing attempts is not required while bigger Z clearance between probe
points is still needed to avoid clamps. The shorter Z raise within
multiprobing same point significantly increase probing speed and the whole
auto level process.
2018-07-12 22:27:06 -05:00
Clifford Roche
3b5c81b84a [1.1.x] Validate that X/Y_PROBE_OFFSET_FROM_EXTRUDER are integers (#11255) 2018-07-12 21:22:59 -05:00
Scott Lahteine
d8331d97d6 Unify M91x parameter I meaning, simplify reports 2018-07-11 20:31:40 -05:00
Scott Lahteine
5cddfce0ee Endstops::report_state => event_handler 2018-07-11 19:47:25 -05:00
Aaron Griffith
5f587126b9 Loosen static assertion guarding overflow in SCAN_THERMISTOR_TABLE (#11240)
Bisect search merged in #10882 actually works fine for thermistor
tables with up to 255 entries with no overflow, due to C++ integer
promotion rules.

Closes issue #11220.
2018-07-11 16:42:23 -05:00
Roxy-3D
39b3e4c501
Support for multiple Max7219 units in a chain (#11226)
* Support for multiple Max7219 units in a chain

I'll move this support over to bugfix_2.0.0 in the next few days.   And
then look at updating the Max7219_idle() routine to make use of multiple
units in a chain.

* spelling correction
2018-07-08 17:35:58 -05:00
Roxy-3D
fae2929b6b
Resolve issue where user can't edit mesh 2018-07-08 14:39:08 -05:00
Scott Lahteine
ccb225f43a
Float maths updates for 2.0.x parity (#11213)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-07-06 21:44:33 -05:00
Scott Lahteine
fc9f4ce2c0 Fix missing quote in language list
Co-Authored-By: p3p <p3p@p3psoft.co.uk>
2018-07-04 13:40:18 -05:00
Scott Lahteine
a69cc6c5ba Fix Trigorilla include typo 2018-07-03 20:22:36 -05:00
Scott Lahteine
03a704600c
No M914 or SGT set for non-sensorless axes (#11197) 2018-07-03 20:10:43 -05:00
Scott Lahteine
fae20983eb Add configurations for Tronxy X3A 2018-07-03 18:14:46 -05:00
Marcel Schulz
432da42dba Add thermistor 501 (100K Zonestar) 2018-07-03 18:10:55 -05:00
Scott Lahteine
559e935785 Bring default Configuration.h up to date 2018-07-03 18:10:55 -05:00
Scott Lahteine
0702c78e62
Fix and improve POWER_LOSS_RECOVERY (#11186) 2018-07-02 23:21:18 -05:00
Scott Lahteine
84187dca5c Add "Marlin Dev Mode" option 2018-07-02 22:53:01 -05:00
Scott Lahteine
b7c648db32 Minor patches for POWER_LOSS_RECOVERY 2018-07-02 17:25:15 -05:00
Scott Lahteine
a83f7f1d25 Turn off DISABLE_INACTIVE_EXTRUDER with SWITCHING_NOZZLE
Fix #11183
2018-07-02 17:25:15 -05:00
Roman Moravčík
5700360adf [1.1.x] Slovak translation update (#11174) 2018-07-01 23:15:14 -05:00
Scott Lahteine
defaa93121
Do a hard kill for failed homing moves (#11160) 2018-06-30 21:53:58 -05:00
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