Skip to content

Conversation

@wireddown
Copy link
Owner

@wireddown wireddown commented Jun 4, 2023

Analyze CR-30 Marlin Firmware History

This PR

  • adds a brief analysis of the Marlin firmware history for the Creality CR-30 3DPrintMill
  • proposes dropping some customizations from the community firmware

After exploring first-commits and merge-bases, I've learned that some changes don't compile, and some might have been for prototype models. I'm recommending that we remove the changes that cannot be built and tested, and re-evaluate the remaining changes for safety and recency.

Headline removals

More in the markdown 🤓

Keep? Difference Reason Note
Increase hotend max temp to 275 seems a little dangerous
Add BELT_KINEMATICS_DEV configuration option doesn't build, code history lost

Bundled as rework-required

Keep? Difference Reason Note
Disable serial port 2 bundle with rework-required changes 🔷
Enable TMC Debug bundle with rework-required changes 🔷
Move Z_MIN_PROBE_PIN from PA5 to PB1 bundle with rework-required changes 🔷
Set pins for TMC UART IO for XYZE axes on PB0, PB1, PA13, PA14 bundle with rework-required changes 🔷
  • Wiki has an extra mod for NeoPixels
    • Also requires a board rework
      • Splice pins on connectors between signals and sensors
    • Should be separated into its own patch

Also propose dropping some customizations from the community firmware.

After exploring first-commits and merge-bases, I've learned that some changes don't compile, and some might have been for prototype models. I'm recommending that we remove the changes that cannot be built and tested, and re-evaluate the remaining changes for safety and recency.
wireddown added 4 commits June 6, 2023 16:54
Mimic CR-30 Users at time of pull

upstream fw commit -- `73b8320e9caac23873169c8e10344f2f8060b389`
upstream cfg commit - `0a8dfe5594ca981428c9adf76068e3cbe425c3ba`
From CR30-Users commit 4c8cd975d6
When `MIN_SOFTWARE_ENDSTOP_Y` is not defined, then the value for `Y_MIN_POS` is ignored. The Y axis can lower infinitely as far as the firmware is concerned.

Set `Y_MIN_POS` to 0 so that during the machine leveling, setting the new home position makes true home match Y == 0.
@wireddown
Copy link
Owner Author

I did some in-depth testing with my CR-30 and it showed that two items I recommended to remove should be kept instead:

  1. ✅ Decrease Y size from 250 to 240
  2. ✅ Do not show E position on LCD screen

I updated the mark down and the diff-sketches to reflect this.

@wireddown wireddown merged commit 5ac0945 into main Jul 6, 2023
@wireddown wireddown deleted the add-history-analysis-for-cr30 branch July 6, 2023 02:13
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.

2 participants