ESP32: Compiling - Paciente8159/uCNC GitHub Wiki

µCNC for ESP32 can be built this way

Method one - PlatformIO (preferred)

  1. Get Visual Studio Code and install it.
  2. Install the PlatformIO extension.
  3. Open uCNC folder in VSCode.
  4. Edit cnc_config.h file and cnc_hal_config.h file to fit your needs and board.
  5. If needed edit the platformio.ini file environment for your board. Compile the sketch and upload it to your board.

Method two - Arduino IDE (easiest)

  1. Get Arduino IDE and install it.
  2. If you don't have install ESP32 for Arduino with Arduino board manager has explained here
  3. Go to uCNC folder and open uCNC.ino sketch.
  4. Edit cnc_config.h file and cnc_hal_config.h file to fit your needs and board.
  5. Compile the sketch and upload it to your board (via maple bootloader or other method).