Guðni Már Gilbert
c4b4cbfc7b
Make the function static
2023-04-09 13:40:10 +00:00
Alex Voinea
afd4f1d5bc
Iterate over axis bits
2023-04-09 15:17:01 +02:00
Guðni Már Gilbert
e70344dc94
Reduce XYZ cal code size
...
Change in memory:
Flash: -120 bytes
SRAM: 0 bytes
2023-04-09 12:23:42 +00:00
Yuri D'Elia
b3790f4094
Typo: meassure -> measure
2022-12-22 12:54:42 +01:00
Yuri D'Elia
52941b1111
Rename xyzcal_meassure_center back to xyzcal_meassure_enter
...
Keep the enter/leave pairs
2022-12-22 12:54:42 +01:00
Yuri D'Elia
515a625180
Typo: hysterezis -> hysteresis
2022-12-22 12:54:42 +01:00
3d-gussner
ea6450f072
Add LCD output during xyz calibration
2022-12-20 08:36:19 +01:00
Yuri D'Elia
1d3ee1caba
build: Add Configuration_var.h as a configuration wrapper
...
Instead of including Configuration_prusa.h directly, include
Configuration_var which then includes the proper variant file though a
preprocessor macro.
This allows to keep the existing build system intact, but also redefine
at compile time the final header without having to make copies on the
file system.
2022-10-05 01:26:26 +02:00
Yuri D'Elia
2ae376d633
build: Size optimization
...
Explicitly force-noinline xyzcal_scan_pixels_32x32_Zhop to match the
previous LTO build behavior.
2022-10-04 12:13:09 +02: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