Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12090

Switching from repetier to marlin. How to do pin mapping?

$
0
0
Hello,

I'm trying to switch from repetier firmware to marlin in order to try out the mesh based bed correction.
There is however some things i have configured in repetier to which i cant find the marlin counterpart. Mostly its about remapping the pins.

Here's the parts of the repetier config i'm having trouble to replicate.

//move ymin to xmas so y min/max are free for use as uart with esp3d. This is a mirror of the default serial. Usb and wifi can be used at the same time.
#undef Y_MIN_PIN
#define Y_MIN_PIN ORIG_Z_MAX_PIN
#define BLUETOOTH_SERIAL  3
#define BLUETOOTH_BAUD  57600

//dual z steppers
#define FEATURE_TWO_ZSTEPPER 1
#define Z2_STEP_PIN   ORIG_E1_STEP_PIN
#define Z2_DIR_PIN    ORIG_E1_DIR_PIN
#define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN

//probe
#define Z_PROBE_PIN ORIG_X_MAX_PIN


Also im using a
#define FEATURE_CONTROLLER 11 (CONTROLLER_REPRAPDISCOUNT_GLCD) without built in sd card (the one from the wanhao i3)
with an sdramps on "aux-3" to provide sd support
#define SDSUPPORT 1
I also had to comment out some lines in ui.h to not disable sdramps when using glcd, not sure if i need to replicate that.
/*
#if FEATURE_CONTROLLER == CONTROLLER_SMARTRAMPS || FEATURE_CONTROLLER == CONTROLLER_GADGETS3D_SHIELD || FEATURE_CONTROLLER == CONTROLLER_BAM_DICE_DUE || (FEATURE_CONTROLLER == CONTROLLER_REPRAPDISCOUNT_GLCD && MOTHERBOARD != CONTROLLER_FELIX_DUE)
#undef SDCARDDETECT
#if MOTHERBOARD == 37
#define SDCARDDETECT ORIG_SDCARDDETECT
#else
#define SDCARDDETECT 49
#endif
#undef SDCARDDETECTINVERTED
#define SDCARDDETECTINVERTED 0
#undef SDSUPPORT
#define SDSUPPORT 1
#endif
*/



Thank you, any help would be appreciated.

Viewing all articles
Browse latest Browse all 12090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>