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

Cleanup dependencies #4221

Draft
wants to merge 129 commits into
base: master
Choose a base branch
from

Conversation

ysmilda
Copy link
Contributor

@ysmilda ysmilda commented Sep 24, 2024

Closes #4195

This pull request updates the various dependencies to the latest versions. These updates bring support for using this codebase on ARM devices.

The following dependencies are updated:

  • clang-format 16 > 18.1.8 (19.1 has been released, but binaries not yet available)
  • ninja 1.10.2 > 1.12.1
  • cmake 3.28.3 > 3.30.3

An update for gcc-arm-none-eabi is available, but still working through some issues when used from ARM devices.

This is still in development, but anyone wanting to help out and test the various integrations is more than welcome!

CZDanol-prusa and others added 30 commits June 10, 2024 14:14
Don't check the accelerometer on XL before picking a tool.

BFW-5689
The "Successfully connected to:" title text was truncated.

BFW-5580
PhasesCrashRecovery::_last was not invalid :/

BFW-5690
This does not fully fix the issue, but should help it

BFW-5645
The previous one was probably too permissive, possibly causing unwanted resumes.

BFW-5645
Normally, this is not a problem.
However, in the case that one of the unused extruder thermistor is broken
and is reporting values below zero, the printer gets stuck
in the reheating state.

And yes, this actually happened.

BFW-5657
Here's 50 B of flash for ya

BFW-5686
-152 B flash

BFW-5686
Duh.

The problem is that the homeaxis_single_run reports axis as homed
even though the homeaxis as a whole fails.
This led to XY selftest not catching up the homing fail,
resulting in a redscreen.

BFW-5686
There were some left overs from where motor detection
was part of Mk4 selftest - now handled by ScreenPrinterSetup.

Also, add homing detection for all printers.
We want to know if homing fails everywhere.

BFW-5686
Testing did't like the red cross when you retry the test :P

BFW-5686
We need this to debug the gcode corruption.

BFW-5714
HWLIMIT_NORMAL_MAX_ACCELERATION was previouvly increased,
but HWLIMIT_NORMAL_ACCELERATION was forgotten on the low values.

BFW-5494 BFW-5644
It is enough to just limit max_acceleration_mm_per_s2 and max_feedrate_mm_s,
because acceleration, retract_acceleration and travel_acceleration are limited by these anyway.

BFW-5644
mody and others added 22 commits July 26, 2024 08:30
Under some circumstances (plain-gcode file of the correct size), we
could reach a situation where we do have the whole file downloaded, but
the download itself is capable of providing some more data, therefore
claims „Continue“. We would then first finalize the file and then
continue the attempts to download it further, resulting in access to a
null pointer.

We could probably take more care of setting the range header more
thoroughly in such situation, but the server can send more data anyway,
so better protect us this way.

BFW-5859.
As a result, don't ask for the 4th nozzle's diameter on MMU printer when
printing from the 4th filament slot.

BFW-5873.
If a file fails the valid for print check not because it is still not
downloaded, but because it is somehow broken, report it as such. This
goes all the way to the GUI, instead of the „Downloading“ screen.

BFW-5830.
Spaces before marks are grammatically incorrect in German
Support singly and doubly quoted INI strings, e.g. leading and trailing
spaces in WiFi SSID/PSK field values.
@CZDanol
Copy link
Contributor

CZDanol commented Sep 25, 2024

Unittests CI failing: /work/.dependencies/cmake-3.28.3/bin/ctest: not found

@ysmilda
Copy link
Contributor Author

ysmilda commented Sep 25, 2024

That's weird. It seems to use an old config as I did update the build-pr.jenkins file to target the new binaries.

@CZDanol
Copy link
Contributor

CZDanol commented Sep 25, 2024

My guess would be that we have it hardcoded on some more places :/

@ysmilda
Copy link
Contributor Author

ysmilda commented Sep 25, 2024

Can't check it anymore as the build seems to have been deleted. But from what I could gather from the output and the related jenkins file it did get stuck on the line I referenced above. Would it be possible to do a rerun and see if it picks up the changes?

@CZDanol
Copy link
Contributor

CZDanol commented Sep 26, 2024

Allright, issuing a rerun :)

@ysmilda
Copy link
Contributor Author

ysmilda commented Sep 26, 2024

Can't see the result, but it seems to have failed again (which isn't a big surprise). Is all the config for holly/jenkins contained within the repo or are there other sources that need updating?

@CZDanol
Copy link
Contributor

CZDanol commented Sep 26, 2024

Afaik it should all be in the repo itself. @danopernis am I right?

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.

[BUG] Bundled version of clang-format broken on ARM Apple devices