From 73022d31198ff2a43a8f61af397a05c4a03bdefc Mon Sep 17 00:00:00 2001
From: xC0000005 <32139633+xC0000005@users.noreply.github.com>
Date: Thu, 29 Mar 2018 19:54:37 -0700
Subject: [PATCH] Add a PlatformIO environment for Malyan M200

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

diff --git a/platformio.ini b/platformio.ini
index 09c55d27eb..a97710edf9 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -282,3 +282,24 @@ lib_deps     = ${common.lib_deps}
 lib_ignore   = Adafruit NeoPixel
 src_filter   = ${common.default_src_filter}
 monitor_baud = 250000
+
+[env:malyanm200]
+platform    = ststm32
+framework   = arduino
+board = malyanM200
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
+src_filter = ${common.default_src_filter}
+#-<frameworks>
+lib_ignore =
+  U8glib
+  LiquidCrystal_I2C
+  LiquidCrystal
+  NewliquidCrystal
+  LiquidTWI2
+  Adafruit NeoPixel
+  TMC2130Stepper
+  Servo(STM32F1)
+  TMC26XStepper
+  U8glib-HAL
+  TMC2208Stepper
+  c1921b4
-- 
GitLab