Skip to content

Conversation

@chepo92
Copy link
Contributor

@chepo92 chepo92 commented Oct 2, 2025

Description

This is a Work in progress/ Draft PR
Adds the Mightyboard rev G and H adding support to Makerbot replicator 2 and 2X and clones printers

Requirements

Requires a Config for these boards provided below

Benefits

adds support to Makerbot replicator 2 and 2X and clones printers

Configurations

MIGHTYBOARD_REVG_[WIP]_Chepo92.zip

Related Issues

Credits

https://github.com/Sgail7/Replicator-Revival-Project

@ellensp
Copy link
Contributor

ellensp commented Oct 2, 2025

If it only has 2 endstops for X and Y

// #define X_MIN_PIN                             30  // C7
#define X_MAX_PIN                             30  // C7
// #define Y_MIN_PIN                             31  // C6
#define Y_MAX_PIN                             31  // C6

use

#define X_STOP_PIN                             30  // C7
#define Y_STOP_PIN                             31  // C6

then if your homing to min or max it will use the STOP pin

@ellensp
Copy link
Contributor

ellensp commented Oct 2, 2025

The pins.h motherboard order and boards.h motherboard order must match for consistency.

@ellensp
Copy link
Contributor

ellensp commented Oct 3, 2025

"Error: Pins files are not formatted correctly. Run "make format-pins" to fix."

Pins files are checked for consistent formatting and trailing spaces, run the make command above to format it as required.

I've done it for you

@ellensp
Copy link
Contributor

ellensp commented Oct 3, 2025

now the pins file only has one Z endstop (when I looked last there was a min and a max)
If there is only the one Z endstop use Z_STOP_PIN so marlin can use it for min or max as required

@chepo92
Copy link
Contributor Author

chepo92 commented Oct 3, 2025

"Error: Pins files are not formatted correctly. Run "make format-pins" to fix."

Pins files are checked for consistent formatting and trailing spaces, run the make command above to format it as required.

I've done it for you

Thanks for the formating, I was struggling to get it right
How can I run those make comands ?
If I run in the terminal make format-pins in the marlin root i get

File not found *.h
make: Nothing to be done for 'format-pins'.

and if I run it in Marlin\Marlin\src\pins\mega> make format-pins
make: *** No rule to make target 'format-pins'. Stop.

note: I'm using windows 10, should i run it in a docker linux container?

@ellensp
Copy link
Contributor

ellensp commented Oct 3, 2025

the Makefile does have linux specific sections and format-pins is one of them, it uses linux command "find"

docker or Windows Subsystem for Linux (WSL) should work.

The Makefile should probably be updated to be windows compatible, at least for format-pins

@ellensp
Copy link
Contributor

ellensp commented Oct 4, 2025

I've added a pr add an update the Makefile so that "make format-pins" also works under windows.
See #28094 for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants