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

[BUG] K axis with TMC2208 #24103

Closed
urbas80 opened this issue Apr 29, 2022 · 2 comments
Closed

[BUG] K axis with TMC2208 #24103

urbas80 opened this issue Apr 29, 2022 · 2 comments

Comments

@urbas80
Copy link

urbas80 commented Apr 29, 2022

Did you test the latest bugfix-2.0.x code?

No, but I will test it now!

Bug Description

Hi, when define I driver type as TMC2208 in Configuration.h:
#define I_DRIVER_TYPE TMC2208

i got compilation error:
Marlin\src\gcode\calibrate../../module/stepper/trinamic.h:237:23: error: 'I_AXIS' was not declared in this scope; did you mean 'C_AXIS'?

Bug Timeline

No response

Expected behavior

compile code

Actual behavior

compilation error

Steps to Reproduce

No response

Version of Marlin Firmware

2.0.9.3

Printer model

Custom

Electronics

BTT SKR 1.3

Add-ons

No response

Bed Leveling

No response

Your Slicer

No response

Host Software

No response

Additional information & file uploads

No response

@ellensp
Copy link
Contributor

ellensp commented Apr 29, 2022

You cannot just enable #define I_DRIVER_TYPE TMC2208

You also need to tell marlin how many axis you have ie #define NUM_AXES 4

And a bunch of other settings...

See 5 axis example https://github.com/MarlinFirmware/Configurations/tree/release-2.0.9.3/config/examples/linear_axes/RAMPS%205%20LINEAR_AXES

Please note:

This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report.

@ellensp ellensp closed this as completed Apr 29, 2022
@thinkyhead thinkyhead changed the title [BUG] (K axis with TMC2208) [BUG] K axis with TMC2208 Apr 29, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants