Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace octopus with a generic USB for the display #4377

Open
wants to merge 133 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
13bc931
USB recovery: Fix resuming print always
CZDanol-prusa Jun 5, 2024
a6f605f
Rework IS Calibration wizadr startup
mody Jun 10, 2024
e35ef4f
Fix IS Calibration Y axis error message
mody Jun 11, 2024
373f624
ScreenNetworkSetup: Fix truncation on Mini
CZDanol-prusa Jun 11, 2024
806cfec
Even more stack space is needed for filament sensor calibration
mody Jun 11, 2024
acd63ec
Log computed input shaper parameters in wizard
danopernis Jun 12, 2024
c8b8f98
ScreenCrashRecovery: Fix wrong initial phase
CZDanol-prusa Jun 12, 2024
14d7f8e
mk3.5: Make sure P.I.N.D.A. stays on print sheet during bed leveling
danopernis Jun 10, 2024
1b285c7
XL: Do not redscreen on ESP failure
danopernis Jun 13, 2024
152e7a3
USB: Resume print on longer dropouts, too
CZDanol-prusa Jun 12, 2024
000457d
USB: Resume print if reopen is called too late
CZDanol-prusa Jun 12, 2024
eafb33d
printer_state: Make get_print_state public
CZDanol-prusa Jun 13, 2024
859203a
USB: adjust resume_print_on_recovery condition
CZDanol-prusa Jun 13, 2024
dfbc3b7
Print reheat: Fix waiting for heating of unused extruders
CZDanol-prusa Jun 13, 2024
eb1d9a1
Sanitize axes_need_homing
CZDanol-prusa Jun 7, 2024
d9adb2d
Simplify homing failed handling
CZDanol-prusa Jun 7, 2024
7cece36
Mark axis as not homed on homing failure
CZDanol-prusa Jun 7, 2024
861d9a0
Selfest_Axis: Get rid of useless homed
CZDanol-prusa Jun 7, 2024
101e0da
Selftest_Axis: Fail selftest if homing fails
CZDanol-prusa Jun 7, 2024
d46442d
Selftest_Axis: Get rid of motor detection remnants
CZDanol-prusa Jun 7, 2024
634e33c
Selftest_Axis: Clear result when retrying
CZDanol-prusa Jun 10, 2024
f1de0c8
Don't translate filename buffer
mody Jun 17, 2024
7e509bd
Metrics: make "gcode" on by default
CZDanol-prusa Jun 18, 2024
95ac2c7
Metrics: add "sdpos" metric
CZDanol-prusa Jun 18, 2024
b2b39b4
Fix low HWLIMIT_NORMAL_ACCELERATION on Mk4 and Mini
CZDanol-prusa Jun 21, 2024
d0b30e8
Further MK4/Mini HWLIMIT fixes
CZDanol-prusa Jun 24, 2024
f20cc53
Increase MK3.5 hwlimits to match MK4
CZDanol-prusa Jun 25, 2024
acb8a0e
Fix BSOD when FSM changes too fast for gui thread to notice
danopernis Jun 26, 2024
3044876
connect: Report MK4S as a separate printer
vorner Jun 26, 2024
b1d08ad
Simplify HWLIMITs
CZDanol-prusa Jun 27, 2024
38c7e72
Apply HWLIMITs to jerk
CZDanol-prusa Jun 27, 2024
382da0a
Update HWLIMITs... again
CZDanol-prusa Jun 27, 2024
583ce3d
Fix BSOD when beeping with certain frequencies
danopernis Jun 27, 2024
d8e0b04
Update Holly Ubuntu 22.04 -> 24.04
CZDanol-prusa Jun 20, 2024
f4a55f8
Fix butchered requirements.txt
danopernis Jun 21, 2024
8e6f54f
Unblock Wi-Fi when showing error screen
danopernis Jun 26, 2024
c5f1198
Fix rolling japanese text, get rid of string_view_utf8::last_read_byte_
michalrudolf Jun 30, 2024
bd6447e
IS: Hide calbiration menu during print
Tomcus Jul 1, 2024
9f44360
fix: Initialize esp's uart DMA on blue/red screen
Tomcus Jul 2, 2024
186455a
Update translations for 6.1
Jul 2, 2024
632ef19
Build mini-en-jp-release-boot as well
Jul 2, 2024
32c1582
Make ColdPull aware of MMU
mody Jun 28, 2024
150ae89
ColdPull to unload full lenght when MMU is enabled
mody Jun 28, 2024
7d7eea1
Disable MMU before PLA load for ColdPull
mody Jun 28, 2024
2222d4e
Workaround GUI assert when MMU is disabled
mody Jun 28, 2024
f0ce325
Remove useless #if 1
mody Jul 3, 2024
32f8245
Fix Fan PWM range to uin8_t
mody Jul 3, 2024
068180d
Don't cast enum to int for PWM Phase Mode
mody Jul 3, 2024
7c0b989
Modernize FanCtl, const, clamp, round
mody Jul 3, 2024
c652a2b
Implement dynamic PWM for MK4 fan
mody Jul 3, 2024
c09ee6c
Revert "Fix Fan PWM range to uin8_t"
mody Jul 4, 2024
06c1f0e
Comment why setPWM() accepts uint16_t
mody Jul 4, 2024
1c28e39
Adapt Dynamic PWM to uint16_t setPWM()
mody Jul 4, 2024
727f42e
version.h: BuildIdentification
CZDanol-prusa Jul 3, 2024
ab48a89
Embed BuildIdentification in crash dumps
CZDanol-prusa Jul 3, 2024
143e539
crash_dump_info.py
CZDanol-prusa Jul 3, 2024
142ddb8
Update yapf
CZDanol-prusa Jul 4, 2024
9eabc59
fixup! version.h: BuildIdentification
CZDanol-prusa Jul 4, 2024
579f73c
Link: Don't get stuck on basic auth
vorner Jul 4, 2024
62f93ce
git subrepo pull --force lib/Prusa-Error-Codes
CZDanol-prusa Jul 8, 2024
4642f7f
Merge pull request #5331 from CZDanol/5741-6.1-error-codes-update
CZDanol Jul 8, 2024
fe2900e
fans: Don't show printfan error on MK3.5 with pwm lower then 30%
Tomcus Jul 8, 2024
d30c759
connect: Send the "left column"
vorner Jul 8, 2024
0acce5f
Fix 1st layer calibration being stuck when using MMU with unloaded fi…
danopernis Jul 9, 2024
40f2878
Change USB PID & error code for MK4S
CZDanol-prusa Jul 9, 2024
ea8c4be
Show "Stopping MMU" longer to allow people to read it
mody Jul 10, 2024
846032e
gcode: Rename CompatibilityMode to GcodeCompatibilityMode
Tomcus Jul 10, 2024
ba05728
gcode_info: Rename mk3_compatibility_mode to gcode_compatibility_mode
Tomcus Jul 10, 2024
bf0706a
gcode: Add fan compatibility mode for MK4S
Tomcus Jul 10, 2024
3d4ab60
gcode: Correctly validate printer types in gcode (also for MK4S)
Tomcus Jul 10, 2024
ea15829
gcode_info: Add special warning for fan compatibility mode
Tomcus Jul 11, 2024
b992c97
Remove nozzle_type infrastructure
CZDanol-prusa Jul 15, 2024
26cf42e
Update translations & fonts for 6.1.0
michalrudolf Jul 16, 2024
51a0bd7
Double purge volume on MK4S
Jul 18, 2024
4243c3e
Faster Z-homing speed
Jul 16, 2024
1d9c711
More tweaks to the input shaper calibration wizard
danopernis Jul 19, 2024
71fe651
connect: Regain ability to clean failed downloads
vorner Jul 19, 2024
c3a2d9c
Fix Input Shaper calibration on XL without tool picked
danopernis Jul 22, 2024
1ab11ee
Do not run the IS wizard after factory reset
danopernis Jul 22, 2024
b117f00
Add dev menu items for manipulating IS wizard results
danopernis Jul 22, 2024
fc1b163
Report MMU once ready
vorner Jul 4, 2024
2d94e7d
fix: Show correct printer name in M862.3 for MK4/MK3.9/MK4S
Tomcus Jul 22, 2024
5efe7b7
Rename "Prusa Connect app" to "Prusa app"
CZDanol-prusa Jul 19, 2024
84f64c6
nfc: Add has_nfc()
CZDanol-prusa Jul 19, 2024
8c17830
Network wizard: De-duplicate connecting_exit code
CZDanol-prusa Jul 19, 2024
5cd456b
Network wizard: Finishable vs nonfinishable connecting phase
CZDanol-prusa Jul 19, 2024
f3df53f
Network wizard: Ask to use Prusa App on initial setup
CZDanol-prusa Jul 19, 2024
fe0f76e
Network wizard: Offer Prusa Connect setup (initial)
CZDanol-prusa Jul 19, 2024
40b6ae6
Network wizard: Switch to wi-fi automatically if not eth is down
CZDanol-prusa Jul 19, 2024
9cb00b8
Network wizard: Separate FrameRadioQR from FrameHelpQR
CZDanol-prusa Jul 19, 2024
9b1f24b
Network wizard: Change FrameAskUsePrusaApp to FrameRadioQR
CZDanol-prusa Jul 19, 2024
308f664
Network wizard: Decrease connection timeout to 1 min
CZDanol-prusa Jul 19, 2024
9c897fb
Prusa Connect registration: Slightly change visuals
CZDanol-prusa Jul 19, 2024
b5f932e
(Fixups for the 6.1 rebase)
CZDanol-prusa Jul 22, 2024
cffc86b
Network/Connect wizard: Visual changes
CZDanol-prusa Jul 23, 2024
7d83e08
Revert "Add dev menu items for manipulating IS wizard results"
danopernis Jul 23, 2024
b18aa29
Go back to single info screen in wizard
danopernis Jul 23, 2024
6036fe4
Remove input shaper calibration wizard from tests & calibrations
danopernis Jul 23, 2024
4061170
Remove special handling of M1959 after factory reset
danopernis Jul 23, 2024
56df84f
Fix M73 progress reporting
danopernis Jul 18, 2024
2917896
Pin python-bidi==0.4.2 to circumvent easyocr error
danopernis Jul 23, 2024
41ecc9f
Increase connect stack size a bit
danopernis Jul 24, 2024
a516016
Update translations for 6.1.0
michalrudolf Jul 23, 2024
049add6
Regenerate all fonts
michalrudolf Jul 25, 2024
7124e81
Allow NFC enabler to go to negative
mody Jul 25, 2024
eb9b2d8
Disable NFC in Preheat dialog
mody Jul 25, 2024
69eeb63
Lock regions not assigned for NFC access
mody Jul 25, 2024
60d16de
NDEF terminator have no size
mody Jul 25, 2024
44b3fac
Adjust rectangle to fit translations (connect registration dialog)
michalrudolf Jul 25, 2024
19414c9
Shrink metric info text to fit translations
michalrudolf Jul 25, 2024
414d809
Translate Switch values in G-Code checks
michalrudolf Jul 25, 2024
970f48e
Change of text for translation fit FW update screen
michalrudolf Jul 26, 2024
df9054d
Update MO files
michalrudolf Jul 26, 2024
f09ae5f
Transfer: Fix access after free
vorner Jul 26, 2024
82fb3f3
connect: Make distinction between slot / head
vorner Jul 29, 2024
505b7c2
bgcode: Propagate errors from valid_for_print
vorner Jul 27, 2024
d97756f
Update Stale bot message
3d-gussner Aug 5, 2024
8169b60
Update links to ESP NIC firmware
danopernis Aug 13, 2024
d8d5ec6
Do not remove trailing zeroes after the decimal point
puhitaku Aug 8, 2024
132592a
Make serial printing screen a menu option
PinkPandaKatie Jul 3, 2024
712663a
Enable DNS for sntp and set default to prusa3d.pool.ntp.org
thess Feb 7, 2024
1b1071a
Removed "Plenk"
foorschtbar Aug 15, 2024
ebd6381
Support quoted INI string values
nmschulte Jul 24, 2023
f5a498a
Add launch/debug targets for Dwarf/ModBed
vintagepc Oct 29, 2023
9b5764d
wui: Move comma to optional part of message
ysmilda Sep 9, 2024
1d1b7ec
cmake: Use Python executable to run gen_esp_parts.py
FiveTeethless Oct 6, 2024
1713a3d
Closes #3870 - improve nozzle diameter footer item
jakubtkadlecek Oct 19, 2024
e380411
use StringBuilder
jakubtkadlecek Oct 20, 2024
bb8b089
address nitpicks
jakubtkadlecek Oct 21, 2024
8a788ae
gui: Fix invalid display of static due to WI_SWITCH initialization in…
bkerler Sep 1, 2024
add06ba
Fix wrong extruder e0 display
bkerler Dec 12, 2024
8978fe1
Add TEMPORARY_AUTO_REPORT_OFF to pause autoreports
bkerler Dec 14, 2024
aa189f9
replace octopus with a generic USB for the display
gjpc Dec 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Don't ever mark PRs as stale.
days-before-pr-stale: -1
stale-issue-message: 'This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment.'
stale-issue-message: 'Thank you for your contribution to our project. This issue has not received any updates for 60 days and may be considered "stale." If this issue is still important to you, please add an update within the next 7 days to keep it open. Administrators can manually reopen the issue if necessary.'
close-issue-message: 'This issue has been closed due to lack of recent activity. Please consider opening a new one if needed.'
# Don't act on things assigned to a milestone or assigned to someone.
exempt-all-milestones: true
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ repos:
rev: v0.6.13
hooks:
- id: cmake-format
- repo: https://github.com/pre-commit/mirrors-yapf
rev: 'v0.27.0'
- repo: https://github.com/google/yapf
rev: 'v0.40.2'
hooks:
- id: yapf # python formatter
- repo: local
Expand Down
24 changes: 23 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
"request": "launch",
},
{
"name": "GDB (QEMU)",
"name": "GDB - Buddy (QEMU)",
"type": "gdb",
"request": "attach",
"executable": "${workspaceRoot}/build-vscode-buddy/firmware",
Expand All @@ -258,6 +258,28 @@
"gdbpath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin/arm-none-eabi-gdb",
"autorun": []
},
{
"name": "GDB - Dwarf (QEMU)",
"type": "gdb",
"request": "attach",
"executable": "${workspaceRoot}/build-vscode-dwarf/firmware",
"target": ":1234",
"remote": true,
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin/arm-none-eabi-gdb",
"autorun": []
},
{
"name": "GDB - ModularBed (QEMU)",
"type": "gdb",
"request": "attach",
"executable": "${workspaceRoot}/build-vscode-modularbed/firmware",
"target": ":1234",
"remote": true,
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceRoot}/.dependencies/gcc-arm-none-eabi-13.2.1/bin/arm-none-eabi-gdb",
"autorun": []
},
{
"name": "Unit-tests debug",
"type": "gdb",
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -712,4 +712,7 @@ set_property(
FW_VERSION_PATCH=${PROJECT_VERSION_PATCH}
FW_VERSION_SUFFIX=${PROJECT_VERSION_SUFFIX}
FW_VERSION_SUFFIX_SHORT=${PROJECT_VERSION_SUFFIX_SHORT}
FW_COMMIT_HASH=${FW_COMMIT_HASH}
FW_COMMIT_DIRTY=$<BOOL:${FW_COMMIT_DIRTY}>
FW_BOOTLOADER=$<BOOL:${FW_BOOTLOADER}>
)
21 changes: 21 additions & 0 deletions cmake/ProjectVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,25 @@ function(resolve_version_variables)
"${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX}"
PARENT_SCOPE
)

# FW_COMMIT_DIRTY
git_local_changes(IS_DIRTY)
if(${IS_DIRTY} STREQUAL "DIRTY")
set(FW_COMMIT_DIRTY
TRUE
PARENT_SCOPE
)
else()
set(FW_COMMIT_DIRTY
FALSE
PARENT_SCOPE
)
endif()

# FW_COMMIT_HASH
get_git_head_revision(COMMIT_REFSPEC COMMIT_HASH)
set(FW_COMMIT_HASH
${COMMIT_HASH}
PARENT_SCOPE
)
endfunction()
1 change: 1 addition & 0 deletions doc/ESP/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ssid= enter here the SSID of your wireless network
psk= enter here the valid password
```

- Leading and trailing spaces are stripped from the INI field values; a singly (`'`) or doubly (`"`) quoted string can be used to retain such spaces, if necessary.
- Store the `prusa_printer_settings.ini` file in the root folder of the USB flash drive and plug in to the printer
- Run the **Setting-> Load Settings from** command from the printer
- Make sure the **Settings -> Lan setting**s is set to WiFi
Expand Down
34 changes: 0 additions & 34 deletions include/common/nozzle_type.hpp

This file was deleted.

8 changes: 0 additions & 8 deletions include/marlin/Configuration_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -720,14 +720,6 @@
#define DEFAULT_RETRACT_ACCELERATION 1250 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1250 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 4000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1250
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1250
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 4000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand Down
14 changes: 3 additions & 11 deletions include/marlin/Configuration_MK3.5.h
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@

/// HW limits of max acceleration
#define HWLIMIT_NORMAL_MAX_ACCELERATION \
{ 4000, 4000, 200, 2500 }
{ 7000, 7000, 750, 6000 }
#define HWLIMIT_STEALTH_MAX_ACCELERATION \
{ 2500, 2500, 200, 2500 }

Expand All @@ -784,14 +784,6 @@
#define DEFAULT_RETRACT_ACCELERATION 1250 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1250 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 4000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1250
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 4000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand All @@ -817,8 +809,8 @@
#define DEFAULT_EJERK 5 // May be used by Linear Advance

/// HW limits of Jerk
#define HWLIMIT_NORMAL_JERK { 8, 8, 2, 5 }
#define HWLIMIT_STEALTH_JERK { 8, 8, 2, 5 }
#define HWLIMIT_NORMAL_JERK { 10, 10, 2, 10 }
#define HWLIMIT_STEALTH_JERK { 8, 8, 2, 10 }

/**
* S-Curve Acceleration
Expand Down
8 changes: 4 additions & 4 deletions include/marlin/Configuration_MK3.5_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1097,15 +1097,15 @@
// min + 1 * (max - min) / 20 - offset = low_bound;
// min + 19 * (max - min) / 20 - offset = high_bound;.
// Highbounds:
// Leftmost position for X is 225
// Reartmost postition for Y is 204
// Rightmost position for X is 220 (to ensure P.I.N.D.A. stays on the sheet)
// Rearmost postition for Y is 204
// Lowbounds:
// Rightmost position for X is 0
// Leftmost position for X is 0
// Frontmost position for Y is -4 (defined elsewhere: Y_MIN_POS)

#define MESH_MIN_X (10.5f)
#define MESH_MIN_Y (-10.5f)
#define MESH_MAX_X (X_BED_SIZE + MESH_MIN_X)
#define MESH_MAX_X (X_BED_SIZE + MESH_MIN_X - 5)
#define MESH_MAX_Y (Y_BED_SIZE - MESH_MIN_Y)
#endif

Expand Down
14 changes: 4 additions & 10 deletions include/marlin/Configuration_MK4.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
* some gcodes (like G80) can have a different meaning.
*/
#define GCODE_COMPATIBILITY_MK3
#define FAN_COMPATIBILITY_MK4_MK3

// A dual extruder that uses a single stepper motor
//#define SWITCHING_EXTRUDER
Expand Down Expand Up @@ -774,7 +775,7 @@

/// HW limits of max acceleration
#define HWLIMIT_NORMAL_MAX_ACCELERATION \
{ 7000, 7000, 200, 2500 }
{ 7000, 7000, 750, 6000 }
#define HWLIMIT_STEALTH_MAX_ACCELERATION \
{ 2500, 2500, 200, 2500 }

Expand All @@ -791,14 +792,6 @@
#define DEFAULT_RETRACT_ACCELERATION 800 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1250 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 4000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1200
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 4000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand Down Expand Up @@ -1449,7 +1442,8 @@

#define HOMING_FEEDRATE_XY (62 * 60)

#define HOMING_FEEDRATE_Z (8 * 60)
// beware - experimentally tuned on a high volume of MK4 and MK4S to prevent resonances in Z while homing
#define HOMING_FEEDRATE_Z 1150
#define HOMING_FEEDRATE_INVERTED_Z (buddy::hw::Configuration::Instance().has_trinamic_oscillators() ? (60 * 60) : (30 * 60))

// Validate that endstops are triggered on homing moves
Expand Down
16 changes: 4 additions & 12 deletions include/marlin/Configuration_XL.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@

/// HW limits of feed rate
#define HWLIMIT_NORMAL_MAX_FEEDRATE \
{ 400, 400, 40, 100 }
{ 400, 400, 20, 100 }
#define HWLIMIT_STEALTH_MAX_FEEDRATE \
{ 140, 140, 12, 100 }

Expand All @@ -803,7 +803,7 @@

/// HW limits of max acceleration
#define HWLIMIT_NORMAL_MAX_ACCELERATION \
{ 7000, 7000, 200, 2500 }
{ 7000, 7000, 200, 6000 }
#define HWLIMIT_STEALTH_MAX_ACCELERATION \
{ 2500, 2500, 200, 2500 }

Expand All @@ -819,14 +819,6 @@
#define DEFAULT_RETRACT_ACCELERATION 1200 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 5000 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 7000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1200
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 7000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand All @@ -853,8 +845,8 @@
#define DEFAULT_EJERK 5 // May be used by Linear Advance

/// HW limits of Jerk
#define HWLIMIT_NORMAL_JERK { 8, 8, 2, 10 }
#define HWLIMIT_STEALTH_JERK {8, 8, 2, 10 }
#define HWLIMIT_NORMAL_JERK {10, 10, 2, 10}
#define HWLIMIT_STEALTH_JERK {8, 8, 2, 10}

/**
* S-Curve Acceleration
Expand Down
8 changes: 0 additions & 8 deletions include/marlin/Configuration_XL_DEV_KIT.h
Original file line number Diff line number Diff line change
Expand Up @@ -819,14 +819,6 @@
#define DEFAULT_RETRACT_ACCELERATION 1200 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 5000 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 7000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1200
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 7000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand Down
8 changes: 0 additions & 8 deletions include/marlin/Configuration_XL_Dwarf.h
Original file line number Diff line number Diff line change
Expand Up @@ -758,14 +758,6 @@
#define DEFAULT_RETRACT_ACCELERATION 1250 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 250 // X, Y, Z acceleration for travel (non printing) moves

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 7000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1200
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 7000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

//
// Use Junction Deviation instead of traditional Jerk Limiting
//
Expand Down
16 changes: 4 additions & 12 deletions include/marlin/Configuration_iX.h
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@

/// HW limits of feed rate
#define HWLIMIT_NORMAL_MAX_FEEDRATE \
{ 400, 400, 40, 100 }
{ 400, 400, 20, 100 }
#define HWLIMIT_STEALTH_MAX_FEEDRATE \
{ 140, 140, 12, 100 }

Expand All @@ -772,7 +772,7 @@

/// HW limits of max acceleration
#define HWLIMIT_NORMAL_MAX_ACCELERATION \
{ 7000, 7000, 200, 2500 }
{ 7000, 7000, 200, 6000 }
#define HWLIMIT_STEALTH_MAX_ACCELERATION \
{ 2500, 2500, 200, 2500 }

Expand All @@ -785,14 +785,6 @@
#define DEFAULT_MAX_ACCELERATION \
{ 1500, 1500, 1000, 5000 }

/// HW limits of Acceleration
#define HWLIMIT_NORMAL_ACCELERATION 7000
#define HWLIMIT_STEALTH_ACCELERATION 2500
#define HWLIMIT_NORMAL_RETRACT_ACCELERATION 1200
#define HWLIMIT_STEALTH_RETRACT_ACCELERATION 1200
#define HWLIMIT_NORMAL_TRAVEL_ACCELERATION 7000
#define HWLIMIT_STEALTH_TRAVEL_ACCELERATION 2500

/**
* Default Acceleration (change/s) change = mm/s
* Override with M204
Expand Down Expand Up @@ -830,8 +822,8 @@
#define DEFAULT_EJERK 5 // May be used by Linear Advance

/// HW limits of Jerk
#define HWLIMIT_NORMAL_JERK { 8, 8, 2, 10 }
#define HWLIMIT_STEALTH_JERK {8, 8, 2, 10 }
#define HWLIMIT_NORMAL_JERK {10, 10, 2, 10}
#define HWLIMIT_STEALTH_JERK {8, 8, 2, 10}

/**
* S-Curve Acceleration
Expand Down
2 changes: 1 addition & 1 deletion lib/Marlin/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2020,7 +2020,7 @@
uint32_t bitmap[GRID_MAX_POINTS_X] = { 0 };
struct linear_fit_data lsf_results;

SERIAL_ECHOPGM("Extrapolating mesh...");
SERIAL_ECHOLNPGM("Extrapolating mesh...");

const float weight_scaled = weight_factor * _MAX(MESH_X_DIST, MESH_Y_DIST);

Expand Down
2 changes: 1 addition & 1 deletion lib/Marlin/Marlin/src/gcode/calibrate/G80.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void GcodeSuite::G80() {
// If running in MK3 compatibility mode, we need to move z axis down to print bed.
// When running G80 in MK3 we moved the nozzle to the printbed after MBL.
// We don't do that now and the newer slicer adds G1 instruction to move the nozzle down.
if (gcode.compatibility_mode == CompatibilityMode::MK3) {
if (gcode.gcode_compatibility_mode == GcodeCompatibilityMode::MK3) {
run_gcode("G1 Z0.15"); // 0.15 is value of Z_MIN_POS https://github.com/prusa3d/Prusa-Firmware/blob/MK3/Firmware/variants/MK3S.h#L67
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Marlin/Marlin/src/gcode/config/M221.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void GcodeSuite::M221() {
if (parser.seenval('S')) {
int flow_percentage = parser.value_int();
#if ENABLED(GCODE_COMPATIBILITY_MK3)
if (gcode.compatibility_mode == GcodeSuite::CompatibilityMode::MK3) {
if (gcode.gcode_compatibility_mode == GcodeSuite::GcodeCompatibilityMode::MK3) {
flow_percentage = (float)flow_percentage / 0.95;
}
#endif
Expand Down
Loading