Skip to content

Commit 1862831

Browse files
committed
MINIRAMBO_CNC
1 parent 42756d4 commit 1862831

File tree

4 files changed

+17
-185
lines changed

4 files changed

+17
-185
lines changed

Marlin/src/core/boards.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
#define BOARD_EINSY_RETRO 1204 // Einsy Retro
144144
#define BOARD_SCOOVO_X9H 1205 // abee Scoovo X9H
145145
#define BOARD_RAMBO_THINKERV2 1206 // ThinkerV2
146-
#define BOARD_MINIRAMBO_CNC 1207 // Mini-Rambo 1.3a as CNC with X, Y, Z, E as I
147146

148147
//
149148
// Other ATmega1280, ATmega2560

Marlin/src/pins/pins.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@
271271
#include "rambo/pins_RAMBO.h" // ATmega2560 env:rambo
272272
#elif MB(MINIRAMBO, MINIRAMBO_10A)
273273
#include "rambo/pins_MINIRAMBO.h" // ATmega2560 env:rambo
274-
#elif MB(MINIRAMBO_CNC)
275-
#include "rambo/pins_MINIRAMBO_CNC.h" // ATmega2560 env:rambo
276274
#elif MB(EINSY_RAMBO)
277275
#include "rambo/pins_EINSY_RAMBO.h" // ATmega2560 env:rambo
278276
#elif MB(EINSY_RETRO)

Marlin/src/pins/rambo/pins_MINIRAMBO.h

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@
3131

3232
#include "env_validate.h"
3333

34-
#if MB(MINIRAMBO_10A)
35-
#define BOARD_INFO_NAME "Mini RAMBo 1.0a"
34+
#if ENABLED(MINIRAMBO_CNC)
35+
#define BOARD_INFO_NAME "Mini RAMBo CNC"
3636
#else
37-
#define BOARD_INFO_NAME "Mini RAMBo"
37+
#if MB(MINIRAMBO_10A)
38+
#define BOARD_INFO_NAME "Mini RAMBo 1.0a"
39+
#else
40+
#define BOARD_INFO_NAME "Mini RAMBo"
41+
#endif
3842
#endif
3943

4044
//
@@ -47,6 +51,10 @@
4751
#define Z_MIN_PIN 10
4852
#define Z_MAX_PIN 23
4953

54+
#if HAS_I_AXIS
55+
#define I_STOP_PIN 30 // Same as X/Y_MAX_PIN for now
56+
#endif
57+
5058
//
5159
// Z Probe (when not Z_MIN_PIN)
5260
//
@@ -127,8 +135,12 @@
127135
// M3/M4/M5 - Spindle/Laser Control
128136
//
129137
#if HAS_CUTTER
130-
// Use P1 connector for spindle pins
131-
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
138+
#if ENABLED(MINIRAMBO_CNC)
139+
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
140+
#else
141+
// Use P1 connector for spindle pins
142+
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
143+
#endif
132144
#define SPINDLE_LASER_ENA_PIN 18 // Pullup!
133145
#define SPINDLE_DIR_PIN 19
134146
#endif

Marlin/src/pins/rambo/pins_MINIRAMBO_CNC.h

Lines changed: 0 additions & 177 deletions
This file was deleted.

0 commit comments

Comments
 (0)