From 5fa61c0ad32b086bc52f9847e5c85d07d16e963f Mon Sep 17 00:00:00 2001 From: MTrab Date: Sun, 13 Aug 2017 12:55:11 +0200 Subject: [PATCH] Add Anet 1.0 to Platformio.ini Added env:anet10 to platformio.ini for easy compile and upload to this board --- Marlin/pins_GT2560_REV_A.h | 14 +++++++------- Marlin/pins_GT2560_REV_A_PLUS.h | 6 +++--- platformio.ini | 7 +++++++ 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/Marlin/pins_GT2560_REV_A.h b/Marlin/pins_GT2560_REV_A.h index cb85c1223b..0c420cfaa2 100644 --- a/Marlin/pins_GT2560_REV_A.h +++ b/Marlin/pins_GT2560_REV_A.h @@ -19,13 +19,13 @@ * along with this program. If not, see . * */ - + /** - * Geeetech GT2560 Revision A board pin assignments, based on the work of - * George Robles (https://georges3dprinters.com) and + * Geeetech GT2560 Revision A board pin assignments, based on the work of + * George Robles (https://georges3dprinters.com) and * Richard Smith - */ - + */ + #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__) #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #endif @@ -96,7 +96,7 @@ #define BEEPER_PIN 18 - #if ENABLED(NEWPANEL) + #if ENABLED(NEWPANEL) #define LCD_PINS_RS 20 #define LCD_PINS_ENABLE 17 @@ -109,7 +109,7 @@ #define BTN_EN1 42 #define BTN_EN2 40 #define BTN_ENC 19 - + #define SD_DETECT_PIN 38 #else // !NEWPANEL diff --git a/Marlin/pins_GT2560_REV_A_PLUS.h b/Marlin/pins_GT2560_REV_A_PLUS.h index a99a39da8a..b722c04fd8 100644 --- a/Marlin/pins_GT2560_REV_A_PLUS.h +++ b/Marlin/pins_GT2560_REV_A_PLUS.h @@ -19,13 +19,13 @@ * along with this program. If not, see . * */ - + /** * Geeetech GT2560 Revision A+ board pin assignments - */ + */ #include "pins_GT2560_REV_A.h" #define BOARD_NAME "GT2560 Rev.A+" -#define SERVO0_PIN 11 +#define SERVO0_PIN 11 diff --git a/platformio.ini b/platformio.ini index 50137628e7..3b05bc5661 100644 --- a/platformio.ini +++ b/platformio.ini @@ -67,3 +67,10 @@ board = reprap_rambo build_flags = -I $BUILDSRC_DIR board_f_cpu = 16000000L lib_deps = ${common.lib_deps} + +[env:anet10] +platform = atmelavr +framework = arduino +board = sanguino_atmega1284p +upload_speed = 57600 +lib_deps = ${common.lib_deps}