Trying to alter these settings on Grbl-ESP32

Hope someone can be if help here. I’m tinkering with an ESP32 board and a cnc shield based upon a blog I read here:
https://embeddedtronicsblog.wordpress.com/2018/12/10/esp32-grbl/
There are however a number of settings that I just cannot find, could someone point me in the right direction please?
They are:
#define X_STEP_PIN GPIO_NUM_26

#define Y_STEP_PIN GPIO_NUM_25

#define Z_STEP_PIN GPIO_NUM_17

#define X_DIRECTION_PIN GPIO_NUM_16

#define Y_DIRECTION_PIN GPIO_NUM_27

#define Z_DIRECTION_PIN GPIO_NUM_14

SPINDLE_PWM_MAX_VALUE = 13bits (8192)

#define SPINDLE_PWM_BASE_FREQ 5000 // Hz

#define SPINDLE_PWM_BIT_PRECISION 8 // be sure to match this with SPINDLE_PWM_MAX_VALUE

#define SPINDLE_PWM_OFF_VALUE 0

#define SPINDLE_PWM_MAX_VALUE 255 // (2^SPINDLE_PWM_BIT_PRECISION)

#ifndef SPINDLE_PWM_MIN_VALUE

#define SPINDLE_PWM_MIN_VALUE 1 // Must be greater than zero.

#endif

#define SPINDLE_PWM_RANGE (SPINDLE_PWM_MAX_VALUE-SPINDLE_PWM_MIN_VALUE)

#define X_LIMIT_PIN GPIO_NUM_13

#define Y_LIMIT_PIN GPIO_NUM_5

#define Z_LIMIT_PIN GPIO_NUM_23

#define LIMIT_MASK B111

#define PROBE_PIN GPIO_NUM_36

#define CONTROL_RESET_PIN GPIO_NUM_2 // needs external pullup

#define CONTROL_FEED_HOLD_PIN GPIO_NUM_4 // needs external pullup

#define CONTROL_CYCLE_START_PIN GPIO_NUM_35 // needs external pullup

#endif

Grbl_Esp32/cpu_map.h is where you define the pin mappings.

Hi Michael and thanks for the reply.
Yeah I put my glasses on and found them amidst all the comments!
I’m struggling to compile though. I keep getting lots of library errors, almost a conflict of locations.
I’ve downloaded the Grbl-Esp32Main folder to my desktop, unzipped, amended files as necessary, added new board to the library but I’m struggling as to which folders do I copy and to where?
If you could help with that it would be a huge step forward.

Many thanks.

It needs to be compiled not copied. I haven’t touched Grbl_Esp32 for a long time. The README.md tells you how to compile with the Arduino IDE, or you can download the platformio IDE and build it with platformio. I built on Linux, almost certainly using the platformio command line, which I suspect is definitely not what you want, so I couldn’t give you step-by-step help here, sorry!

I’ve sorted it thanks Michael. Being UK based there is an absolute absence of 32 bit laser control boards so I’m trying to copy/cobble some things together but I may as well try and plait smoke!

1 Like