RatOS 2.1 Manta M5P Missing motor configuration in RatOS Configurator

I am trying to install RatOS 2.1 on a Manta M5P board and at the very last step in the configurator I get errors because stepper configuration is missing. In the previous step I can choose the motors and then in the last step I cannot Confirm and Save since config for the Z1 and Z2 motors are missing. Error [ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z1_step_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z1_dir_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z1_enable_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z1_uart_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z2_step_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z2_dir_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z2_enable_pin" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "z2_uart_pin" ], "message": "Required" } ]
No description
4 Replies
miklschmidt
miklschmidt•4mo ago
Hmm yeah, it should not have allowed you to select that board since it doesn't have a 3z config defined. Can you please post the debug.zip ? And is your configurator up to date?
NickiDotDk
NickiDotDkOP•4mo ago
I will post it tomorrow morning. Yes everything is up to date. Ok so this is a bit odd. Last night I changed the config.cfg in /home/pi/printer_data/config/RatOS/boards/btt-manta-m5p, and tried to configure again and then it worked. This morning I reverted back to the old settings where z1 and z2 were not defined and started the configurator over again in order to be able to post the debug.zip, however this time it also worked, so I am not able to reproduce at the moment. This is really odd because I did the same as last night just in reverse.
NickiDotDk
NickiDotDkOP•4mo ago
Here is the PR I made with the changes that I initially did locally https://github.com/Rat-OS/RatOS-configuration/pull/293
GitHub
Update config.cfg to include z1 and z2 instead of extruder which is...
When configuring a VCore3 or 4 the configuration is missing configuration for z1 and z2. In the configurator it states that when using this board a toolboard is required. Going through the steps an...
miklschmidt
miklschmidt•4mo ago
If you don't change any motion settings, i don't think it assigns the "motor slots" to the steppers, in that case it would rely on the config.cfg pin definitions. If however you manually assign slots in the configurator (which it should've required you to do), it'll use those from the board-definition.json file, and thus won't need the pin definitions from config.cfg (which is mainly there for backwards compatibility). I've replied to this on github 🙂

Did you find this page helpful?