Browse Source

Add Anet 1.0 to Platformio.ini

Added env:anet10 to platformio.ini for easy compile and upload to this board
MTrab 6 years ago
parent
commit
5fa61c0ad3
3 changed files with 17 additions and 10 deletions
  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 View File

19
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
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
  * Richard Smith <galorin@gmail.com>
26
  * Richard Smith <galorin@gmail.com>
27
- */ 
28
- 
27
+ */
28
+
29
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
29
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
30
   #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
30
   #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
31
 #endif
31
 #endif
96
 
96
 
97
   #define BEEPER_PIN       18
97
   #define BEEPER_PIN       18
98
 
98
 
99
-  #if ENABLED(NEWPANEL)       
99
+  #if ENABLED(NEWPANEL)
100
 
100
 
101
     #define LCD_PINS_RS    20
101
     #define LCD_PINS_RS    20
102
     #define LCD_PINS_ENABLE 17
102
     #define LCD_PINS_ENABLE 17
109
     #define BTN_EN1        42
109
     #define BTN_EN1        42
110
     #define BTN_EN2        40
110
     #define BTN_EN2        40
111
     #define BTN_ENC        19
111
     #define BTN_ENC        19
112
-    
112
+
113
     #define SD_DETECT_PIN  38
113
     #define SD_DETECT_PIN  38
114
 
114
 
115
   #else // !NEWPANEL
115
   #else // !NEWPANEL

+ 3
- 3
Marlin/pins_GT2560_REV_A_PLUS.h View File

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

+ 7
- 0
platformio.ini View File

67
 build_flags = -I $BUILDSRC_DIR
67
 build_flags = -I $BUILDSRC_DIR
68
 board_f_cpu = 16000000L
68
 board_f_cpu = 16000000L
69
 lib_deps = ${common.lib_deps}
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}

Loading…
Cancel
Save