diff --git a/driver.json b/driver.json index ed49a33..2da6c47 100644 --- a/driver.json +++ b/driver.json @@ -279,6 +279,24 @@ "bluetooth": 1 } }, + { + "name": "Jackpot", + "symbol": "BOARD_XPRO_V5", + "comment": "Not tested!" + "URL": "https://docs.v1e.com/electronics/jackpot/", + "MAP": "main/boards/jackpot.h", + "caps": { + "axes": 4, + "digital_in": 0, + "digital_out": 1, + "serial_ports": 2, + "sdcard": 1, + "trinamic": 2209, + "trinamic_uart_addr": 1 + "wifi": 1, + "bluetooth": 1 + } + }, { "name": "CNC BoosterPack", "symbol": "BOARD_CNC_BOOSTERPACK", diff --git a/main/boards/jackpot_map.h b/main/boards/jackpot_map.h index 3076481..02be479 100644 --- a/main/boards/jackpot_map.h +++ b/main/boards/jackpot_map.h @@ -83,6 +83,8 @@ // Define driver spindle pins +#define AUXOUTPUT0_PIN GPIO_NUM_27 + #if DRIVER_SPINDLE_PWM_ENABLE #define SPINDLE_PWM_PIN GPIO_NUM_26 #else @@ -116,16 +118,12 @@ #define PROBE_PIN AUXINPUT0_PIN #endif -#define AUXOUTPUT0_PIN GPIO_NUM_26 -#define AUXOUTPUT1_PIN GPIO_NUM_27 - // Pin mapping when using SPI mode. // With this mapping, SD card can be used both in SPI and 1-line SD mode. // Note that a pull-up on CS line is required in SD mode. #define PIN_NUM_MISO GPIO_NUM_19 #define PIN_NUM_MOSI GPIO_NUM_23 #define PIN_NUM_CLK GPIO_NUM_18 -#define MOTOR_CS_PIN GPIO_NUM_17 #if SDCARD_ENABLE #define PIN_NUM_CS GPIO_NUM_5 #endif diff --git a/main/driver.h b/main/driver.h index 891899c..8e71edf 100644 --- a/main/driver.h +++ b/main/driver.h @@ -146,6 +146,8 @@ typedef struct { #include "boards/blox_map.h" #elif defined(BOARD_CNC3040) #include "boards/cnc3040_map.h" +#elif defined(BOARD_JACKPOT) + #include "boards/jackpot_map.h" #elif defined(BOARD_MY_MACHINE) #include "boards/my_machine_map.h" #elif defined(BOARD_GENERIC_I2S_S3) diff --git a/main/my_machine.h b/main/my_machine.h index 961064e..aa62bf4 100644 --- a/main/my_machine.h +++ b/main/my_machine.h @@ -35,6 +35,7 @@ //#define BOARD_BLACKBOX_X32 // NOTE: Enable in CMakeLists.txt to set board specific defaults for the core! //#define BOARD_ROOTCNC_V2 // //#define BOARD_ROOTCNC_V3 // +//#define BOARD_JACKPOT // Uses TMC2209 drivers, untested! //#define BOARD_CNC_BOOSTERPACK // //#define BOARD_GENERIC_I2S_S3 // Generic map for ESP32-S3 with I2S shift registers for I/O expansion //#define BOARD_MY_MACHINE // Add my_machine_map.h in the boards directory before enabling this!