From 51f2733b7ff640fe0e9ec43c14e06470d51c2fc4 Mon Sep 17 00:00:00 2001 From: Vertabreaker Date: Sun, 12 Jan 2020 23:27:58 -0500 Subject: [PATCH] Add GTM32 (STM32F103VET6) environment (#16454) --- platformio.ini | 67 +++++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 28 deletions(-) diff --git a/platformio.ini b/platformio.ini index d0d2052591..141468c435 100644 --- a/platformio.ini +++ b/platformio.ini @@ -435,6 +435,19 @@ build_flags = ${common.build_flags} lib_ignore = Adafruit NeoPixel, SoftwareSerial src_filter = ${common.default_src_filter} + +# +# Geeetech GTM32 (STM32F103VET6) +# +[env:STM32F103VE_GTM32] +platform = ststm32 +board = genericSTM32F103VE +build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py + ${common.build_flags} -std=gnu++14 +build_unflags = -std=gnu++11 +src_filter = ${common.default_src_filter} + +lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI +upload_protocol = serial + # # Longer 3D board in Alfawise U20 (STM32F103VET6) # @@ -449,6 +462,32 @@ extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py src_filter = ${common.default_src_filter} + lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI +# +# MKS Robin Mini (STM32F103VET6) +# +[env:mks_robin_mini] +platform = ststm32 +board = genericSTM32F103VE +build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py + ${common.build_flags} -std=gnu++14 +build_unflags = -std=gnu++11 +extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py +src_filter = ${common.default_src_filter} + +lib_ignore = Adafruit NeoPixel, SPI + +# +# MKS Robin Nano (STM32F103VET6) +# +[env:mks_robin_nano] +platform = ststm32 +board = genericSTM32F103VE +build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py + ${common.build_flags} -std=gnu++14 +build_unflags = -std=gnu++11 +extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py +src_filter = ${common.default_src_filter} + +lib_ignore = Adafruit NeoPixel, SPI + # # MKS Robin (STM32F103ZET6) # @@ -462,7 +501,6 @@ extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py src_filter = ${common.default_src_filter} + lib_ignore = Adafruit NeoPixel, SPI - # # MKS Robin Pro (STM32F103ZET6) # @@ -504,33 +542,6 @@ src_filter = ${common.default_src_filter} + lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI - -# -# MKS Robin Mini (STM32F103VET6) -# -[env:mks_robin_mini] -platform = ststm32 -board = genericSTM32F103VE -build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py - ${common.build_flags} -std=gnu++14 -build_unflags = -std=gnu++11 -extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py -src_filter = ${common.default_src_filter} + -lib_ignore = Adafruit NeoPixel, SPI - -# -# MKS Robin Nano (STM32F103VET6) -# -[env:mks_robin_nano] -platform = ststm32 -board = genericSTM32F103VE -build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py - ${common.build_flags} -std=gnu++14 -build_unflags = -std=gnu++11 -extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py -src_filter = ${common.default_src_filter} + -lib_ignore = Adafruit NeoPixel, SPI - # # JGAurora A5S A1 (STM32F103ZET6) #