From d9407e3374a885918597970b8f7d7fd3af7afa1f Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:24:06 -0400 Subject: [PATCH 1/8] Uppercase USE_A4988_STEPPER --- sonoff/xdrv_25_A4988_Stepper.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/xdrv_25_A4988_Stepper.ino b/sonoff/xdrv_25_A4988_Stepper.ino index f80cc1a81..99bcde51b 100644 --- a/sonoff/xdrv_25_A4988_Stepper.ino +++ b/sonoff/xdrv_25_A4988_Stepper.ino @@ -18,7 +18,7 @@ along with this program. If not, see . */ -#ifdef USE_A4988_Stepper +#ifdef USE_A4988_STEPPER #include #define XDRV_25 25 From 7e33dfb18b82903b653032e1e009687131f6d304 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:28:09 -0400 Subject: [PATCH 2/8] Uppercase USE_A4988_STEPPER --- sonoff/sonoff_post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/sonoff_post.h b/sonoff/sonoff_post.h index c25b961c3..aea346dba 100644 --- a/sonoff/sonoff_post.h +++ b/sonoff/sonoff_post.h @@ -268,7 +268,7 @@ char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, c #undef USE_RF_SENSOR // Disable support for RF sensor receiver (434MHz or 868MHz) (+0k8 code) #undef USE_SM16716 // Disable support for SM16716 RGB LED controller (+0k7 code) #undef USE_HRE // Disable support for Badger HR-E Water Meter (+1k4 code) -#undef USE_A4988_Stepper // Disable support for A4988_Stepper +#undef USE_A4988_STEPPER // Disable support for A4988_Stepper #undef DEBUG_THEO // Disable debug code #undef USE_DEBUG_DRIVER // Disable debug code #endif // FIRMWARE_CLASSIC From f458e3ac36c6cf5f7765021e0d3f7b44db2ffcc1 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:30:04 -0400 Subject: [PATCH 3/8] Uppercase USE_A4988_STEPPER --- sonoff/support_features.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/support_features.ino b/sonoff/support_features.ino index 0589433f7..07a70ab17 100644 --- a/sonoff/support_features.ino +++ b/sonoff/support_features.ino @@ -444,7 +444,7 @@ void GetFeatures(void) #ifdef USE_INA226 feature5 |= 0x00000010; // xsns_54_ina226.ino #endif -#ifdef USE_A4988_Stepper +#ifdef USE_A4988_STEPPER feature5 |= 0x00000020; // xdrv_25_A4988.ino #endif #ifdef USE_DDS2382 From 08ccf63a37bf2788f7f0917d6984587d0b638c04 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:31:10 -0400 Subject: [PATCH 4/8] Uppercase USE_A4988_STEPPER --- tools/decode-status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/decode-status.py b/tools/decode-status.py index 92437b864..39e2b96e3 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -170,7 +170,7 @@ a_features = [[ "USE_MAX31865","USE_CHIRP","USE_SOLAX_X1","USE_PAJ7620" ],[ "USE_BUZZER","USE_RDM6300","USE_IBEACON","USE_SML_M", - "USE_INA226","USE_A4988_Stepper","USE_DDS2382","USE_SM2135", + "USE_INA226","USE_A4988_STEPPER","USE_DDS2382","USE_SM2135", "USE_SHUTTER","USE_PCF8574","USE_DDSU666","USE_DEEPSLEEP", "USE_SONOFF_SC","USE_SONOFF_RF","","", "","","","", From 67e96e761d9ccb5afaf0f18fe7110fbcf78d7cb0 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:32:00 -0400 Subject: [PATCH 5/8] Uppercase USE_A4988_STEPPER --- sonoff/my_user_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index 5cb920bee..ccd93af71 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -541,7 +541,7 @@ // #define USE_ALECTO_V2 // Add support for decoding Alecto V2 sensors like ACH2010, WS3000 and DKW2012 weather stations using 868MHz RF sensor receiver (+1k7 code) //#define USE_HRE // Add support for Badger HR-E Water Meter (+1k4 code) -//#define USE_A4988_Stepper // Add support for A4988 stepper-motor-driver-circuit (+10k5 code) +//#define USE_A4988_STEPPER // Add support for A4988 stepper-motor-driver-circuit (+10k5 code) /*********************************************************************************************\ * Debug features From 0b3e41d2765ccde6405f3171f42afe4dfe04151a Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:33:37 -0400 Subject: [PATCH 6/8] Uppercase USE_A4988_STEPPER --- sonoff/i18n.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/i18n.h b/sonoff/i18n.h index cee36cd89..96f4db54e 100644 --- a/sonoff/i18n.h +++ b/sonoff/i18n.h @@ -473,7 +473,7 @@ #define D_CMND_ZIGBEE_PROBE "ZigbeeProbe" // Commands xdrv_25_A4988_Stepper.ino - #ifdef USE_A4988_Stepper + #ifdef USE_A4988_STEPPER #define D_CMND_MOTOR "MOTOR" #define D_JSON_MOTOR_MOVE "doMove" #define D_JSON_MOTOR_ROTATE "doRotate" From a5683156ce1b0678e31b8be1a0e768d2596c78eb Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:34:35 -0400 Subject: [PATCH 7/8] Uppercase USE_A4988_STEPPER --- sonoff/sonoff_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index 3061ae366..0af77e6b3 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -731,7 +731,7 @@ const uint8_t kGpioNiceList[] PROGMEM = { GPIO_HRE_CLOCK, GPIO_HRE_DATA, #endif -#ifdef USE_A4988_Stepper +#ifdef USE_A4988_STEPPER GPIO_A4988_DIR, // A4988 direction pin GPIO_A4988_STP, // A4988 step pin // folowing are not mandatory From 4840861ced8b4bbe6af38d83755004dd8ca28e7a Mon Sep 17 00:00:00 2001 From: andrethomas2 <43345003+andrethomas2@users.noreply.github.com> Date: Tue, 15 Oct 2019 20:49:02 +0200 Subject: [PATCH 8/8] Include mention of DRV8825 --- sonoff/my_user_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index ccd93af71..49fd91dc7 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -541,7 +541,7 @@ // #define USE_ALECTO_V2 // Add support for decoding Alecto V2 sensors like ACH2010, WS3000 and DKW2012 weather stations using 868MHz RF sensor receiver (+1k7 code) //#define USE_HRE // Add support for Badger HR-E Water Meter (+1k4 code) -//#define USE_A4988_STEPPER // Add support for A4988 stepper-motor-driver-circuit (+10k5 code) +//#define USE_A4988_STEPPER // Add support for A4988/DRV8825 stepper-motor-driver-circuit (+10k5 code) /*********************************************************************************************\ * Debug features