Commit Graph

85 Commits

Author SHA1 Message Date
3d-gussner
2f8b2dcad4 Add LCD output during xyz calibration 2022-12-20 14:30:06 +01:00
Yuri D'Elia
7907e14cbf Resync planner position upon exiting xyzcal
Split the planner sync code out of planner_abort_hard() so that we can
independently resync the planner position from the counters.

This is needed in xyzcal as we directly modify the stepper counters
(bypassing both planner and stepper).

Call this new function instead of planner_abort_hard() when leaving, so
that motion can resume in the middle of the gcode_M45 instruction.
2022-08-23 17:25:24 +02:00
Yuri D'Elia
35708a61fe No longer disable temperature management in xyzcal
We already disable the heaters upon entering, and the new temperature
isr doesn't perform any direct movement until we return to the main
loop.

This allows us to remove direct control of the soft_pwm interrupt from
the header, which is dangerous.
2022-08-23 17:19:23 +02:00
Yuri D'Elia
383319dbac Rename temperature_isr to soft_pwm_isr 2022-07-25 17:30:21 +02:00
Yuri D'Elia
bd57e00448 Implement an online crash dumper for MK2.5 boards
When XFLASH is not available, allow users to request _online_ crash
dumps by using D23 (since these require active user cooperation).

Once enabled, instead of just rebooting, dump memory directly to
the serial.

As similarly done with EMERGENCY_DUMP, we have two features that can be
enabled:

EMERGENCY_SERIAL_DUMP: enables dumping on crash after being requested
MENU_SERIAL_DUMP: allow triggering the same manually through the support
menu.
2021-06-12 13:37:20 +02:00
Yuri D'Elia
c375610668 Move "WDR dump" inside EMERGENGENCY_DUMP 2021-06-10 17:02:41 +02:00
Voinea Dragos
1e786c7f55 WDR crash initial 2021-06-09 13:59:26 +03:00
DESKTOP-AFI832L\admin
5a91e1de4d Calibration: fix checking of scan of calibration points
PFW-1223
2021-04-14 06:25:18 +02:00
espr14
99206884b5 Calibration: detect biased PINDA and retry calibration
PFW-1223
2021-03-12 05:04:49 +01:00
espr14
eb4cf1a77f Calibration: return XY back after Z search
PFW-1217
2021-03-10 10:27:57 +01:00
D.R.racer
90d22a376d Remove unused vars in xyzcal.cpp 2021-01-22 17:50:08 +01:00
D.R.racer
4dec171266 Reduce code by 104 bytes in xyzcal.cpp
Extract CLAMP_median into a non-inline function.
The extra instructions to call that function do not matter from the
speed perspective
2021-01-22 17:13:28 +01:00
DRracer
defbaa6ff8
Merge branch 'MK3' into PFW-1186 2021-01-22 12:46:25 +01:00
espr14
735895c6bc Use fabs 2021-01-14 16:38:34 +01:00
espr14
ca4e638ea2 Don't use extrusion in XYZ calibration 2021-01-14 13:19:30 +01:00
espr14
9867ecd3f9 Reduce unnecessary code 2021-01-13 13:59:20 +01:00
espr14
21d6f970ef Fix build 2021-01-12 16:26:46 +01:00
espr14
f3faf651c5 Move down before scanning 2021-01-12 16:12:34 +01:00
espr14
9dceb488b6 Revert double scanning 2021-01-12 16:04:04 +01:00
espr14
546812294e Clean serial output 2021-01-12 00:34:28 +01:00
espr14
180af46fe4 Try double height 2021-01-12 00:27:06 +01:00
espr14
2981b9e9c5 OctoPrint needs new lines 2021-01-04 14:59:12 +01:00
espr14
cc9e7b9376 Fix comments, remove unused 2021-01-04 13:01:06 +01:00
espr14
49d57ed621 Median dynamic circle 2020-12-30 17:02:31 +01:00
espr14
a9fd09ca3f Implement median 2020-12-30 15:15:17 +01:00
espr14
13fefaa1bf Fix typo 2020-12-30 15:01:32 +01:00
espr14
03b87ae68b Add 8 pixel circle pattern 2020-12-30 13:08:47 +01:00
espr14
c14e725574 Fix moves 2020-12-29 18:27:33 +01:00
espr14
c2ab8785f4 Revert Manhattan 2020-12-29 17:31:34 +01:00
espr14
c1e6567461 Fix step axis coding 2020-12-29 17:17:32 +01:00
espr14
922769cefb axis -> axes 2020-12-29 17:14:18 +01:00
espr14
a01dfe26fe Add Manhattan movement 2020-12-29 17:13:11 +01:00
espr14
6461206e08 Fix direction setting 2020-12-29 14:19:05 +01:00
espr14
b6e78bf900 Fix direction 2020-12-29 14:08:30 +01:00
espr14
c11e8654da Revert both directions, refactor code 2020-12-29 12:39:35 +01:00
espr14
e86ba5e26d Scan only once 2020-12-28 16:45:39 +01:00
espr14
80e32ce1a5 Turn off speed optimization due to MK2.5 2020-12-25 15:27:42 +01:00
espr14
e6eb3be247 Set jerk = 1, accel. = 1000 2020-12-23 16:56:04 +01:00
espr14
979525f028 Add more restarts 2020-12-22 19:34:12 +01:00
espr14
25d138d198 Revert max.speed 2020-12-22 15:10:01 +01:00
espr14
e24a763e46 Cleanup 2020-12-22 14:45:55 +01:00
espr14
8df2eccf45 Remove defines and unused vars 2020-12-22 14:36:37 +01:00
espr14
25d6e24778 Add comments 2020-12-22 14:16:20 +01:00
espr14
90c8045f7d Clean the code 2020-12-22 13:59:50 +01:00
espr14
20659ec818 Add debug output 2020-12-22 12:51:22 +01:00
espr14
c397e9249a Restart scanning 2020-12-21 19:33:36 +01:00
espr14
1610c96fc4 Fix and report circle divergence 2020-12-21 18:05:52 +01:00
espr14
744763f0a9 Fix diagonal movement 2020-12-21 17:34:54 +01:00
espr14
de23a845b4 Remove unused 2020-12-21 15:53:51 +01:00
espr14
3c9168f8f6 Optimize diagonal 2020-12-21 15:52:25 +01:00