Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.29k stars 5.28k forks source link

Option 'pin_map' is not valid in section 'mcu' #4907

Closed CiarlilloM closed 2 years ago

CiarlilloM commented 2 years ago

So I'm in need of help and unsure where to post this

Okay, so first off let me say I'm a complete noob when it comes to Klipper, Fluidd, etc.

Printer: CR-10S

Relevant Mods: Micro Swiss Direct Drive Extruder Ender 5 Plus Silent Board

Irrelevant Mods: Wisamic Wire Extensions Noctua 40x20 fans (3x), Gelid Fan (inside control box) Fan shroud found here: https://www.thingiverse.com/thing:4277669 (V3)

Initially, I configured Klipper & Fluidd correctly using a Teaching Tech YouTube as a guide along with Creality & Marlin RAMPS / Pinouts along with Configuration Guide, tests & checks, etc .

EVERYTHING worked PERFECTLY after switching/reversing the direction of some pins (+/- !) using the Creality CR-10S template from the Official Github.

The problem came about after I tried installing/adding a Genuine BLTouch V3.1. I tried to copy + paste the BLTouch settings in my printer.cfg and that gave me the above-mentioned error " Option 'pin_map' is not valid in section 'mcu' "

So I decided to use the Creality Ender 5 Plus template off the Official Github, and modified everything by changing the pin values to match what I had originally found to work from my modified CR-10S template. This also gave me the "Option 'pin_map' is not valid in section 'mcu'" error.

Frustrated, and needing to print something I decided to manually level the bed, and copy over the backup 'printer.cfg" file -that originally worked.... yeah that even gave me the error after trying to "Restart Klipper" & "Firmware Restart" a million times.

I've attached my printer.cfg file that used the CR-10S template, the printer.cfg file that uses the Ender 5 Plus template, the klippy.log & moonraker.log.

Thank you in advance for the help, and please feel free to help change any of the BLTouch configurations since I'm a complete NOOB.

Misc thoughts: I think at one point I renamed my printer, and used "Reboot" & "Shutdown" from the "Host" tab on the right hand side... I don't know if this makes a difference or not but I'm trying to think of any and all issues.

klippy.log moonraker.log CR10S_Template_printer.txt Ender5Plus_Template_printer.txt

Sineos commented 2 years ago

Replace the pin_map setting by the appropriate alias definition here https://github.com/Klipper3d/klipper/blob/master/config/sample-aliases.cfg

wizhippo commented 2 years ago

Use only one of the sections mentioned in https://github.com/Klipper3d/klipper/blob/master/config/sample-aliases.cfg other wise you will get error messages because you are trying to map the same alias multiple times.

In other words do not include the whole file. Just he section relevant to your board

github-actions[bot] commented 2 years ago

Hello,

It looks like there hasn't been any recent updates on this Klipper github issue. If you created this issue and no longer consider it open, then please login to github and close the issue. Otherwise, if there is no further activity on this thread then it will be automatically closed in a few days.

Best regards,

~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

Sineos commented 2 years ago

If this is still an issue please open a new post on https://klipper.discourse.group and we will be happy to assist