Add Anet 1.0 to Platformio.ini

Added env:anet10 to platformio.ini for easy compile and upload to this board
This commit is contained in:
MTrab 2017-08-13 12:55:11 +02:00 committed by Scott Lahteine
parent b3f59ec945
commit 5fa61c0ad3
3 changed files with 17 additions and 10 deletions

View File

@ -19,13 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
/** /**
* Geeetech GT2560 Revision A board pin assignments, based on the work of * Geeetech GT2560 Revision A board pin assignments, based on the work of
* George Robles (https://georges3dprinters.com) and * George Robles (https://georges3dprinters.com) and
* Richard Smith <galorin@gmail.com> * Richard Smith <galorin@gmail.com>
*/ */
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__) #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
#endif #endif
@ -96,7 +96,7 @@
#define BEEPER_PIN 18 #define BEEPER_PIN 18
#if ENABLED(NEWPANEL) #if ENABLED(NEWPANEL)
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
@ -109,7 +109,7 @@
#define BTN_EN1 42 #define BTN_EN1 42
#define BTN_EN2 40 #define BTN_EN2 40
#define BTN_ENC 19 #define BTN_ENC 19
#define SD_DETECT_PIN 38 #define SD_DETECT_PIN 38
#else // !NEWPANEL #else // !NEWPANEL

View File

@ -19,13 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
/** /**
* Geeetech GT2560 Revision A+ board pin assignments * Geeetech GT2560 Revision A+ board pin assignments
*/ */
#include "pins_GT2560_REV_A.h" #include "pins_GT2560_REV_A.h"
#define BOARD_NAME "GT2560 Rev.A+" #define BOARD_NAME "GT2560 Rev.A+"
#define SERVO0_PIN 11 #define SERVO0_PIN 11

View File

@ -67,3 +67,10 @@ board = reprap_rambo
build_flags = -I $BUILDSRC_DIR build_flags = -I $BUILDSRC_DIR
board_f_cpu = 16000000L board_f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
[env:anet10]
platform = atmelavr
framework = arduino
board = sanguino_atmega1284p
upload_speed = 57600
lib_deps = ${common.lib_deps}