mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-27 16:19:57 +02:00
Change to default config
This commit is contained in:
@@ -46,7 +46,7 @@ Some features should not be changed. See notes below.
|
|||||||
// one configuration file by placing their specific defaults and pin map at the bottom of this file.
|
// one configuration file by placing their specific defaults and pin map at the bottom of this file.
|
||||||
// If doing so, simply comment out these two defines and see instructions below.
|
// If doing so, simply comment out these two defines and see instructions below.
|
||||||
#define DEFAULTS_GENERIC
|
#define DEFAULTS_GENERIC
|
||||||
#define CPU_MAP_FOO_6X // these are defined in cpu_map.h
|
#define CPU_MAP_ESP32 // these are defined in cpu_map.h
|
||||||
#define VERBOSE_HELP // adds addition help info, but could confuse some senders
|
#define VERBOSE_HELP // adds addition help info, but could confuse some senders
|
||||||
|
|
||||||
|
|
||||||
|
@@ -36,13 +36,13 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//Set your pine definition
|
//Set your pin definition
|
||||||
//let -1 to use default board pin
|
//let -1 to use default board pin
|
||||||
#define GRBL_SPI_SS -1
|
#define GRBL_SPI_SS -1
|
||||||
#define GRBL_SPI_MOSI -1
|
#define GRBL_SPI_MOSI -1
|
||||||
#define GRBL_SPI_MISO -1
|
#define GRBL_SPI_MISO -1
|
||||||
#define GRBL_SPI_SCK -1
|
#define GRBL_SPI_SCK -1
|
||||||
//Set you frequency
|
//Set your frequency
|
||||||
#define GRBL_SPI_FREQ 4000000
|
#define GRBL_SPI_FREQ 4000000
|
||||||
|
|
||||||
#ifdef CPU_MAP_ESP32
|
#ifdef CPU_MAP_ESP32
|
||||||
@@ -717,7 +717,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CPU_MAP_SM // String art machine definition
|
#ifdef CPU_MAP_SM // String art machine definition
|
||||||
|
#define CPU_MAP_NAME "CPU_MAP_SM"
|
||||||
|
|
||||||
#define X_STEP_PIN GPIO_NUM_12
|
#define X_STEP_PIN GPIO_NUM_12
|
||||||
#define X_DIRECTION_PIN GPIO_NUM_26
|
#define X_DIRECTION_PIN GPIO_NUM_26
|
||||||
@@ -1152,12 +1152,13 @@
|
|||||||
|
|
||||||
#ifdef CPU_MAP_FOO_6X
|
#ifdef CPU_MAP_FOO_6X
|
||||||
#define CPU_MAP_NAME "CPU_MAP_FOO_6X"
|
#define CPU_MAP_NAME "CPU_MAP_FOO_6X"
|
||||||
|
/*
|
||||||
/*
|
|
||||||
#define USE_KINEMATICS
|
#define USE_KINEMATICS
|
||||||
#include "kinematics.h"
|
#include "kinematics.h"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Be sure to change to N_AXIS 6 in nuts_bolts.h
|
||||||
|
|
||||||
// stepper motors
|
// stepper motors
|
||||||
#define USE_RMT_STEPS
|
#define USE_RMT_STEPS
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
// Axis array index values. Must start with 0 and be continuous.
|
// Axis array index values. Must start with 0 and be continuous.
|
||||||
// Note: You set the number of axes used by changing N_AXIS.
|
// Note: You set the number of axes used by changing N_AXIS.
|
||||||
// Be sure to define pins or servos in cpu_map.h
|
// Be sure to define pins or servos in cpu_map.h
|
||||||
#define N_AXIS 6 // Number of axes defined
|
#define N_AXIS 3 // Number of axes defined
|
||||||
#define X_AXIS 0 // Axis indexing value.
|
#define X_AXIS 0 // Axis indexing value.
|
||||||
#define Y_AXIS 1
|
#define Y_AXIS 1
|
||||||
#define Z_AXIS 2
|
#define Z_AXIS 2
|
||||||
|
Reference in New Issue
Block a user