Browse Source

FYSETC BLTouch config and more (#14668)

Scott Lahteine 5 years ago
parent
commit
1ea9a36d11
No account linked to committer's email address

+ 5
- 2
Marlin/src/lcd/dogm/HAL_LCD_com_defines.h View File

@@ -37,9 +37,12 @@
37 37
     uint8_t u8g_com_HAL_STM32F1_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
38 38
     #define U8G_COM_HAL_SW_SPI_FN u8g_com_HAL_STM32F1_sw_spi_fn
39 39
     uint8_t u8g_com_arduino_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
40
-    #define U8G_COM_HAL_HW_SPI_FN u8g_com_arduino_hw_spi_fn
40
+    //#define U8G_COM_HAL_HW_SPI_FN u8g_com_arduino_hw_spi_fn
41
+    #define U8G_COM_HAL_HW_SPI_FN u8g_com_stm32duino_hw_spi_fn
41 42
     uint8_t u8g_com_arduino_st7920_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
42
-    #define U8G_COM_ST7920_HAL_SW_SPI u8g_com_arduino_st7920_spi_fn
43
+    //#define U8G_COM_ST7920_HAL_SW_SPI u8g_com_arduino_st7920_spi_fn
44
+    #define U8G_COM_ST7920_HAL_SW_SPI u8g_com_std_sw_spi_fn
45
+    #define U8G_COM_ST7920_HAL_HW_SPI u8g_com_stm32duino_hw_spi_fn
43 46
   #elif defined(ARDUINO_ARCH_STM32)
44 47
     uint8_t u8g_com_arduino_std_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
45 48
     #define U8G_COM_HAL_SW_SPI_FN u8g_com_arduino_std_sw_spi_fn

+ 11
- 5
Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp View File

@@ -42,11 +42,17 @@
42 42
 // Optimize this code with -O3
43 43
 #pragma GCC optimize (3)
44 44
 
45
-#define ST7920_SND_BIT \
46
-  WRITE(ST7920_CLK_PIN, LOW);        ST7920_DELAY_1; \
47
-  WRITE(ST7920_DAT_PIN, val & 0x80); ST7920_DELAY_2; \
48
-  WRITE(ST7920_CLK_PIN, HIGH);       ST7920_DELAY_3; \
49
-  val <<= 1
45
+
46
+#ifdef ARDUINO_ARCH_STM32F1
47
+  #define ST7920_DAT(V) !!((V) & 0x80)
48
+#else
49
+  #define ST7920_DAT(V) ((V) & 0x80)
50
+#endif
51
+#define ST7920_SND_BIT do{ \
52
+  WRITE(ST7920_CLK_PIN, LOW);             ST7920_DELAY_1; \
53
+  WRITE(ST7920_DAT_PIN, ST7920_DAT(val)); ST7920_DELAY_2; \
54
+  WRITE(ST7920_CLK_PIN, HIGH);            ST7920_DELAY_3; \
55
+  val <<= 1; }while(0)
50 56
 
51 57
 // Optimize this code with -O3
52 58
 #pragma GCC optimize (3)

+ 5
- 3
Marlin/src/pins/stm32/pins_FYSETC_AIO_II.h View File

@@ -28,6 +28,8 @@
28 28
 #define BOARD_NAME        "FYSETC AIO II"
29 29
 #define BOARD_WEBSITE_URL "https://fysetc.com"
30 30
 
31
+#define DISABLE_JTAG
32
+
31 33
 #define pins_v2_20190128   // geo-f:add for new pins define
32 34
 
33 35
 // Ignore temp readings during development.
@@ -77,11 +79,11 @@
77 79
 //
78 80
 
79 81
 // X:PA2 Y:PA3 Z:PB12 E:PB13 // changed for test
80
-#define MOTOR_CURRENT_PWM_XY_PIN PA3
81
-#define MOTOR_CURRENT_PWM_Z_PIN  PA2 // PB12
82
+//#define MOTOR_CURRENT_PWM_XY_PIN PA3
83
+//#define MOTOR_CURRENT_PWM_Z_PIN  PA2 // PB12
82 84
 //#define MOTOR_CURRENT_PWM_XY_PIN PB6
83 85
 //#define MOTOR_CURRENT_PWM_Z_PIN  PB7 // PB12
84
-#define MOTOR_CURRENT_PWM_E_PIN  -1  // PB13
86
+//#define MOTOR_CURRENT_PWM_E_PIN  -1  // PB13
85 87
 // Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
86 88
 #ifndef MOTOR_CURRENT_PWM_RANGE
87 89
   #define MOTOR_CURRENT_PWM_RANGE 1500 // geo-f:old 2000

+ 3
- 1
Marlin/src/pins/stm32/pins_FYSETC_CHEETAH.h View File

@@ -33,6 +33,8 @@
33 33
 // Ignore temp readings during development.
34 34
 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
35 35
 
36
+#define DISABLE_JTAG
37
+
36 38
 //
37 39
 // Servos
38 40
 //
@@ -69,7 +71,7 @@
69 71
 #define E0_DIR_PIN         PC14
70 72
 #define E0_ENABLE_PIN      PC13
71 73
 
72
-#define X_HARDWARE_SERIAL  MSerial2   // Port correct?
74
+#define X_HARDWARE_SERIAL  MSerial2
73 75
 #define Y_HARDWARE_SERIAL  MSerial2
74 76
 #define Z_HARDWARE_SERIAL  MSerial2
75 77
 #define E0_HARDWARE_SERIAL MSerial2

+ 4
- 3
buildroot/share/PlatformIO/scripts/fysetc_STM32F1.py View File

@@ -26,9 +26,10 @@ env.AddPostAction(
26 26
 #)
27 27
 
28 28
 # In-line command with arguments
29
-#env.Replace(
30
-#    UPLOADCMD="executable -arg1 -arg2 $SOURCE"
31
-#)
29
+env.Replace(
30
+	UPLOADCMD="stm32flash -v -i rts,-dtr,dtr " + '$UPLOAD_PORT' + " -R -w $BUILD_DIR/${PROGNAME}.hex"
31
+)
32
+
32 33
 
33 34
 # Python callback
34 35
 #def on_upload(source, target, env):

+ 37
- 26
config/examples/FYSETC/AIO_II/Configuration.h View File

@@ -104,7 +104,7 @@
104 104
  *
105 105
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
106 106
  */
107
-#define SERIAL_PORT 1 // fzl:由于libmaple 0 用的是USB,1才是串口 old:0
107
+#define SERIAL_PORT 1 // libmaple 0 for USB ,1 for serial
108 108
 
109 109
 /**
110 110
  * Select a secondary serial port on the board to use for communication with the host.
@@ -148,7 +148,7 @@
148 148
 #define EXTRUDERS 1
149 149
 
150 150
 // Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
151
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
151
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
152 152
 
153 153
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
154 154
 //#define SINGLENOZZLE
@@ -466,10 +466,15 @@
466 466
 
467 467
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
468 468
 
469
+  // Makerlab J-head
470
+  #define  DEFAULT_Kp 21.73
471
+  #define  DEFAULT_Ki 1.54
472
+  #define  DEFAULT_Kd 76.55
473
+
469 474
   // Ultimaker
470
-  #define DEFAULT_Kp 22.2
471
-  #define DEFAULT_Ki 1.08
472
-  #define DEFAULT_Kd 114
475
+  //#define DEFAULT_Kp 22.2
476
+  //#define DEFAULT_Ki 1.08
477
+  //#define DEFAULT_Kd 114
473 478
 
474 479
   // MakerGear
475 480
   //#define DEFAULT_Kp 7.0
@@ -629,9 +634,9 @@
629 634
 #endif
630 635
 
631 636
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
632
-#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
633
-#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
634
-#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
637
+#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
638
+#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
639
+#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
635 640
 #define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
636 641
 #define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
637 642
 #define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
@@ -971,10 +976,10 @@
971 976
 
972 977
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
973 978
 // :{ 0:'Low', 1:'High' }
974
-#define X_ENABLE_ON 1
975
-#define Y_ENABLE_ON 1
976
-#define Z_ENABLE_ON 1
977
-#define E_ENABLE_ON 1 // For all extruders
979
+#define X_ENABLE_ON 0
980
+#define Y_ENABLE_ON 0
981
+#define Z_ENABLE_ON 0
982
+#define E_ENABLE_ON 0 // For all extruders
978 983
 
979 984
 // Disables axis stepper immediately when it's not being used.
980 985
 // WARNING: When motors turn off there is a chance of losing position accuracy!
@@ -993,14 +998,14 @@
993 998
 // @section machine
994 999
 
995 1000
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
996
-#define INVERT_X_DIR false
997
-#define INVERT_Y_DIR false
998
-#define INVERT_Z_DIR true
1001
+#define INVERT_X_DIR true
1002
+#define INVERT_Y_DIR true
1003
+#define INVERT_Z_DIR false
999 1004
 
1000 1005
 // @section extruder
1001 1006
 
1002 1007
 // For direct drive extruder v9 set to true, for geared extruder set to false.
1003
-#define INVERT_E0_DIR false
1008
+#define INVERT_E0_DIR true
1004 1009
 #define INVERT_E1_DIR false
1005 1010
 #define INVERT_E2_DIR false
1006 1011
 #define INVERT_E3_DIR false
@@ -1025,8 +1030,8 @@
1025 1030
 // @section machine
1026 1031
 
1027 1032
 // The size of the print bed
1028
-#define X_BED_SIZE 200
1029
-#define Y_BED_SIZE 200
1033
+#define X_BED_SIZE 235
1034
+#define Y_BED_SIZE 235
1030 1035
 
1031 1036
 // Travel limits (mm) after homing, corresponding to endstop positions.
1032 1037
 #define X_MIN_POS 0
@@ -1034,7 +1039,7 @@
1034 1039
 #define Z_MIN_POS 0
1035 1040
 #define X_MAX_POS X_BED_SIZE
1036 1041
 #define Y_MAX_POS Y_BED_SIZE
1037
-#define Z_MAX_POS 200
1042
+#define Z_MAX_POS 260
1038 1043
 
1039 1044
 /**
1040 1045
  * Software Endstops
@@ -1393,7 +1398,7 @@
1393 1398
  *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1394 1399
  *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1395 1400
  */
1396
-//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1401
+#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1397 1402
 //#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1398 1403
 #define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1399 1404
 #if ENABLED(EEPROM_SETTINGS)
@@ -1922,7 +1927,7 @@
1922 1927
 //
1923 1928
 //#define FYSETC_MINI_12864_X_X  // Type C/D/E/F. No tunable RGB Backlight by default
1924 1929
 //#define FYSETC_MINI_12864_1_2  // Type C/D/E/F. Simple RGB Backlight (always on)
1925
-//#define FYSETC_MINI_12864_2_0  // Type A/B. Discreet RGB Backlight
1930
+#define FYSETC_MINI_12864_2_0  // Type A/B. Discreet RGB Backlight
1926 1931
 //#define FYSETC_MINI_12864_2_1  // Type A/B. Neopixel RGB Backlight
1927 1932
 
1928 1933
 //
@@ -2117,14 +2122,14 @@
2117 2122
  * LED Type. Enable only one of the following two options.
2118 2123
  *
2119 2124
  */
2120
-//#define RGB_LED
2125
+#define RGB_LED
2121 2126
 //#define RGBW_LED
2122 2127
 
2123 2128
 #if EITHER(RGB_LED, RGBW_LED)
2124
-  //#define RGB_LED_R_PIN 34
2125
-  //#define RGB_LED_G_PIN 43
2126
-  //#define RGB_LED_B_PIN 35
2127
-  //#define RGB_LED_W_PIN -1
2129
+  #define RGB_LED_R_PIN PB0
2130
+  #define RGB_LED_G_PIN PB6
2131
+  #define RGB_LED_B_PIN PB7
2132
+  #define RGB_LED_W_PIN -1
2128 2133
 #endif
2129 2134
 
2130 2135
 // Support for Adafruit Neopixel LED driver
@@ -2181,3 +2186,9 @@
2181 2186
 
2182 2187
 // Allow servo angle to be edited and saved to EEPROM
2183 2188
 //#define EDITABLE_SERVO_ANGLES
2189
+
2190
+/**
2191
+ * Sometimes after inserting the SD card settings get lost.
2192
+ * This option reloads settings when the SD card is inserted.
2193
+ */
2194
+#define SD_RELOAD_SETTINGS

+ 11
- 11
config/examples/FYSETC/AIO_II/Configuration_adv.h View File

@@ -879,7 +879,7 @@
879 879
  * LED Control Menu
880 880
  * Enable this feature to add LED Control to the LCD menu
881 881
  */
882
-//#define LED_CONTROL_MENU
882
+#define LED_CONTROL_MENU
883 883
 #if ENABLED(LED_CONTROL_MENU)
884 884
   #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
885 885
   #if ENABLED(LED_COLOR_PRESETS)
@@ -912,7 +912,7 @@
912 912
 
913 913
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
914 914
 
915
-  #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")
915
+  #define EVENT_GCODE_SD_STOP "M21"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")
916 916
 
917 917
   /**
918 918
    * Continue after Power-Loss (Creality3D)
@@ -966,8 +966,8 @@
966 966
     #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
967 967
     #define SDSORT_USES_RAM    true  // Pre-allocate a static array for faster pre-sorting.
968 968
     #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
969
-    #define SDSORT_CACHE_NAMES false  // Keep sorted items in RAM longer for speedy performance. Most expensive option.
970
-    #define SDSORT_DYNAMIC_RAM true  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
969
+    #define SDSORT_CACHE_NAMES true  // Keep sorted items in RAM longer for speedy performance. Most expensive option.
970
+    #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
971 971
     #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
972 972
                                       // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
973 973
   #endif
@@ -1636,7 +1636,7 @@
1636 1636
   #define INTERPOLATE       true  // Interpolate X/Y/Z_MICROSTEPS to 256
1637 1637
 
1638 1638
   #if AXIS_IS_TMC(X)
1639
-    #define X_CURRENT     800  // (mA) RMS current. Multiply by 1.414 for peak current.
1639
+    #define X_CURRENT     700  // (mA) RMS current. Multiply by 1.414 for peak current.
1640 1640
     #define X_MICROSTEPS   16  // 0..256
1641 1641
     #define X_RSENSE     0.11
1642 1642
   #endif
@@ -1648,7 +1648,7 @@
1648 1648
   #endif
1649 1649
 
1650 1650
   #if AXIS_IS_TMC(Y)
1651
-    #define Y_CURRENT     800
1651
+    #define Y_CURRENT     650
1652 1652
     #define Y_MICROSTEPS   16
1653 1653
     #define Y_RSENSE     0.11
1654 1654
   #endif
@@ -1678,7 +1678,7 @@
1678 1678
   #endif
1679 1679
 
1680 1680
   #if AXIS_IS_TMC(E0)
1681
-    #define E0_CURRENT    800
1681
+    #define E0_CURRENT    650
1682 1682
     #define E0_MICROSTEPS  16
1683 1683
     #define E0_RSENSE    0.11
1684 1684
   #endif
@@ -1751,13 +1751,13 @@
1751 1751
    *       3 | HIGH | HIGH
1752 1752
    */
1753 1753
   #define  X_SLAVE_ADDRESS 0
1754
-  #define  Y_SLAVE_ADDRESS 0
1755
-  #define  Z_SLAVE_ADDRESS 0
1754
+  #define  Y_SLAVE_ADDRESS 1
1755
+  #define  Z_SLAVE_ADDRESS 2
1756 1756
   #define X2_SLAVE_ADDRESS 0
1757 1757
   #define Y2_SLAVE_ADDRESS 0
1758 1758
   #define Z2_SLAVE_ADDRESS 0
1759 1759
   #define Z3_SLAVE_ADDRESS 0
1760
-  #define E0_SLAVE_ADDRESS 0
1760
+  #define E0_SLAVE_ADDRESS 3
1761 1761
   #define E1_SLAVE_ADDRESS 0
1762 1762
   #define E2_SLAVE_ADDRESS 0
1763 1763
   #define E3_SLAVE_ADDRESS 0
@@ -1808,7 +1808,7 @@
1808 1808
    * M912 - Clear stepper driver overtemperature pre-warn condition flag.
1809 1809
    * M122 - Report driver parameters (Requires TMC_DEBUG)
1810 1810
    */
1811
-  //#define MONITOR_DRIVER_STATUS
1811
+  #define MONITOR_DRIVER_STATUS
1812 1812
 
1813 1813
   #if ENABLED(MONITOR_DRIVER_STATUS)
1814 1814
     #define CURRENT_STEP_DOWN     50  // [mA]

+ 2167
- 0
config/examples/FYSETC/Cheetah/BLTouch/Configuration.h
File diff suppressed because it is too large
View File


config/examples/FYSETC/Cheetah/Configuration_adv.h → config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h View File

@@ -906,13 +906,13 @@
906 906
 
907 907
   // Reverse SD sort to show "more recent" files first, according to the card's FAT.
908 908
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
909
-  #define SDCARD_RATHERRECENTFIRST
909
+  //#define SDCARD_RATHERRECENTFIRST
910 910
 
911 911
   #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
912 912
 
913 913
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
914 914
 
915
-  #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")
915
+  #define EVENT_GCODE_SD_STOP "M21"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")
916 916
 
917 917
   /**
918 918
    * Continue after Power-Loss (Creality3D)
@@ -1636,7 +1636,7 @@
1636 1636
   #define INTERPOLATE       true  // Interpolate X/Y/Z_MICROSTEPS to 256
1637 1637
 
1638 1638
   #if AXIS_IS_TMC(X)
1639
-    #define X_CURRENT     650  // (mA) RMS current. Multiply by 1.414 for peak current.
1639
+    #define X_CURRENT     700  // (mA) RMS current. Multiply by 1.414 for peak current.
1640 1640
     #define X_MICROSTEPS   16  // 0..256
1641 1641
     #define X_RSENSE     0.11
1642 1642
   #endif
@@ -1648,7 +1648,7 @@
1648 1648
   #endif
1649 1649
 
1650 1650
   #if AXIS_IS_TMC(Y)
1651
-    #define Y_CURRENT     650
1651
+    #define Y_CURRENT     500
1652 1652
     #define Y_MICROSTEPS   16
1653 1653
     #define Y_RSENSE     0.11
1654 1654
   #endif

config/examples/FYSETC/Cheetah/Configuration.h → config/examples/FYSETC/Cheetah/base/Configuration.h View File

@@ -104,7 +104,7 @@
104 104
  *
105 105
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
106 106
  */
107
-#define SERIAL_PORT 1 // libmaple USB 1, old:0
107
+#define SERIAL_PORT 1 // libmaple 0 for USB ,1 for serial
108 108
 
109 109
 /**
110 110
  * Select a secondary serial port on the board to use for communication with the host.
@@ -148,7 +148,7 @@
148 148
 #define EXTRUDERS 1
149 149
 
150 150
 // Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
151
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
151
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
152 152
 
153 153
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
154 154
 //#define SINGLENOZZLE
@@ -466,10 +466,15 @@
466 466
 
467 467
   // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
468 468
 
469
+  //PID for Makerlab J-head
470
+  #define  DEFAULT_Kp 21.73
471
+  #define  DEFAULT_Ki 1.54
472
+  #define  DEFAULT_Kd 76.55
473
+
469 474
   // Ultimaker
470
-  #define DEFAULT_Kp 22.2
471
-  #define DEFAULT_Ki 1.08
472
-  #define DEFAULT_Kd 114
475
+  //#define DEFAULT_Kp 22.2
476
+  //#define DEFAULT_Ki 1.08
477
+  //#define DEFAULT_Kd 114
473 478
 
474 479
   // MakerGear
475 480
   //#define DEFAULT_Kp 7.0
@@ -716,7 +721,7 @@
716 721
  * Override with M203
717 722
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
718 723
  */
719
-#define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
724
+#define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
720 725
 
721 726
 /**
722 727
  * Default Max Acceleration (change/s) change = mm/s
@@ -724,7 +729,7 @@
724 729
  * Override with M201
725 730
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
726 731
  */
727
-#define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
732
+#define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
728 733
 
729 734
 /**
730 735
  * Default Acceleration (change/s) change = mm/s
@@ -734,9 +739,9 @@
734 739
  *   M204 R    Retract Acceleration
735 740
  *   M204 T    Travel Acceleration
736 741
  */
737
-#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration for printing moves
738
-#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration for retracts
739
-#define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
742
+#define DEFAULT_ACCELERATION          500    // X, Y, Z and E acceleration for printing moves
743
+#define DEFAULT_RETRACT_ACCELERATION  500    // E acceleration for retracts
744
+#define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
740 745
 
741 746
 //
742 747
 // Use Junction Deviation instead of traditional Jerk Limiting
@@ -1034,7 +1039,7 @@
1034 1039
 #define Z_MIN_POS 0
1035 1040
 #define X_MAX_POS X_BED_SIZE
1036 1041
 #define Y_MAX_POS Y_BED_SIZE
1037
-#define Z_MAX_POS 250
1042
+#define Z_MAX_POS 260
1038 1043
 
1039 1044
 /**
1040 1045
  * Software Endstops
@@ -1393,7 +1398,7 @@
1393 1398
  *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1394 1399
  *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1395 1400
  */
1396
-//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1401
+#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1397 1402
 //#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1398 1403
 #define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1399 1404
 #if ENABLED(EEPROM_SETTINGS)
@@ -2181,3 +2186,9 @@
2181 2186
 
2182 2187
 // Allow servo angle to be edited and saved to EEPROM
2183 2188
 //#define EDITABLE_SERVO_ANGLES
2189
+
2190
+/**
2191
+ * Sometimes after inserting the SD card settings get lost.
2192
+ * This option reloads settings when the SD card is inserted.
2193
+ */
2194
+#define SD_RELOAD_SETTINGS

+ 2550
- 0
config/examples/FYSETC/Cheetah/base/Configuration_adv.h
File diff suppressed because it is too large
View File


Loading…
Cancel
Save