forked from jokubasver/Kobra_Neo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set lin_adv value, own steps per mm, PID, increased acceleration and …
…jerk
- Loading branch information
1 parent
c225e82
commit 63e71da
Showing
10 changed files
with
78 additions
and
37 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
|
||
/* | ||
* Auto generated Run-Time-Environment Configuration File | ||
* *** Do not modify ! *** | ||
* | ||
* Project: 'anycubic' | ||
* Target: 'firmware_Release' | ||
*/ | ||
|
||
#ifndef RTE_COMPONENTS_H | ||
#define RTE_COMPONENTS_H | ||
|
||
|
||
/* | ||
* Define the Device Header File: | ||
*/ | ||
#define CMSIS_device_header "HC32F460KETA.h" | ||
|
||
|
||
|
||
#endif /* RTE_COMPONENTS_H */ | ||
|
||
/* | ||
* Auto generated Run-Time-Environment Configuration File | ||
* *** Do not modify ! *** | ||
* | ||
* Project: 'anycubic' | ||
* Target: 'firmware_Release' | ||
*/ | ||
|
||
#ifndef RTE_COMPONENTS_H | ||
#define RTE_COMPONENTS_H | ||
|
||
|
||
/* | ||
* Define the Device Header File: | ||
*/ | ||
#define CMSIS_device_header "HC32F460KETA.h" | ||
|
||
|
||
|
||
#endif /* RTE_COMPONENTS_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63e71da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately it seems that this is not enough to get linear advance to work properly with this version of Marlin and our printer. While the feature itself works, there were issues with lin advance and TMC2208 drivers up until around mid 2022, causing the stepper to stall randomly during prints. This PR seemingly fixes the issue, but merging it to Kobra Neo fork causes weird wobbly stepper movement and prints that look awful. Other options include switching from stealthChop on the extruder to spreadCycle, but that causes the stepper to stall too, there's also SQUARE_WAVE_STEPPING but that reduces the stepper steps in half.
There is a fork of mainline Marlin for HC32F46x MCUs (made to work on an Aquila X2), and I've got a base configuration done for Kobra Neo, but that fork currently does not have support for SoftwareSerial (which is needed for Kobra Neo's TMC2208 drivers that are running in UART mode) and TFT SPI (for our LCD display). Currently looking into it to see if I could port those features over.
63e71da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jokubasver it did work pretty well for me, but could be just luck. What about just copy paste the SoftwareSerial from the Anycubic repo and stick it into 2.1.x? Im not that invested in marlin, but a stupid guess might work xD