From 852468ead741de84c358fcb7ece035e2d4034030 Mon Sep 17 00:00:00 2001
From: Johnny Eshak <info@johnnytheone.com>
Date: Thu, 8 Feb 2018 10:02:16 +0100
Subject: [PATCH] [2.0.x] Fix compile Error Anet (#9509)

---
 platformio.ini | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/platformio.ini b/platformio.ini
index caea5e4548..756b43dafe 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -83,6 +83,18 @@ upload_speed = 57600
 lib_deps     = ${common.lib_deps}
 src_filter   = ${common.default_src_filter}
 
+#
+# Anet 1.0 (Optiboot bootloader)
+#
+[env:anet10_optiboot]
+platform     = atmelavr
+framework    = arduino
+board        = sanguino_atmega1284p
+build_flags  = ${common.build_flags}
+upload_speed = 115200
+lib_deps     = ${common.lib_deps}
+src_filter   = ${common.default_src_filter}
+
 #
 # Due (Atmel SAM3X8E ARM Cortex-M3)
 #