grblHAL core  20241107
driver_opts.h File Reference
#include "hal.h"
#include "nuts_bolts.h"

Go to the source code of this file.

Macros

#define X_GANGED   0
 
#define X_AUTO_SQUARE   0
 
#define Y_GANGED   0
 
#define Y_AUTO_SQUARE   0
 
#define Z_GANGED   0
 
#define Z_AUTO_SQUARE   0
 
#define X_GANGED_LIM_MAX   0
 
#define Y_GANGED_LIM_MAX   0
 
#define Z_GANGED_LIM_MAX   0
 
#define N_GANGED   (X_GANGED + Y_GANGED + Z_GANGED)
 
#define N_AUTO_SQUARED   (X_AUTO_SQUARE + Y_AUTO_SQUARE + Z_AUTO_SQUARE)
 
#define N_ABC_MOTORS   (N_ABC_AXIS + N_GANGED)
 
#define PROBE_ENABLE   1
 
#define NEOPIXELS_ENABLE   0
 
#define USB_SERIAL_CDC   0
 
#define USB_SERIAL_WAIT   0
 
#define SERIAL_STREAM   0
 
#define MACROS_ENABLE   0
 
#define KEYPAD_ENABLE   0
 
#define I2C_STROBE_ENABLE   0
 
#define MPG_ENABLE   0
 
#define EEPROM_ENABLE   0
 
#define EEPROM_IS_FRAM   0
 
#define I2C_ENABLE   0
 
#define SPINDLE_SYNC_ENABLE   0
 
#define SPINDLE_ENCODER_ENABLE   0
 
#define TRINAMIC_ENABLE   0
 
#define TRINAMIC_UART_ENABLE   0
 
#define TRINAMIC_SPI_ENABLE   0
 
#define TRINAMIC_I2C   0
 
#define TRINAMIC_MOTOR_ENABLE   0
 
#define TRINAMIC_DEV   0
 
#define LITTLEFS_ENABLE   0
 
#define PWM_RAMPED   0
 
#define PLASMA_ENABLE   0
 
#define PPI_ENABLE   0
 
#define SPINDLE0_ENABLE   SPINDLE_PWM0
 
#define SPINDLE1_ENABLE   0
 
#define SPINDLE2_ENABLE   0
 
#define SPINDLE3_ENABLE   0
 
#define SPINDLE_ENABLE   ((1<<SPINDLE0_ENABLE)|(1<<SPINDLE1_ENABLE)|(1<<SPINDLE2_ENABLE)|(1<<SPINDLE3_ENABLE))
 
#define DRIVER_SPINDLE_ENABLE   1
 
#define DRIVER_SPINDLE_DIR_ENABLE   1
 
#define DRIVER_SPINDLE_PWM_ENABLE   1
 
#define DRIVER_SPINDLE_NAME   "PWM"
 
#define DRIVER_SPINDLE1_ENABLE   0
 
#define DRIVER_SPINDLE1_DIR_ENABLE   0
 
#define DRIVER_SPINDLE1_PWM_ENABLE   0
 
#define VFD_ENABLE   0
 
#define MODBUS_RTU_ENABLED   0b001
 
#define MODBUS_RTU_DIR_ENABLED   0b010
 
#define MODBUS_TCP_ENABLED   0b100
 
#define MODBUS_ENABLE   0
 
#define STEP_INJECT_ENABLE   0
 
#define QEI_ENABLE   0
 
#define QEI_SELECT_ENABLE   0
 
#define ODOMETER_ENABLE   0
 
#define OPENPNP_ENABLE   0
 
#define FANS_ENABLE   0
 
#define LIMITS_OVERRIDE_ENABLE   0
 
#define BLUETOOTH_ENABLE   0
 
#define SAFETY_DOOR_ENABLE   0
 
#define PROBE_DISCONNECT_ENABLE   0
 
#define STOP_DISABLE_ENABLE   0
 
#define BLOCK_DELETE_ENABLE   0
 
#define SINGLE_BLOCK_ENABLE   0
 
#define MOTOR_FAULT_ENABLE   0
 
#define MOTOR_WARNING_ENABLE   0
 
#define ESTOP_ENABLE   1
 
#define WIFI_ENABLE   0
 
#define WEBUI_ENABLE   0
 
#define WEBUI_AUTH_ENABLE   0
 
#define WEBUI_INFLASH   0
 
#define ETHERNET_ENABLE   0
 
#define TELNET_ENABLE   0
 
#define HTTP_ENABLE   0
 
#define WEBSOCKET_ENABLE   0
 
#define FTP_ENABLE   0
 
#define MDNS_ENABLE   0
 
#define SSDP_ENABLE   0
 
#define MQTT_ENABLE   0
 
#define SDCARD_ENABLE   0
 
#define SPI_ENABLE   0
 

Macro Definition Documentation

◆ BLOCK_DELETE_ENABLE

#define BLOCK_DELETE_ENABLE   0

◆ BLUETOOTH_ENABLE

#define BLUETOOTH_ENABLE   0

◆ DRIVER_SPINDLE1_DIR_ENABLE

#define DRIVER_SPINDLE1_DIR_ENABLE   0

◆ DRIVER_SPINDLE1_ENABLE

#define DRIVER_SPINDLE1_ENABLE   0

◆ DRIVER_SPINDLE1_PWM_ENABLE

#define DRIVER_SPINDLE1_PWM_ENABLE   0

◆ DRIVER_SPINDLE_DIR_ENABLE

#define DRIVER_SPINDLE_DIR_ENABLE   1

◆ DRIVER_SPINDLE_ENABLE

#define DRIVER_SPINDLE_ENABLE   1

◆ DRIVER_SPINDLE_NAME

#define DRIVER_SPINDLE_NAME   "PWM"

◆ DRIVER_SPINDLE_PWM_ENABLE

#define DRIVER_SPINDLE_PWM_ENABLE   1

◆ EEPROM_ENABLE

#define EEPROM_ENABLE   0

◆ EEPROM_IS_FRAM

#define EEPROM_IS_FRAM   0

◆ ESTOP_ENABLE

#define ESTOP_ENABLE   1

◆ ETHERNET_ENABLE

#define ETHERNET_ENABLE   0

◆ FANS_ENABLE

#define FANS_ENABLE   0

◆ FTP_ENABLE

#define FTP_ENABLE   0

◆ HTTP_ENABLE

#define HTTP_ENABLE   0

◆ I2C_ENABLE

#define I2C_ENABLE   0

◆ I2C_STROBE_ENABLE

#define I2C_STROBE_ENABLE   0

◆ KEYPAD_ENABLE

#define KEYPAD_ENABLE   0

◆ LIMITS_OVERRIDE_ENABLE

#define LIMITS_OVERRIDE_ENABLE   0

◆ LITTLEFS_ENABLE

#define LITTLEFS_ENABLE   0

◆ MACROS_ENABLE

#define MACROS_ENABLE   0

◆ MDNS_ENABLE

#define MDNS_ENABLE   0

◆ MODBUS_ENABLE

#define MODBUS_ENABLE   0

◆ MODBUS_RTU_DIR_ENABLED

#define MODBUS_RTU_DIR_ENABLED   0b010

◆ MODBUS_RTU_ENABLED

#define MODBUS_RTU_ENABLED   0b001

◆ MODBUS_TCP_ENABLED

#define MODBUS_TCP_ENABLED   0b100

◆ MOTOR_FAULT_ENABLE

#define MOTOR_FAULT_ENABLE   0

◆ MOTOR_WARNING_ENABLE

#define MOTOR_WARNING_ENABLE   0

◆ MPG_ENABLE

#define MPG_ENABLE   0

◆ MQTT_ENABLE

#define MQTT_ENABLE   0

◆ N_ABC_MOTORS

#define N_ABC_MOTORS   (N_ABC_AXIS + N_GANGED)

◆ N_AUTO_SQUARED

#define N_AUTO_SQUARED   (X_AUTO_SQUARE + Y_AUTO_SQUARE + Z_AUTO_SQUARE)

◆ N_GANGED

#define N_GANGED   (X_GANGED + Y_GANGED + Z_GANGED)

◆ NEOPIXELS_ENABLE

#define NEOPIXELS_ENABLE   0

◆ ODOMETER_ENABLE

#define ODOMETER_ENABLE   0

◆ OPENPNP_ENABLE

#define OPENPNP_ENABLE   0

◆ PLASMA_ENABLE

#define PLASMA_ENABLE   0

◆ PPI_ENABLE

#define PPI_ENABLE   0

◆ PROBE_DISCONNECT_ENABLE

#define PROBE_DISCONNECT_ENABLE   0

◆ PROBE_ENABLE

#define PROBE_ENABLE   1

◆ PWM_RAMPED

#define PWM_RAMPED   0

◆ QEI_ENABLE

#define QEI_ENABLE   0

◆ QEI_SELECT_ENABLE

#define QEI_SELECT_ENABLE   0

◆ SAFETY_DOOR_ENABLE

#define SAFETY_DOOR_ENABLE   0

◆ SDCARD_ENABLE

#define SDCARD_ENABLE   0

◆ SERIAL_STREAM

#define SERIAL_STREAM   0

◆ SINGLE_BLOCK_ENABLE

#define SINGLE_BLOCK_ENABLE   0

◆ SPI_ENABLE

#define SPI_ENABLE   0

◆ SPINDLE0_ENABLE

#define SPINDLE0_ENABLE   SPINDLE_PWM0

◆ SPINDLE1_ENABLE

#define SPINDLE1_ENABLE   0

◆ SPINDLE2_ENABLE

#define SPINDLE2_ENABLE   0

◆ SPINDLE3_ENABLE

#define SPINDLE3_ENABLE   0

◆ SPINDLE_ENABLE

#define SPINDLE_ENABLE   ((1<<SPINDLE0_ENABLE)|(1<<SPINDLE1_ENABLE)|(1<<SPINDLE2_ENABLE)|(1<<SPINDLE3_ENABLE))

◆ SPINDLE_ENCODER_ENABLE

#define SPINDLE_ENCODER_ENABLE   0

◆ SPINDLE_SYNC_ENABLE

#define SPINDLE_SYNC_ENABLE   0

◆ SSDP_ENABLE

#define SSDP_ENABLE   0

◆ STEP_INJECT_ENABLE

#define STEP_INJECT_ENABLE   0

◆ STOP_DISABLE_ENABLE

#define STOP_DISABLE_ENABLE   0

◆ TELNET_ENABLE

#define TELNET_ENABLE   0

◆ TRINAMIC_DEV

#define TRINAMIC_DEV   0

◆ TRINAMIC_ENABLE

#define TRINAMIC_ENABLE   0

◆ TRINAMIC_I2C

#define TRINAMIC_I2C   0

◆ TRINAMIC_MOTOR_ENABLE

#define TRINAMIC_MOTOR_ENABLE   0

◆ TRINAMIC_SPI_ENABLE

#define TRINAMIC_SPI_ENABLE   0

◆ TRINAMIC_UART_ENABLE

#define TRINAMIC_UART_ENABLE   0

◆ USB_SERIAL_CDC

#define USB_SERIAL_CDC   0

◆ USB_SERIAL_WAIT

#define USB_SERIAL_WAIT   0

◆ VFD_ENABLE

#define VFD_ENABLE   0

◆ WEBSOCKET_ENABLE

#define WEBSOCKET_ENABLE   0

◆ WEBUI_AUTH_ENABLE

#define WEBUI_AUTH_ENABLE   0

◆ WEBUI_ENABLE

#define WEBUI_ENABLE   0

◆ WEBUI_INFLASH

#define WEBUI_INFLASH   0

◆ WIFI_ENABLE

#define WIFI_ENABLE   0

◆ X_AUTO_SQUARE

#define X_AUTO_SQUARE   0

◆ X_GANGED

#define X_GANGED   0

◆ X_GANGED_LIM_MAX

#define X_GANGED_LIM_MAX   0

◆ Y_AUTO_SQUARE

#define Y_AUTO_SQUARE   0

◆ Y_GANGED

#define Y_GANGED   0

◆ Y_GANGED_LIM_MAX

#define Y_GANGED_LIM_MAX   0

◆ Z_AUTO_SQUARE

#define Z_AUTO_SQUARE   0

◆ Z_GANGED

#define Z_GANGED   0

◆ Z_GANGED_LIM_MAX

#define Z_GANGED_LIM_MAX   0