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

MMU maintenance: Sync with 32-bit FW a little bit #4647

Merged
merged 6 commits into from
Jul 24, 2024

Conversation

gudnimg
Copy link
Collaborator

@gudnimg gudnimg commented Mar 28, 2024

The changes in this commit are mainly formatting, but there are some changes like adding a new function planner_draining().

There are more differences between 8-bit and 32-bit, but it's nice to get most of the formatting out of the way to make future PRs easier to review.

Copy link

github-actions bot commented Mar 28, 2024

All values in bytes. Δ Delta to base

Target ΔFlash ΔSRAM Used Flash Used SRAM Free Flash Free SRAM
MK3S_MULTILANG 78 0 247840 5653 6112 2539
MK3_MULTILANG 58 0 247136 5662 6816 2530

The changes in this commit are mainly formatting

But there are some changes like adding a new function planner_draining()
Saves 22 bytes of Flash
The previous for-loop is more memory efficient and saves 20 bytes of Flash
The 8-bit FW uses a different Fullscreen UI which doesn't show the current temperature. So, for now, keep calling WaitForHotendTargetTempBeep  before showing the full-screen message.
Copy link
Collaborator

@3d-gussner 3d-gussner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Firmware/mmu2.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@DRracer DRracer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conditionally approved, just check the one functional change marked in my review. Otherwise ok

@3d-gussner 3d-gussner merged commit 3722a17 into prusa3d:MK3 Jul 24, 2024
4 checks passed
@gudnimg gudnimg deleted the mmu-sync-april branch July 24, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants