1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-02 10:53:01 +02:00

board: defaults: indent

Added board: field
Added defaults: category to collect settings that propagate
Changed indentation to 2 spaces for brevity
This commit is contained in:
Mitch Bradley
2020-11-02 11:24:28 -10:00
parent 6e86ce5b02
commit 594864f934
35 changed files with 1084 additions and 1087 deletions

View File

@@ -26,8 +26,9 @@ spindle:
RxD: gpio.2
debug: on
homing:
cycle0: x
cycle1: xy
cycles:
- x
- xy
probe: gpio.14
reset: gpio.27:low
feed-hold: gpio.26:low

View File

@@ -1,6 +1,9 @@
---
name: esp32_v3.5
board: bdring-3axis-v3
defaults:
steppers:
disable: gpio.13
x:
limit: gpio.2:low
stepstick:
@@ -16,8 +19,6 @@ z:
stepstick:
step: gpio.27
direction: gpio.33
steppers:
disable: gpio.13
spindle:
pwm:
output: gpio.17

View File

@@ -1,5 +1,9 @@
---
name: esp32_v4
board:bdring-3axis-v4
defaults:
steppers:
disable: gpio.13
x:
limit: gpio.17:low
stepstick:
@@ -15,8 +19,6 @@ z:
stepstick:
step: gpio.27
direction: gpio.33
steppers:
disable: gpio.13
spindle:
pwm:
output: gpio.2

View File

@@ -1,6 +1,9 @@
---
name: esp32_v4_xyz
board:bdring-3axis-v4
defaults:
steppers:
disable: gpio.13
x:
limit: gpio.17:low
stepstick:
@@ -15,9 +18,6 @@ z:
stepstick:
step: gpio.27
direction: gpio.33
steppers:
disable: gpio.13
spindle:
pwm:
output: gpio.2

View File

@@ -1,5 +1,8 @@
---
name: External 4 Axis Driver Board V2
defaults:
steppers:
disable: gpio.13
x:
limit: gpio.34:low
external-stepper:
@@ -20,8 +23,6 @@ a:
external-stepper:
step: gpio.12
direction: gpio.14
steppers:
disable: gpio.13
spindle:
huanyang:
TxD: gpio.17

View File

@@ -1,5 +1,10 @@
---
name: 6 Pack Lowrider XYYZZ V1 (StepStick)
board: bdring-6pack
defaults:
steppers:
disable: gpio.13
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
@@ -39,6 +44,3 @@ z2:
direction: i2so.17
step: i2so.18
ms3: i2so.19
steppers:
reset: gpio.19
pulse: 4

View File

@@ -1,5 +1,10 @@
---
name: 6 Pack MPCNC XYZXY V1 (StepStick)
board: bdring-6pack
defaults:
steppers:
reset: gpio.19
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
@@ -39,6 +44,3 @@ z:
direction: i2so.9
step: i2so.10
ms3: i2so.11
steppers:
reset: gpio.19
pulse: 4

View File

@@ -1,5 +1,10 @@
---
name: 6 Pack Controller StepStick XYZ
board: bdring-6pack
defaults:
steppers:
reset: gpio.19
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
@@ -19,6 +24,3 @@ z:
stepstick:
6pack-socket3
spmm: 800
steppers:
reset: gpio.19
pulse: 4

View File

@@ -1,5 +1,10 @@
---
name: 6 Pack Controller V1 (StepStick)
board: bdring-6pack
defaults:
steppers:
reset: gpio.19
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
@@ -39,6 +44,3 @@ z:
direction: i2so.9
step: i2so.10
ms3: i2so.11
steppers:
reset: gpio.19
pulse: 4

View File

@@ -1,5 +1,14 @@
---
name: 6 Pack Controller StepStick XYZ
board: bdring-6pack
defaults:
tmc2130:
rsense: 0.11
run: coolstep
homing: stallguard
steppers:
reset: gpio.19
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
@@ -8,49 +17,26 @@ x:
limit: gpio.33:low
tmc2130:
6pack-socket1
rsense: 0.11
run: coolstep
homing: stallguard
y:
limit: gpio.32:low
tmc2130:
6pack-socket2
rsense: 0.11
run: coolstep
homing: stallguard
z:
limit: gpio.35:low
tmc2130:
6pack-socket3
rsense: 0.11
run: coolstep
homing: stallguard
a:
limit: gpio.34:low
tmc2130:
6pack-socket4
rsense: 0.11
run: coolstep
homing: stallguard
b:
limit: gpio.39:low
tmc2130:
6pack-socket5
rsense: 0.11
run: coolstep
homing: stallguard
c:
limit: gpio.36:low
tmc2130:
6pack-socket6
rsense: 0.11
run: coolstep
homing: stallguard
steppers:
reset: gpio.19
pulse: 4
spindle:
pwm:
output: gpio.26

View File

@@ -1,5 +1,10 @@
name: Atari 1020
custom-code: Custom/atari_1020.cpp
defaults:
steppers:
pulse: 3
idle: 200
custom:
filename: Custom/atari_1020.cpp
x:
unipolar:
phase0: gpio.13
@@ -45,9 +50,6 @@ macro:
button0: gpio.34
button1: gpio.35
button2: gpio.36
steppers:
pulse: 3
idle: 200
homing:
feed-rate: 3000
seek-rate: 3000

View File

@@ -1,5 +1,14 @@
---
name: 6 Pack StepStick XYYZ SW_XYZP
board: bdring-6pack
defaults:
tmc2130:
rsense: 0.11
run: coolstep
homing: stallguard
steppers:
reset: gpio.19
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
@@ -8,9 +17,6 @@ x:
limit: gpio.33:low
tmc2130:
6pack-socket1
rsense: 0.11
run: coolstep
homing: stallguard
y:
limit: gpio.32:low
stepstick:
@@ -19,9 +25,6 @@ z:
limit: gpio.35:low
tmc2130:
6pack-socket3
rsense: 0.11
run: coolstep
homing: stallguard
a:
dynamixel:
RxD: gpio.26
@@ -33,7 +36,3 @@ b:
pin: gpio.27
min: 1.0
max: 1.0
steppers:
reset: gpio.19
pulse: 4

View File

@@ -1,6 +1,11 @@
---
name: ESP32 Printer Controller
custom-code: Custom/esp32_printer_controller.cpp
board: wmb-esp32-printer-controller
custom:
filename: Custom/esp32_printer_controller.cpp
defaults:
steppers:
pulse: 4
i2s0:
bits: 16
stream: on
@@ -15,11 +20,8 @@ homing:
seek-rate: 1000
debounce: 250
pulloff: 3
cycle0: x
steppers:
pulse: 4
cycles:
- x
x:
step: i2so.9
direction: i2s0.7

View File

@@ -1,6 +1,9 @@
---
name: ESPDUINO_32
board: espduino
defaults:
steppers:
disable: gpio.12
x:
stepstick:
step: gpio.26
@@ -13,10 +16,6 @@ z:
stepstick:
step: gpio.17
direction: gpio.14
steppers:
disable: gpio.12
spindle:
pwm:
output: gpio.19

View File

@@ -1,15 +1,17 @@
---
name: ESP32 I2S XXYYZZ Axis Driver Board (StepStick)
board: bdring-6pack
defaults:
steppers:
ms1: gpio.23
ms2: gpio.18
reset: gpio.19
pulse: 4
sdcard: off
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
steppers:
ms1: gpio.23
ms2: gpio.18
reset: gpio.19
pulse: 4
x:
limit: gpio.36:low
stepstick:

View File

@@ -1,15 +1,17 @@
---
name: ESP32 I2S 6 Axis Driver Board (StepStick)
board: bdring-6pack
defaults:
steppers:
ms1: gpio.23
ms2: gpio.18
reset: gpio.19
pulse: 4
sdcard: off
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
steppers:
ms1: gpio.23
ms2: gpio.18
reset: gpio.19
pulse: 4
x:
limit: gpio.36:low
stepstick:

View File

@@ -1,53 +1,41 @@
---
name: ESP32 SPI 6 Axis Driver Board Trinamic
board: bdring-6pack
defaults:
tmc2130:
rsense: 0.11
run: coolstep
homing: coolstep
steppers:
pulse: 4
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
steppers:
pulse: 4
x:
limit: gpio.33:low
tmc2130:
6pack-socket1
run: coolstep
hold: coolstep
rsense: 0.11
y:
limit: gpio.32:low
tmc2130:
6pack-socket2
run: coolstep
hold: coolstep
rsense: 0.11
z:
limit: gpio.35:low
tmc2130:
6pack-socket3
run: coolstep
hold: coolstep
rsense: 0.11
a:
limit: gpio.34:low
tmc2130:
6pack-socket4
run: coolstep
hold: coolstep
rsense: 0.11
b:
limit: gpio.39:low
tmc2130:
6pack-socket5
run: coolstep
hold: coolstep
rsense: 0.11
c:
limit: gpio.36:low
tmc2130:
6pack-socket6
run: coolstep
hold: coolstep
rsense: 0.11
spindle:
relay:
output: gpio.26

View File

@@ -1,6 +1,9 @@
---
name: LOWRIDER YYZZX V1P2
board: bdring-lowrider-v1p2
defaults:
steppers:
disable: gpio.13
x:
limit: gpio.15:low
stepstick:
@@ -24,10 +27,6 @@ z2:
stepstick:
step: gpio.21
direction: gpio.25
steppers:
disable: gpio.13
spindle:
pwm:
output: gpio.16

View File

@@ -1,6 +1,9 @@
---
name: LOWRIDER YYZZX V1P2
board: bdring-lowrider-v1p2
defaults:
steppers:
disable: gpio.13
x:
limit: gpio.15:low
stepstick:
@@ -24,10 +27,6 @@ z2:
stepstick:
step: gpio.21
direction: gpio.25
steppers:
disable: gpio.13
spindle:
relay:
output: gpio.2

View File

@@ -1,5 +1,11 @@
---
name: MIDTBOT
board: bdring-midtbot
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
x:
limit: gpio.2:low
stepstick:
@@ -26,13 +32,10 @@ z:
max-rate: 5000
acceleration: 100
travel: 100
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
cycle0: y
cycle1: x
cycle:
- y
- x
feed-rate: 200
seek-rate: 1000
debounce: 250

View File

@@ -1,6 +1,13 @@
---
name: MPCNC_V1P2 with Laser Module
custom-code: Custom/mpcnc_laser_module.cpp
board: bdring-mpcnc-v1p2
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
custom:
filename: Custom/mpcnc_laser_module.cpp
level-shift: gpio.32
homing:
squared: xy
@@ -39,11 +46,6 @@ z:
max-rate: 3000
acceleration: 100
travel: 80
steppers:
disable: gpio.13
pulse: 3
idle: never
spindle:
pwm:
output: gpio.16

View File

@@ -1,5 +1,11 @@
---
name: MPCNC_V1P1
board: bdring-mpcnc-v1p1
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
squared: xy
feed-rate: 100
@@ -43,11 +49,6 @@ z:
max-rate: 3000
acceleration: 100
travel: 80
steppers:
disable: gpio.13
pulse: 3
idle: never
spindle:
pwm:
output: gpio.16

View File

@@ -1,5 +1,11 @@
---
name: MPCNC_V1P1
board: bdring-mpcnc-v1p1
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
squared: xy
feed-rate: 100
@@ -43,11 +49,6 @@ z:
max-rate: 3000
acceleration: 100
travel: 80
steppers:
disable: gpio.13
pulse: 3
idle: never
spindle:
relay:
output: gpio.17

View File

@@ -1,5 +1,11 @@
---
name: MPCNC_V1P2
board: bdring-mpcnc-v1p2
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
squared: xy
feed-rate: 100
@@ -43,11 +49,6 @@ z:
max-rate: 3000
acceleration: 100
travel: 80
steppers:
disable: gpio.13
pulse: 3
idle: never
spindle:
pwm:
output: gpio.16

View File

@@ -1,5 +1,11 @@
---
name: MPCNC_V1P2
board: bdring-mpcnc-v1p2
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
squared: xy
feed-rate: 100
@@ -43,11 +49,6 @@ z:
max-rate: 3000
acceleration: 100
travel: 80
steppers:
disable: gpio.13
pulse: 3
idle: never
spindle:
relay:
output: gpio.2

View File

@@ -1,5 +1,11 @@
---
name: PEN_LASER_V2
board: bdring-pen-laser-v1
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
feed-rate: 200
seek-rate: 1000
@@ -32,11 +38,6 @@ z:
max-rate: 5000
acceleration: 50
travel: 100
steppers:
disable: gpio.13
pulse: 3
idle: never
probe: gpio.35
status-report-mask: 1

View File

@@ -1,5 +1,11 @@
---
name: PEN_LASER_V2
board: bdring-pen-laser-v2
defaults:
steppers:
disable: gpio.13
pulse: 3
idle: never
homing:
feed-rate: 200
seek-rate: 1000
@@ -32,11 +38,6 @@ z:
max-rate: 5000
acceleration: 50
travel: 100
steppers:
disable: gpio.13
pulse: 3
idle: never
probe: gpio.35
status-report-mask: 1

View File

@@ -1,5 +1,11 @@
---
name: POLAR_COASTER
board: bdring-polar-coaster
defaults:
steppers:
disable: gpio.17
pulse: 3
idle: never
custom:
filename: Custom/polar_coaster.cpp
radius-axis: 0
@@ -39,11 +45,6 @@ z:
debounce: on
period: 100
steppers:
disable: gpio.17
pulse: 3
idle: never
macro:
button0: gpio.13:low
button1: gpio.12:low

View File

@@ -1,5 +1,10 @@
---
name: SPI_DAISY_4X_xyyz
defaults:
tmc2130:
rsense: 0.11
run: stealthchop
homing: stealthchop
homing:
squared: y
x:
@@ -8,27 +13,23 @@ x:
step: gpio.12
direction: gpio.14
cs: gpio.17
rsense: 0.11
y:
limit: gpio.39:low
tmc2130:
step: gpio.27
direction: gpio.26
cs: gpio.17
rsense: 0.11
y2:
tmc2130:
step: gpio.15
direction: gpio.2
cs: gpio.17
rsense: 0.11
z:
limit: gpio.34:low
tmc2130:
step: gpio.33
direction: gpio.32
cs: gpio.17
rsense: 0.11
mist: gpio.21
probe: gpio.22
spindle:

View File

@@ -1,5 +1,10 @@
---
name: SPI_DAISY_4X_XYZ
defaults:
tmc2130:
rsense: 0.11
run: coolstep
homing: coolstep
homing:
squared: y
x:
@@ -8,27 +13,18 @@ x:
step: gpio.12
direction: gpio.14
cs: gpio.17
rsense: 0.11
run: coolstep
homing: coolstep
y:
limit: gpio.39:low
tmc2130:
step: gpio.27
direction: gpio.26
cs: gpio.17
rsense: 0.11
run: coolstep
homing: coolstep
z:
limit: gpio.34:low
tmc2130:
step: gpio.15
direction: gpio.2
cs: gpio.17
rsense: 0.11
run: coolstep
homing: coolstep
mist: gpio.21
probe: gpio.22
spindle:

View File

@@ -1,5 +1,10 @@
---
name: SPI_DAISY_4X XYZA
defaults:
tmc2130:
rsense: 0.11
run: stealthchop
homing: stealthchop
homing:
squared: y
x:
@@ -8,29 +13,24 @@ x:
step: gpio.12
direction: gpio.14
cs: gpio.17
rsense: 0.11
run: stealthchop
y:
limit: gpio.39:low
tmc2130:
step: gpio.27
direction: gpio.26
cs: gpio.17
rsense: 0.11
z:
limit: gpio.34:low
tmc2130:
step: gpio.15
direction: gpio.2
cs: gpio.17
rsense: 0.11
a:
limit: gpio.35:low
tmc2130:
step: gpio.33
direction: gpio.32
cs: gpio.17
rsense: 0.11
mist: gpio.21
probe: gpio.22
spindle:

View File

@@ -1,5 +1,9 @@
---
name: Tapster 3 Delta (Dynamixel)
defaults:
steppers:
pulse: 3
idle: 200
custom:
forward-kinematics: on
filename: Custom/parallel_delta.cpp
@@ -45,9 +49,6 @@ z:
acceleration: 200
max-travel: 3.14159265
mpos: 1.57079632675
steppers:
pulse: 3
idle: 200
user-digital0:
pin: gpio.25
user-digital1:

View File

@@ -1,5 +1,4 @@
---
name: Test Drive - Demo Only No I/O!
homing:
cycle0:
cycle1:
cycles:

View File

@@ -1,28 +1,26 @@
---
name: ESP32_TMC2130_PEN V1
defaults:
tmc2130:
rsense: 0.11
run: coolstep
homing: coolstep
steppers:
disable: gpio.13
x:
limit: gpio.2:low
tmc2130:
step: gpio.12
direction: gpio.26
cs: gpio.17
rsense: 0.11
run: coolstep
homing: coolstep
y:
limit: gpio.4:low
tmc2130:
step: gpio.14
direction: gpio.25
cs: gpio.16
rsense: 0.11
run: coolstep
homing: coolstep
z:
servo:
pin: gpio.27
spmm: 100
travel: 300
steppers:
disable: gpio.13

View File

@@ -1,27 +1,26 @@
---
name: ESP32_TMC2130_PEN V2
defaults:
tmc2130:
rsense: 0.11
run: coolstep
homing: coolstep
steppers:
disable: gpio.13
x:
limit: gpio.32:low
tmc2130:
step: gpio.12
direction: gpio.26
cs: gpio.17
rsense: 0.11
run: coolstep
homing: coolstep
y:
limit: gpio.4:low
tmc2130:
step: gpio.14
direction: gpio.25
cs: gpio.16
rsense: 0.11
run: coolstep
homing: coolstep
z:
servo:
pin: gpio.27
spmm: 100
travel: 300
steppers:
disable: gpio.13