Frix-x / klippain

Generic Klipper configuration for 3D printers
GNU General Public License v3.0
851 stars 223 forks source link

Option 'cs_pin' is not valid in section 'tmc2240 extruder' #630

Closed bertenvdb closed 4 days ago

bertenvdb commented 1 month ago

Klippain branch

Version

v4.3.1-17-gdf5ad5bf

Describe the bug and expected behavior

I wanted to try out Klippain so did a complete fresh install of Klipper, Mainsail, Moonraker and Klippain. After following the configuration instructions, I am now facing the error "Option 'cs_pin' is not valid in section 'tmc2240 extruder".
I have no clue how I should go about finding what is causing this. I see there's a cs_pin defined in /config/hardware/extruder/TMC/TMC2240.cfg, but fail to understand what to do next.

Main MCU: Spider 3 Toolhead MCU: Mellow FLY-SB2040 Pro Plus (selected the FLY-SB2040 Pro template during install)

Additional information and klippy.log

klippy.log

bertenvdb commented 1 month ago

Got Klipper running, but I'm pretty sure this is not the way I'm supposed to resolve my issue.

I commented out [include config/hardware/extruder/TMC/TMC2240.cfg] in mcu.cfg.

Then I added this to overrides.cfg:

[tmc2240 extruder]
run_current: 0.7

Finally, I did this:

LIGHT_OUTPUT=MCU_HEAT1        ,
#LIGHT_NEOPIXEL=MCU_RGB_A     ,
LIGHT_NEOPIXEL=MCU_G_DATA_5V  ,
STATUS_NEOPIXEL=MCU_G_DATA_5V ,

Klipper now starts without errors.

github-actions[bot] commented 2 weeks ago

📌 This issue has been marked as stale because it has not had activity in the past 30 days. To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days. Thank you for your contributions!

github-actions[bot] commented 4 days ago

This issue was closed due to inactivity for 14 days. Feel free to reopen it if you think it was an error or if you have new information or progress to share