Browse Source

🎨 MPX ARM Mini pins cleanup (#23113)

Tanguy Pruvot 3 years ago
parent
commit
4aa2c6628f
No account linked to committer's email address
1 changed files with 10 additions and 22 deletions
  1. 10
    22
      Marlin/src/pins/stm32f1/pins_MINGDA_MPX_ARM_MINI.h

+ 10
- 22
Marlin/src/pins/stm32f1/pins_MINGDA_MPX_ARM_MINI.h View File

@@ -22,16 +22,16 @@
22 22
 #pragma once
23 23
 
24 24
 /**
25
- * MKS Robin mini (STM32F103VET6) board pin assignments
25
+ * MPX ARM MINI (STM32F103ZET6) board pin assignments
26 26
  */
27 27
 
28 28
 #if NOT_TARGET(STM32F1, STM32F1xx)
29 29
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
30
-#elif HOTENDS > 2 || E_STEPPERS > 2
31
-  #error "MKS Robin supports up to 2 hotends / E-steppers. Comment out this line to continue."
30
+#elif HOTENDS > 1 || E_STEPPERS > 1
31
+  #error "MPX ARM Mini only supports one hotend / E-stepper. Comment out this line to continue."
32 32
 #endif
33 33
 
34
-#define BOARD_INFO_NAME "Mingda MPX_ARM_MINI"
34
+#define BOARD_INFO_NAME "Mingda MPX ARM Mini"
35 35
 
36 36
 #define BOARD_NO_NATIVE_USB
37 37
 #define DISABLE_DEBUG
@@ -64,9 +64,9 @@
64 64
 // Limit Switches
65 65
 //
66 66
 #define X_MIN_PIN                           PD6
67
-#define X_MAX_PIN                           PG15
67
+#define X_MAX_PIN                           PG15 // To double check
68 68
 #define Y_MIN_PIN                           PG9
69
-#define Y_MAX_PIN                           PG14
69
+#define Y_MAX_PIN                           PG14 // To double check
70 70
 #define Z_MIN_PIN                           PG10
71 71
 #define Z_MAX_PIN                           PG13
72 72
 
@@ -137,18 +137,6 @@
137 137
 // TFT with FSMC interface
138 138
 //
139 139
 #if HAS_FSMC_TFT
140
-  /**
141
-   * Note: MKS Robin TFT screens use various TFT controllers
142
-   * Supported screens are based on the ILI9341, ST7789V and ILI9328 (320x240)
143
-   * ILI9488 is not supported
144
-   * Define init sequences for other screens in u8g_dev_tft_320x240_upscale_from_128x64.cpp
145
-   *
146
-   * If the screen stays white, disable 'TFT_RESET_PIN'
147
-   * to let the bootloader init the screen.
148
-   *
149
-   * Setting an 'TFT_RESET_PIN' may cause a flicker when entering the LCD menu
150
-   * because Marlin uses the reset as a failsafe to revive a glitchy LCD.
151
-   */
152 140
   #define TFT_RESET_PIN                     PF15
153 141
   #define TFT_BACKLIGHT_PIN                 PF11
154 142
 
@@ -166,8 +154,8 @@
166 154
 #endif
167 155
 
168 156
 #if NEED_TOUCH_PINS
169
-  #define TOUCH_CS_PIN                      PA4   // SPI2_NSS
170
-  #define TOUCH_SCK_PIN                     PA5   // SPI2_SCK
171
-  #define TOUCH_MISO_PIN                    PA6   // SPI2_MISO
172
-  #define TOUCH_MOSI_PIN                    PA7   // SPI2_MOSI
157
+  #define TOUCH_CS_PIN                      PA4   // SPI1_NSS
158
+  #define TOUCH_SCK_PIN                     PA5   // SPI1_SCK
159
+  #define TOUCH_MISO_PIN                    PA6   // SPI1_MISO
160
+  #define TOUCH_MOSI_PIN                    PA7   // SPI1_MOSI
173 161
 #endif

Loading…
Cancel
Save