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:
parent
b3f59ec945
commit
5fa61c0ad3
|
@ -19,13 +19,13 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 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 <galorin@gmail.com>
|
||||
*/
|
||||
|
||||
*/
|
||||
|
||||
#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
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue