Просмотр исходного кода

Add Anet 1.0 to Platformio.ini

Added env:anet10 to platformio.ini for easy compile and upload to this board
MTrab 6 лет назад
Родитель
Сommit
5fa61c0ad3
3 измененных файлов: 17 добавлений и 10 удалений
  1. 7
    7
      Marlin/pins_GT2560_REV_A.h
  2. 3
    3
      Marlin/pins_GT2560_REV_A_PLUS.h
  3. 7
    0
      platformio.ini

+ 7
- 7
Marlin/pins_GT2560_REV_A.h Просмотреть файл

@@ -19,13 +19,13 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
- 
22
+
23 23
 /**
24
- * Geeetech GT2560 Revision A board pin assignments, based on the work of 
25
- * George Robles (https://georges3dprinters.com) and 
24
+ * Geeetech GT2560 Revision A board pin assignments, based on the work of
25
+ * George Robles (https://georges3dprinters.com) and
26 26
  * Richard Smith <galorin@gmail.com>
27
- */ 
28
- 
27
+ */
28
+
29 29
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
30 30
   #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
31 31
 #endif
@@ -96,7 +96,7 @@
96 96
 
97 97
   #define BEEPER_PIN       18
98 98
 
99
-  #if ENABLED(NEWPANEL)       
99
+  #if ENABLED(NEWPANEL)
100 100
 
101 101
     #define LCD_PINS_RS    20
102 102
     #define LCD_PINS_ENABLE 17
@@ -109,7 +109,7 @@
109 109
     #define BTN_EN1        42
110 110
     #define BTN_EN2        40
111 111
     #define BTN_ENC        19
112
-    
112
+
113 113
     #define SD_DETECT_PIN  38
114 114
 
115 115
   #else // !NEWPANEL

+ 3
- 3
Marlin/pins_GT2560_REV_A_PLUS.h Просмотреть файл

@@ -19,13 +19,13 @@
19 19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
  *
21 21
  */
22
- 
22
+
23 23
 /**
24 24
  * Geeetech GT2560 Revision A+ board pin assignments
25
- */ 
25
+ */
26 26
 
27 27
 #include "pins_GT2560_REV_A.h"
28 28
 
29 29
 #define BOARD_NAME  "GT2560 Rev.A+"
30 30
 
31
-#define SERVO0_PIN  11 
31
+#define SERVO0_PIN  11

+ 7
- 0
platformio.ini Просмотреть файл

@@ -67,3 +67,10 @@ board = reprap_rambo
67 67
 build_flags = -I $BUILDSRC_DIR
68 68
 board_f_cpu = 16000000L
69 69
 lib_deps = ${common.lib_deps}
70
+
71
+[env:anet10]
72
+platform = atmelavr
73
+framework = arduino
74
+board = sanguino_atmega1284p
75
+upload_speed = 57600
76
+lib_deps = ${common.lib_deps}

Загрузка…
Отмена
Сохранить