Browse Source

[SAMD51] Remove RuRamps4D (#15264)

Giuliano Zaro 5 years ago
parent
commit
c96844fae2

+ 1
- 1
.travis.yml View File

@@ -16,7 +16,6 @@ env:
16 16
   - TEST_PLATFORM="LPC1768"
17 17
   - TEST_PLATFORM="LPC1769"
18 18
   - TEST_PLATFORM="megaatmega2560"
19
-  - TEST_PLATFORM="SAMD51_grandcentral_m4"
20 19
   - TEST_PLATFORM="STM32F103R"
21 20
   - TEST_PLATFORM="teensy31"
22 21
   - TEST_PLATFORM="teensy35"
@@ -45,6 +44,7 @@ env:
45 44
   #- TEST_PLATFORM="mks_robin_lite"
46 45
   #- TEST_PLATFORM="mks_robin_mini"
47 46
   #- TEST_PLATFORM="mks_robin_nano"
47
+  #- TEST_PLATFORM="SAMD51_grandcentral_m4"
48 48
   #- TEST_PLATFORM="STM32F103R_bigtree"
49 49
   #- TEST_PLATFORM="STM32F103R_fysetc"
50 50
   #- TEST_PLATFORM="STM32F4"

+ 0
- 5
Marlin/src/core/boards.h View File

@@ -308,11 +308,6 @@
308 308
 #define BOARD_ESP32                   6000
309 309
 
310 310
 //
311
-// SAMD51 ARM Cortex M4
312
-//
313
-#define BOARD_AGCM4_RURAMPS4D_13      6100
314
-
315
-//
316 311
 // Simulations
317 312
 //
318 313
 

+ 0
- 7
Marlin/src/pins/pins.h View File

@@ -526,13 +526,6 @@
526 526
   #include "esp32/pins_ESP32.h"                 // ESP32                                  env:esp32
527 527
 
528 528
 //
529
-// Adafruit Grand Central M4 (SAMD51 ARM Cortex-M4)
530
-//
531
-
532
-#elif MB(AGCM4_RURAMPS4D_13)
533
-  #include "samd/pins_AGCM4_RURAMPS4D_13.h"     // SAMD51                                 env:SAMD51_grandcentral_m4
534
-
535
-//
536 529
 // Linux Native Debug board
537 530
 //
538 531
 

+ 0
- 259
Marlin/src/pins/samd/pins_AGCM4_RURAMPS4D_13.h View File

@@ -1,259 +0,0 @@
1
-/**
2
- * Marlin 3D Printer Firmware
3
- * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
- *
5
- * Based on Sprinter and grbl.
6
- * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
- *
8
- * This program is free software: you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation, either version 3 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License
19
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
- */
21
-
22
-/**
23
- * Adafruit Grand Central M4 pin assignments ported by Giuliano Zaro
24
- */
25
-#ifndef ARDUINO_GRAND_CENTRAL_M4
26
-  #error "Oops! Select 'Adafruit Grand Central M4' in 'Tools > Board.'"
27
-#endif
28
-
29
-#define BOARD_INFO_NAME "RuRAMPS4AGCM4 v1.3"
30
-
31
-//
32
-// Servos
33
-//
34
-#define SERVO0_PIN          5
35
-#define SERVO1_PIN          3
36
-
37
-//
38
-// Limit Switches
39
-//
40
-#define X_MIN_PIN          45
41
-#define X_MAX_PIN          39
42
-#define Y_MIN_PIN          46
43
-#define Y_MAX_PIN          41
44
-#define Z_MIN_PIN          47
45
-#define Z_MAX_PIN          43
46
-
47
-//
48
-// Z Probe (when not Z_MIN_PIN)
49
-//
50
-#ifndef Z_MIN_PROBE_PIN
51
-  #define Z_MIN_PROBE_PIN  49
52
-#endif
53
-
54
-//
55
-// Steppers
56
-//
57
-#define X_STEP_PIN         37   // Support Extension Board
58
-#define X_DIR_PIN          36
59
-#define X_ENABLE_PIN       31
60
-#ifndef X_CS_PIN
61
-  #define X_CS_PIN         38
62
-#endif
63
-
64
-#define Y_STEP_PIN         32   // Support Extension Board
65
-#define Y_DIR_PIN          35
66
-#define Y_ENABLE_PIN       31
67
-#ifndef Y_CS_PIN
68
-  #define Y_CS_PIN         34
69
-#endif
70
-
71
-#define Z_STEP_PIN         30   // Support Extension Board
72
-#define Z_DIR_PIN           2
73
-#define Z_ENABLE_PIN       31
74
-#ifndef Z_CS_PIN
75
-  #define Z_CS_PIN         10
76
-#endif
77
-
78
-#define E0_STEP_PIN        29
79
-#define E0_DIR_PIN         28
80
-#define E0_ENABLE_PIN      33
81
-#ifndef E0_CS_PIN
82
-  #define E0_CS_PIN        14
83
-#endif
84
-
85
-#define E1_STEP_PIN        22
86
-#define E1_DIR_PIN         24
87
-#define E1_ENABLE_PIN      26
88
-#ifndef E1_CS_PIN
89
-  #define E1_CS_PIN        15
90
-#endif
91
-
92
-#define E2_STEP_PIN        25
93
-#define E2_DIR_PIN         23
94
-#define E2_ENABLE_PIN      27
95
-#ifndef E2_CS_PIN
96
-  #define E2_CS_PIN        74
97
-#endif
98
-
99
-#if USES_Z_MIN_PROBE_ENDSTOP
100
-  #define Z_MIN_PROBE_PIN  49
101
-#endif
102
-
103
-#if HAS_FILAMENT_SENSOR
104
-  #ifndef FIL_RUNOUT_PIN
105
-    #define FIL_RUNOUT_PIN Y_MIN_PIN
106
-  #endif
107
-#endif
108
-
109
-//
110
-// Heaters / Fans
111
-//
112
-#define HEATER_0_PIN       13
113
-#define HEATER_1_PIN       12
114
-#define HEATER_2_PIN       11
115
-#define HEATER_BED_PIN      7   // BED H1
116
-
117
-#define FAN_PIN             9
118
-#define FAN1_PIN            8
119
-#define CONTROLLER_FAN_PIN -1
120
-
121
-//
122
-// Temperature Sensors
123
-//
124
-#define TEMP_0_PIN          0   // ANALOG A0
125
-#define TEMP_1_PIN          1   // ANALOG A1
126
-#define TEMP_2_PIN          2   // ANALOG A2
127
-#define TEMP_3_PIN          3   // ANALOG A3
128
-#define TEMP_BED_PIN        4   // ANALOG A4
129
-
130
-// The thermocouple uses Analog pins
131
-#if ENABLED(VER_WITH_THERMOCOUPLE) // Must be defined in Configuration.h
132
-  #define TEMP_4_PIN        5   // A5
133
-  #define TEMP_5_PIN        6   // A6 (Marlin 2.0 not support)
134
-#endif
135
-
136
-// SPI for Max6675 or Max31855 Thermocouple
137
-/*
138
-#if DISABLED(SDSUPPORT)
139
-  #define MAX6675_SS_PIN   53
140
-#else
141
-  #define MAX6675_SS_PIN   49
142
-#endif
143
-*/
144
-
145
-//
146
-// Misc. Functions
147
-//
148
-#define SDSS                4
149
-#define LED_PIN            -1   // 13 - HEATER_0_PIN
150
-#define PS_ON_PIN          -1   // 57
151
-
152
-// MKS TFT / Nextion Use internal USART-1
153
-#define TFT_LCD_MODULE_COM        1
154
-#define TFT_LCD_MODULE_BAUDRATE   115200
155
-
156
-// ESP WiFi Use internal USART-2
157
-#define ESP_WIFI_MODULE_COM       2
158
-#define ESP_WIFI_MODULE_BAUDRATE  115200
159
-#define ESP_WIFI_MODULE_RESET_PIN -1
160
-#define PIGGY_GPIO_PIN            -1
161
-
162
-//
163
-// EEPROM
164
-//
165
-#define E2END             0x7FFF  // 32Kb (24lc256)
166
-#define I2C_EEPROM                // EEPROM on I2C
167
-
168
-//
169
-// LCD / Controller
170
-//
171
-#if HAS_SPI_LCD
172
-
173
-  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
174
-
175
-    #define BEEPER_PIN      54
176
-    #define LCD_PINS_D4     48
177
-    #define SD_DETECT_PIN   -1    // 51 can't be used, it's MOSI
178
-    #define LCD_PINS_RS     55
179
-    #define LCD_PINS_ENABLE 56
180
-
181
-  #elif EITHER(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER)
182
-
183
-    #error "Pin compatibility check needed!"
184
-    #define BEEPER_PIN      54
185
-    #define LCD_PINS_D4     48
186
-    #define LCD_PINS_D5     -1    // 50 can't be used, it's MISO
187
-    #define LCD_PINS_D6     -1    // 52 can't be used, it's SCK
188
-    #define LCD_PINS_D7     53
189
-    #define SD_DETECT_PIN   -1    // 51 can't be used, it's MOSI
190
-    #define LCD_PINS_RS     55
191
-    #define LCD_PINS_ENABLE 56
192
-
193
-  #elif HAS_SSD1306_OLED_I2C
194
-
195
-    #error "Pin compatibility check needed!"
196
-    #define BEEPER_PIN      54
197
-    #define LCD_SDSS        10
198
-    #define SD_DETECT_PIN   -1    // 51 can't be used, it's MOSI
199
-
200
-  #elif ENABLED(FYSETC_MINI_12864)
201
-
202
-    #define BEEPER_PIN      54
203
-    #define DOGLCD_CS       56
204
-    #define DOGLCD_A0       55
205
-
206
-    //#define FORCE_SOFT_SPI       // Use this if default of hardware SPI causes display problems
207
-                                  //   results in LCD soft SPI mode 3, SD soft SPI mode 0
208
-
209
-    #define LCD_RESET_PIN   48    // Must be high or open for LCD to operate normally.
210
-
211
-    #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
212
-      #error "Pin compatibility check needed!"
213
-      #ifndef RGB_LED_R_PIN
214
-        #define RGB_LED_R_PIN 50  // 50 can't be used, it's MISO
215
-      #endif
216
-      #ifndef RGB_LED_G_PIN
217
-        #define RGB_LED_G_PIN 52  // 52 can't be used, it's SCK
218
-      #endif
219
-      #ifndef RGB_LED_B_PIN
220
-        #define RGB_LED_B_PIN 53
221
-      #endif
222
-    #elif ENABLED(FYSETC_MINI_12864_2_1)
223
-      #error "Pin compatibility check needed!"
224
-      #define NEOPIXEL_PIN 50     // 50 can't be used, it's MISO
225
-    #endif
226
-
227
-  #elif ENABLED(MKS_MINI_12864)
228
-
229
-    #error "Pin compatibility check needed!"
230
-    #define ORIG_BEEPER_PIN 75
231
-
232
-    #define DOGLCD_A0      52     // 52 can't be used, it's SCK
233
-    #define DOGLCD_CS      50     // 50 can't be used, it's MISO
234
-
235
-    #define SD_DETECT_PIN  -1     // 51 can't be used, it's MOSI
236
-
237
-  #endif
238
-
239
-  #if ENABLED(NEWPANEL)
240
-    #define BTN_EN1        44
241
-    #define BTN_EN2        42
242
-    #define BTN_ENC        40
243
-  #endif
244
-
245
-#endif // HAS_SPI_LCD
246
-
247
-//
248
-// SD Support
249
-//
250
-#ifndef SDCARD_CONNECTION
251
-  #define SDCARD_CONNECTION ONBOARD
252
-#endif
253
-
254
-#if SD_CONNECTION_IS(ONBOARD)
255
-  #undef SDSS
256
-  #define SDSS             83
257
-  #undef SD_DETECT_PIN
258
-  #define SD_DETECT_PIN    95
259
-#endif

+ 0
- 7
buildroot/share/tests/SAMD51_grandcentral_m4-tests View File

@@ -6,12 +6,5 @@
6 6
 # exit on first failure
7 7
 set -e
8 8
 
9
-#
10
-# Build with the default configurations
11
-#
12
-restore_configs
13
-opt_set MOTHERBOARD BOARD_AGCM4_RURAMPS4D_13
14
-exec_test $1 $2 "Build Grand Central M4 Default Configuration"
15
-
16 9
 # clean up
17 10
 restore_configs

Loading…
Cancel
Save