From d8c478dec5d0c2205a6f9e4b1d369a50e877b4c4 Mon Sep 17 00:00:00 2001 From: Terje Io Date: Wed, 20 Nov 2024 19:12:33 +0100 Subject: [PATCH] Added support for "assorted small plugins". --- main/CMakeLists.txt | 3 ++- main/my_machine.h | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 15bbd91..6a4818b 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -207,12 +207,13 @@ set(LASER_SOURCE set(MISC_PLUGINS_SOURCE plugins/bltouch.c plugins/eventout.c + plugins/feed_override_m220.c + plugins/homing_pulloff.c plugins/pwm_servo_m280.c plugins/rgb_led_m150.c plugins/rgb_led_strips.c ) - set(EMBROIDERY_SOURCE embroidery/embroidery.c embroidery/brother.c diff --git a/main/my_machine.h b/main/my_machine.h index 7fa86cd..da05137 100644 --- a/main/my_machine.h +++ b/main/my_machine.h @@ -60,7 +60,7 @@ //#define SPINDLE3_ENABLE SPINDLE_NONE //#define SPINDLE_OFFSET 1 // Uncomment to enable settings for laser spindle XY-offset. // ********************** -//#define MODBUS_ENABLE 1 // Set to 1 for auto direction, 2 for direction signal on auxillary output pin. +//#define MODBUS_ENABLE 1 // Set to 1 for auto direction, 2 for direction signal on auxiliary output pin. //#define WEBUI_ENABLE 3 // Enable ESP3D-WEBUI plugin along with networking and SD card plugins. //#define WEBUI_AUTH_ENABLE 1 // Enable ESP3D-WEBUI authentication. //#define WIFI_ENABLE 1 // @@ -85,10 +85,13 @@ //#define EEPROM_IS_FRAM 1 // Uncomment when EEPROM is enabled and chip is FRAM, this to remove write delay. #define ESTOP_ENABLE 0 // When enabled only real-time report requests will be executed when the reset pin is asserted. // NOTE: if left commented out the default setting is determined from COMPATIBILITY_LEVEL. -//#define RGB_LED_ENABLE 2 // Set to 1 to enable strip length settings $536 and $537, set to 2 to also enable M150 LED strip control. -//#define PWM_SERVO_ENABLE 1 // Enable PWM servo support, requires at least one PWM capable auxillary output. -//#define BLTOUCH_ENABLE 1 // Enable BLTouch support. Requires and claims one PWM servo output. -//#define EVENTOUT_ENABLE 1 // Enable binding events (triggers) to control auxillary outputs. +//#define RGB_LED_ENABLE 2 // Set to 1 to enable strip length settings $536 and $537, set to 2 to also enable M150 LED strip control. +//#define PWM_SERVO_ENABLE 1 // Enable M280 PWM servo support, requires at least one PWM capable auxiliary output. +//#define BLTOUCH_ENABLE 1 // Enable M401/M402 BLTouch support. Requires and claims one auxiliary PWM servo output. +//#define EVENTOUT_ENABLE 1 // Enable binding events (triggers) to control auxiliary outputs. +//#define ESP_AT_ENABLE 1 // Enable support for Telnet communication via UART connected ESP32 running ESP-AT. +//#define FEED_OVERRIDE_ENABLE 1 // Enable M200 feed override control. +//#define HOMING_PULLOFF_ENABLE 1 // Enable per axis homing pulloff distance settings. // Optional control signals: // These will be assigned to aux input pins. Use the $pins command to check which pins are assigned. @@ -118,7 +121,6 @@ //#define Z_GANGED_LIM_MAX 1 // - #if WIFI_ENABLE || ETHERNET_ENABLE || WEBUI_ENABLE #define TELNET_ENABLE 1 // Telnet daemon - requires WiFi streaming enabled. //#define WEBSOCKET_ENABLE 1 // Websocket daemon - requires WiFi streaming enabled.