Skip to content

Commit

Permalink
Added Jackpot board
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Apr 2, 2024
1 parent 6fb5a04 commit 831ddaa
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions driver.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 2 additions & 4 deletions main/boards/jackpot_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions main/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions main/my_machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 831ddaa

Please sign in to comment.