From 55d47a9abdcd4ebe22915ca4b8b1a65b59269bd2 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 5 Jan 2020 02:35:34 -0600 Subject: [PATCH 1/3] Add GTM32 (STM32F103VET6) environment --- platformio.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/platformio.ini b/platformio.ini index c7b71167cfc6..99f4ecde98c6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -449,6 +449,19 @@ extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py src_filter = ${common.default_src_filter} + lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI +# +# GTM32 (STM32F103VET6) +# +[env:STM32F103VET6] +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 + # # MKS Robin (STM32F103ZET6) # From c36ca3a4621323f1c0479dcd8ec7f046ce65b674 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 12 Jan 2020 22:26:30 -0600 Subject: [PATCH 2/3] Update platformio.ini --- platformio.ini | 64 ++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/platformio.ini b/platformio.ini index 12f6967de3b7..c046ef612003 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) # @@ -450,17 +463,30 @@ src_filter = ${common.default_src_filter} + lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI # -# GTM32 (STM32F103VET6) -# -[env:STM32F103VET6] +# 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, LiquidTWI2, SPI -upload_protocol = serial +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) @@ -475,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) # @@ -517,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) # From 97be1a4ebc27b3adf0c7869415ab9ddf5059a9e8 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 12 Jan 2020 22:27:28 -0600 Subject: [PATCH 3/3] Update platformio.ini --- platformio.ini | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/platformio.ini b/platformio.ini index c046ef612003..141468c435bc 100644 --- a/platformio.ini +++ b/platformio.ini @@ -439,13 +439,13 @@ 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 +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 +build_unflags = -std=gnu++11 +src_filter = ${common.default_src_filter} + +lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI upload_protocol = serial #