Scott Lahteine
2672120a97
Do a small raise for all move-back
2018-03-31 22:43:05 -05:00
Scott Lahteine
5acccbacc1
Simplified leveling-based tool change
2018-03-31 22:43:05 -05:00
Scott Lahteine
1a75165f35
For set_z_fade_height use set_bed_leveling_enabled
2018-03-31 22:43:05 -05:00
Scott Lahteine
d1734a089a
Split up tool_change for some setups
2018-03-31 22:43:05 -05:00
Scott Lahteine
a9f94f260a
Some RADDS pin updates
2018-03-31 22:15:24 -05:00
Scott Lahteine
31df43212c
Use lcd_printPGM_utf in more places
...
Fix #10256
2018-03-31 20:49:20 -05:00
Scott Lahteine
7d8a46519f
Output ABC for delta stepper counts
2018-03-31 20:13:32 -05:00
Scott Lahteine
6098efcc59
Use float62 for LCD edit of Z Fade
2018-03-31 20:03:09 -05:00
Scott Lahteine
f6d13e2295
Allow Z_SAFE_HOMING sanity checks to handle floats
2018-03-31 19:01:56 -05:00
Scott Lahteine
889fd5f71f
Backtrace minor cleanup
2018-03-31 18:59:36 -05:00
Scott Lahteine
53f0c7522a
Symmetrical FWRETRACT Z Hop
...
Do the Z lift normally before setting Z back to its prior value. But do the Z lower using spoofing. This should produce proper symmetrical movement.
2018-03-30 15:54:01 -05:00
Scott Lahteine
ac7e97f4fe
Change order of inactive stepper disable/enable
...
This ensures that steppers that share an enable pin will only be disabled for a miniscule time.
2018-03-30 15:07:38 -05:00
Scott Lahteine
55e9b85ad6
Clear the "Wait for user" message set by M0/M1
...
See https://github.com/MarlinFirmware/Marlin/issues/10246#issuecomment-377146936
2018-03-29 18:38:12 -05:00
Scott Lahteine
b6a55f0891
Temporary workaround for tool-change compile error
...
Pending a more complete solution to tool-change Z deviation.
2018-03-29 17:55:57 -05:00
Scott Lahteine
b852781eba
Fix BLTOUCH compile error
...
Followup to #10250
2018-03-29 17:55:57 -05:00
AnHardt
c1f58a238d
No delay in sensorless quick homing ( #10254 )
2018-03-29 16:10:20 -05:00
Scott Lahteine
1be955e52a
Alert users about low Z jerk values
2018-03-28 23:08:33 -05:00
Scott Lahteine
9e4c037cef
Wait before turning off PRINTER_EVENT_LEDS at print end ( #10248 )
2018-03-28 22:59:28 -05:00
Scott Lahteine
8b7381b626
Clear sensorless homing in home_delta after first move-to-top
2018-03-28 22:01:42 -05:00
Scott Lahteine
dbe2b6f7b0
Do moves towards endstops differently in do_homing_move
2018-03-28 22:01:42 -05:00
Scott Lahteine
d573a2cada
Fix pins_RAMPS.h for 32-bit platforms
...
Followup to 436e5b7
2018-03-28 22:01:20 -05:00
Scott Lahteine
f04be05a14
"G28 Z Forbidden" => "Home XY first"
...
Some languages will need to be updated for proper phrasing
2018-03-28 21:51:15 -05:00
Scott Lahteine
a97624dd81
Allow pinsDebug "Analog in" long int
2018-03-28 20:40:28 -05:00
Scott Lahteine
7b8bb2519e
Fix gcode_line_error call
...
Followup to 3007eee
2018-03-28 20:29:41 -05:00
Scott Lahteine
aa20b3ef7c
Fix linear/3-point manual leveling buffer overrun
...
Fixes #10137
2018-03-28 18:41:22 -05:00
Alexey Shvetsov
cbdc78ec0f
Fix STM32 compilation with PlatformIO ( #10245 )
2018-03-28 18:35:20 -04:00
Scott Lahteine
9d2ea5d64b
Undo German changes
...
See 941e9bd329 (commitcomment-28262166)
2018-03-28 17:05:14 -05:00
Scott Lahteine
2bc7f416ee
Fix missing comma in tmc_sgt
...
Fixes #10209
2018-03-28 17:05:14 -05:00
Scott Lahteine
38378cd0e8
M218 with DELTA needs planner.h
...
Fix #10232
2018-03-28 17:05:14 -05:00
Scott Lahteine
3007eee22e
Require a checksum when writing to SD
...
From #10204 by @adriancuzman
2018-03-28 17:05:13 -05:00
Bob-the-Kuhn
9656a82609
Fix G53/CNC_COORDINATE_SYSTEMS compilation, Travis testing ( #10227 )
2018-03-28 14:14:39 -04:00
Eduardo José Tagle
749f19e502
[2.0.x] Move backtrace to a shared location ( #10237 )
...
- And implement the `backtrace()` function call
2018-03-28 14:13:20 -04:00
xC0000005
7dc256432f
Restore STM32F1 series to working order. ( #10229 )
...
The `_O2` attribute is no longer needed on the malyanlcd function, and the macros have broken timer numbers - reset this to a function to return the right device. Also fix the bit order cast in SPI.
2018-03-28 14:07:52 -04:00
Rob Power
d1f14202a9
[2.0.x] NANODLP_Z_SYNC requires linear axes ( #10240 )
2018-03-28 14:03:34 -04:00
Scott Lahteine
b287560258
Fix say_M603
2018-03-28 12:54:58 -05:00
Scott Lahteine
436e5b7ea3
Apply spacing in pins files
2018-03-28 12:52:08 -05:00
Scott Lahteine
4d533b9baa
Update bq Hephestos 2 probe offset
...
From #10234 by @thopiekar
2018-03-27 21:05:03 -05:00
Bob-the-Kuhn
78df07ac71
Merge pull request #10221 from ejtagle/bugfix-2.0.x
...
[2.0.x] DUE: Several fixes to the backtracker
2018-03-27 03:26:10 -05:00
etagle
8934a2c49b
Added some missing Thumb instructions to the traceback follower, so now it is able to traceback through switch() statements
2018-03-27 04:30:38 -03:00
etagle
328edea03a
Several fixes to the backtracer. Tested ant it works
2018-03-26 03:42:54 -03:00
Scott Lahteine
aa6dacbbdf
German update
...
Based on #10216
2018-03-25 15:21:13 -04:00
Yunhui Fu
8322a79bb9
update the UTF-8 C strings for Chinsee languages, for Simplified and Traditional Chinese ( #10211 )
2018-03-25 12:37:54 -04:00
ejtagle
9a24c0ae3f
Tons of fixes to the backtracker code, and also added an extra backtracker that does not require unwind tables to work and it is used if unwind tables are absent
2018-03-25 00:52:04 -03:00
Scott Lahteine
a891af2f7a
Enforce minimum TMC2130 / TMC2208 libs
2018-03-24 15:57:22 -04:00
Bob-the-Kuhn
75b381cd28
Merge pull request #10203 from Bob-the-Kuhn/sanity-check-fix
...
[2.0.x] Fix TMC sanity checks that always fail
2018-03-24 14:06:34 -05:00
Bob-the-Kuhn
433e984d1f
move comment to fix compile error
2018-03-24 13:44:54 -05:00
Bob-the-Kuhn
f7857ac8a8
Merge pull request #10185 from ejtagle/bugfix-2.0.x
...
[2.0.x] DUE debugging: Solve WDT startup delay, add traceback & crash report uses programming port baud rate
2018-03-24 13:32:34 -05:00
Bob-the-Kuhn
b756a15aba
another needs to be deleted
2018-03-24 10:22:03 -05:00
Bob-the-Kuhn
50c81ebe0d
remove check that always fails
2018-03-24 09:36:50 -05:00
Scott Lahteine
3ac135cef3
Enforce minimum TMC2130 / TMC2208 libs
2018-03-23 18:05:23 -04:00
Bob-the-Kuhn
8870f9b1da
Fix M503 helper functions following TMC updates ( #10197 )
2018-03-23 16:43:43 -05:00
Scott Lahteine
bb7236a750
Z correction on tool-change for all HAS_MESH ( #10199 )
2018-03-23 13:12:00 -05:00
Bob-the-Kuhn
509227fd80
change to mode 0
2018-03-23 09:37:58 -05:00
etagle
c3b23974bd
Added detection of case when no unwind tables are available
2018-03-23 05:22:45 -03:00
Scott Lahteine
ea1a83ce41
Use pgm_read_ptr for tables of pointers
2018-03-23 02:16:35 -04:00
Scott Lahteine
9da0797e29
Fix EEPROM size of tmc_hybrid_threshold
...
Followup to #10102
2018-03-23 02:08:35 -04:00
teemuatlut
daf643e1ce
[2.0.x] TMC: Match axis label order ( #10188 )
2018-03-23 01:04:12 -05:00
Roxy-3D
1628a9e864
make data declarations consistent
2018-03-22 19:25:28 -05:00
etagle
b210bdf032
Now the Crash reporter uses the configured BAUDRATE to send the report through the Programming port. And also shows the traceback of functions as discussed. For that latest feature to work, you need to compile the project with -funwind-tables and -mpoke-function-name compiler flags
2018-03-22 03:34:03 -03:00
etagle
c5730cf711
As Bob-The-Khun suggested, resetting the USB peripheral solves the huge startup delays that happen when a WDT reset happens and we are connected through the native port
2018-03-22 03:31:25 -03:00
Scott Lahteine
1cb810ff1c
[2.0.x] Automatically reset stepper timeout ( #10179 )
...
* Automatically reset stepper timeout in manage_inactivity
Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.
* blocks_queued => has_blocks_queued
2018-03-21 19:30:06 -05:00
Eduardo José Tagle
97e8a6ebd9
Various fixes for DUE... ( #10152 )
...
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
2018-03-21 19:04:45 -05:00
Roxy-3D
c3c264978f
correct truncated comment
2018-03-21 16:54:45 -05:00
Scott Lahteine
9fd1016bb1
Trust the bootloader to clear globals
2018-03-21 05:49:39 -05:00
Scott Lahteine
045ee28c50
Tweaks to M915
2018-03-21 05:15:25 -05:00
Scott Lahteine
987597532c
For MK2_MULTIPLEXER undef DISABLE_INACTIVE_EXTRUDER
...
Fix #10098
2018-03-21 04:34:50 -05:00
Scott Lahteine
ff304d3767
Allow G53 to go back to native space
2018-03-21 01:38:25 -05:00
Scott Lahteine
bc45fb6b13
Tweak use of move_z_after_probing
2018-03-21 01:25:08 -05:00
Scott Lahteine
c352954882
Allow no raise after run_z_probe in probe_pt
2018-03-21 01:24:51 -05:00
Scott Lahteine
ae39fbd646
Also suppress keepalive with suspend_auto_report
2018-03-21 00:29:09 -05:00
Scott Lahteine
8dfaf1539e
Merge pull request #10102 from thinkyhead/bf2_eeprom_M913
...
[2.0.x] More complete Trinamic driver options
2018-03-20 23:14:19 -05:00
AnHardt
837ac2fdbd
[2.0.x] Fix_Autotune_THERMAL_PROTECTION_BED_off ( #10166 )
...
- Fix Autotune Thermal Protection
- Make 2 constants in autotune configurable
2018-03-20 16:48:36 -05:00
Bob-the-Kuhn
785dbfc72d
[2.0.x] FASTIO consistency ( #10164 )
2018-03-20 16:24:50 -05:00
Bob-the-Kuhn
7308ef7809
Add conditional, give DUE SPI a unique name, fix compiler warnings ( #10168 )
2018-03-20 15:53:21 -05:00
teemuatlut
b5b39af531
[2.0.x] TMC: Fix CURRENT_STEP_DOWN ( #10170 )
2018-03-20 15:16:05 -05:00
Scott Lahteine
a5c6d3c7b8
Prevent null pointer crash in Endstops::update
...
Thanks to Evgeny Kotsuba!
2018-03-20 04:21:18 -05:00
Scott Lahteine
a46bac3100
Add 'I' parameter to M906/M913/M914; 'T' to M906/M913
2018-03-19 22:05:16 -05:00
Scott Lahteine
cfc13ed7f3
Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS.
2018-03-19 22:05:16 -05:00
Scott Lahteine
c95450016b
Improve Trinamic support in the EEPROM
2018-03-19 22:05:16 -05:00
Scott Lahteine
48d7036874
Consolidate smart stepper driver initialization
2018-03-19 22:05:16 -05:00
Bob-the-Kuhn
53362b81cc
Tone fixes/changes ( #10151 )
2018-03-19 04:48:06 -05:00
Scott Lahteine
dd2949922b
Consolidate 3-point leveling point options
2018-03-19 04:12:20 -05:00
Scott Lahteine
1d22609473
MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS
2018-03-19 04:11:46 -05:00
Scott Lahteine
eaefc1e410
Add CorePQ support for BABYSTEPPING ( #10155 )
2018-03-19 02:51:40 -05:00
Scott Lahteine
72281c4ff9
Turn power off in kill
instead of setting PS_ON to input
2018-03-19 02:37:55 -05:00
Scott Lahteine
9d99360912
Fix matrix.debug output
2018-03-18 20:02:20 -05:00
Eduardo José Tagle
bbfbf90797
Fix for DUE - no host support on native USB if SD card not enabled ( #10148 )
2018-03-18 19:49:51 -05:00
Scott Lahteine
772810fb24
Followup to PORTVAR patch
2018-03-18 19:23:58 -05:00
Scott Lahteine
978f342392
Reduce some tmc_util strings
2018-03-18 18:58:10 -05:00
Scott Lahteine
fbdc5ad962
Prevent lcd_update stack overflow on SD Card change
2018-03-18 18:58:10 -05:00
Scott Lahteine
c0d694d5d3
Squash UBL postscript comment
2018-03-18 18:58:10 -05:00
Scott Lahteine
93af8aa157
Fix home_delta for SENSORLESS_HOMING ( #10145 )
2018-03-17 20:52:06 -05:00
Scott Lahteine
0543362b34
Don't init the tone timer if no BEEPER_PIN
2018-03-17 18:59:43 -05:00
Scott Lahteine
c6ff39cc14
Spacing cleanup
2018-03-17 16:49:08 -05:00
Scott Lahteine
9e9e29ddf8
Einsy: Regular endstops and BLTOUCH pins
...
Based on #10131
2018-03-17 16:43:09 -05:00
Bob-the-Kuhn
c79b53d406
Merge pull request #10140 from Bob-the-Kuhn/DUE-full-speed
...
[2.0.x] DUE - add full speed USB native port option
2018-03-17 13:41:45 -05:00
Bob-the-Kuhn
7f1afbfd60
can't type
2018-03-17 13:07:49 -05:00
Bob-the-Kuhn
23760d6c14
add full speed option
2018-03-17 12:56:44 -05:00
Bob-the-Kuhn
cbcd1ed42d
full speed
2018-03-17 02:57:18 -05:00
Scott Lahteine
6689884910
Easier override of ST7920 LCD timing
2018-03-17 02:40:24 -05:00
Scott Lahteine
d603e655d3
Fix SWITCHING_EXTRUDER manual movement
2018-03-16 03:22:56 -05:00
Scott Lahteine
5f77816772
Reduce size of "only one" sanity checks
2018-03-16 02:43:02 -05:00
Scott Lahteine
8922b56b58
Fix some spelingz
2018-03-16 01:25:41 -05:00
Scott Lahteine
a6feb58837
Delta support for multiple hotends with offsets ( #10118 )
2018-03-16 00:46:42 -05:00
TheSFReader
2e43438e0c
Add C parameter to M27 to include the long filename
...
In answer to #10001
Add an option to retrieve the currently open file name (long filename if possible).
2018-03-15 23:06:18 -05:00
Scott Lahteine
2168d6ac25
Allow NULL prepend in lsDive
2018-03-15 23:06:17 -05:00
Scott Lahteine
1e946d681d
Update Marlin for newest TMC libraries
...
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
2018-03-15 22:23:31 -05:00
shaktee
63fc4a8521
BIBO2 default update and Cyclops config ( #10108 )
2018-03-15 00:16:55 -05:00
etagle
404fc94705
DUE USB CDC: Do not send any character if no program on the PC is listening to them. This avoids Marlin waiting until the user actually opens a program that is able to consume the output of Marlin
2018-03-15 00:56:28 -03:00
Scott Lahteine
4aebe3d82e
Pretty up EEPROM port args
2018-03-14 22:44:25 -05:00
Scott Lahteine
51bf3c9503
Fix E direction for MK2_MULTIPLEXER with LIN_ADVANCE
2018-03-14 07:56:18 -05:00
teemuatlut
e6dcfa64b0
Cast SERIAL_CHAR to void in M122 ( #10086 )
2018-03-14 07:09:06 -05:00
Marcio Teixeira
c24dbcbfe1
When STATUS_EXPIRE_SECONDS is 0, hide the position. ( #10081 )
...
Some users may prefer to hide the position updates on the `LIGHTWEIGHT_UI` altogether. This leads to an even less cluttered display (it also saves on SPI traffic and one byte of RAM).
2018-03-14 02:44:30 -05:00
Studiodyne
e7a61de8af
[2.0] FWRetract Reset (Best way) ( #10083 )
2018-03-14 01:35:30 -05:00
Scott Lahteine
f894209de2
Merge pull request #10093 from thinkyhead/bf2_trinamic_config
...
[2.0.x] Clean up Trinamic config options, sanity check
2018-03-14 01:16:55 -05:00
Scott Lahteine
f1327fd5f9
Use lcd_goto_previous_menu_no_defer more
2018-03-14 00:50:15 -05:00
Scott Lahteine
e7570f3195
Improve TMC config organization, naming
2018-03-14 00:18:41 -05:00
Scott Lahteine
374ea49be9
Revert marlinAnalogInputToDigitalPin
2018-03-14 00:18:40 -05:00
Scott Lahteine
34f656decd
Add TMC2208 include in tmc_util.h
2018-03-14 00:18:40 -05:00
Scott Lahteine
07cf2cd9c4
Fix sensorless_homing_per_axis compile warning
2018-03-14 00:18:40 -05:00
Scott Lahteine
b858c638ad
Fix compiler warning for HAL_ANALOG_SELECT
2018-03-13 22:33:21 -05:00
Bob-the-Kuhn
c4467da53a
Merge pull request #10063 from ejtagle/bugfix-2.0.x
...
[2.0.x] DUE - add programming capability to native port
2018-03-13 22:07:21 -05:00
Scott Lahteine
65ce0303f8
Fix MKS_12864_OLED blank issue
...
Fixes #10071
2018-03-13 04:54:23 -05:00
Scott Lahteine
36452b4d6e
Fix filename HAL/DUE/servotimers.h => ServoTimers.h
2018-03-13 01:38:37 -05:00
Scott Lahteine
14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) ( #10069 )
...
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
2018-03-13 01:15:22 -05:00
Scott Lahteine
5dec828abc
Add MKS_12864OLED to lcd_implementation_init
...
Followup to #7914
2018-03-12 08:54:17 -05:00
Scott Lahteine
468f34104b
Patch do_blocking_move_to so 'destination' can be used
2018-03-12 08:16:17 -05:00
Scott Lahteine
5b45aab262
M218: report with no parameters
2018-03-12 08:14:35 -05:00
Scott Lahteine
18de11c1ea
Followup to auto-assign of dual axis CS pins
2018-03-12 07:19:56 -05:00
ejtagle
703c8ac0ef
Added Arduino-compatible kludge to the (ATMEL supplied) SAM3X USB stack we are now using so the Native port is also usable as a programming port on Arduino DUE and derived designs
2018-03-11 15:17:55 -03:00
Scott Lahteine
28f1276286
[2.0.x] Add Z_AFTER_PROBING option ( #10058 )
...
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
2018-03-11 13:07:55 -05:00
Scott Lahteine
dd19e74476
Cleanup trailing whitespace
...
@Bob-the-Kuhn — Please set your git options to remove trailing whitespace on commit.
2018-03-11 10:29:00 -05:00
Scott Lahteine
d0ac0151b6
Fix typo in ubl.prepare_segmented_line_to
2018-03-11 10:20:50 -05:00
Scott Lahteine
d385b9aac7
Auto-assign CS pins for X2, Y2, Z2 ( #10057 )
...
Fixes #9211
2018-03-11 08:56:13 -05:00
Scott Lahteine
bae1cb859c
Patch flush_and_request_resend for 1.1.x parity
2018-03-11 07:36:00 -05:00
Scott Lahteine
51ebdf3b7d
Finish scroll_screen with menu direction/multiplier
...
Fixes #10041
2018-03-11 04:41:12 -05:00
Bob-the-Kuhn
0d8c15c01f
restore PR 9661 files & V1 fix
2018-03-10 22:46:32 -06:00
Scott Lahteine
751785fc97
Followup to recent patches
...
- `M666` is static, not inline
- Disambiguate some stepper macros
2018-03-10 21:41:17 -06:00
Scott Lahteine
a0211f5d6c
Disambiguate else in stepper_indirection.h
2018-03-10 19:56:22 -06:00
Scott Lahteine
f003173752
Fixup M666
...
Followup to d6df032
2018-03-10 19:52:30 -06:00
Bob-the-Kuhn
bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h"
2018-03-10 17:22:20 -06:00
Sebastianv650
fd1d590726
[2.0.x] Silence M204 ( #10037 )
...
`M204` is often used by slicers to set acceleration depending on perimeter, infill, etc., so Marlin's answers are flooding the serial windows. Silence `M204` according to the philosophy that setter commands should only send a reply if no parameter is given.
2018-03-10 07:16:55 -06:00
Scott Lahteine
f10c87b442
Update Endstops class for 1.1.x parity
2018-03-10 06:57:31 -06:00
Scott Lahteine
d6df0322c2
Update M666 for XYZ dual endstops
2018-03-10 06:57:31 -06:00
Scott Lahteine
fbc41c0e98
Update Marlin G-code summary
2018-03-10 06:57:31 -06:00
Scott Lahteine
239902f861
Fix E2END and add EEPROM to Smart RAMPS
...
Reference #9983
2018-03-10 06:57:31 -06:00
Scott Lahteine
ddce486360
Merge pull request #10032 from thinkyhead/bf2_unknown_z_no_raise
...
[2.0.x] Add UNKNOWN_Z_NO_RAISE to prevent Z grinding
2018-03-10 00:57:30 -06:00
Scott Lahteine
79e6d890d5
Add UNKNOWN_Z_NO_RAISE to example configs
2018-03-10 00:17:34 -06:00
Scott Lahteine
419d12ca1b
Add UNKNOWN_Z_NO_RAISE option
...
With this option enabled, Z won't ever be raised until after `G28` has been completed, and it won't raise if Z becomes unknown. This is good for machines whose beds fall when Z is powered off.
2018-03-10 00:17:34 -06:00
Scott Lahteine
3b4c89e4b5
Move do_probe_raise closer to set_probe_deployed
...
…and limit the raise to Z_MAX_POS
2018-03-10 00:17:34 -06:00