⬆️ Assert newer GCC in PIO via atmelavr@~3.4 (#23432)

This commit is contained in:
Jason Smith
2022-01-02 21:27:22 -08:00
committed by Scott Lahteine
parent 2faf4e2a99
commit 4efe4788af
13 changed files with 49 additions and 177 deletions

View File

@ -30,7 +30,6 @@ monitor_speed = 115200
# STM32F103RE
#
[env:STM32F103RE]
platform = ${common_stm32.platform}
extends = common_stm32
board = genericSTM32F103RE
monitor_speed = 115200
@ -39,7 +38,6 @@ monitor_speed = 115200
# STM32F103VE
#
[env:STM32F103VE]
platform = ${common_stm32.platform}
extends = common_stm32
board = genericSTM32F103VE
monitor_speed = 115200
@ -48,7 +46,6 @@ monitor_speed = 115200
# STM32F103ZE
#
[env:STM32F103ZE]
platform = ${common_stm32.platform}
extends = common_stm32
board = genericSTM32F103ZE
monitor_speed = 115200
@ -60,7 +57,6 @@ monitor_speed = 115200
# STM32F103RC_btt_USB ......... RCT6 with 256K (USB mass storage)
#
[env:STM32F103RC_btt]
platform = ${common_stm32.platform}
extends = common_STM32F103RC_variant
build_flags = ${common_STM32F103RC_variant.build_flags}
-DTIMER_SERVO=TIM5
@ -68,7 +64,6 @@ board_build.offset = 0x7000
board_upload.offset_address = 0x08007000
[env:STM32F103RC_btt_USB]
platform = ${common_stm32.platform}
extends = env:STM32F103RC_btt
platform_packages = ${stm_flash_drive.platform_packages}
build_flags = ${env:STM32F103RC_btt.build_flags}
@ -83,7 +78,6 @@ build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
# Uses HAL STM32 to support Marlin UI for TFT screen with optional touch panel
#
[env:mks_robin]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103ZE
board_build.variant = MARLIN_F103Zx
@ -98,7 +92,6 @@ build_unflags = ${stm32_variant.build_unflags}
# MKS Robin E3/E3D (STM32F103RCT6) with TMC2209
#
[env:mks_robin_e3]
platform = ${common_stm32.platform}
extends = common_STM32F103RC_variant
board_build.encrypt = Robin_e3.bin
board_build.offset = 0x5000
@ -114,7 +107,6 @@ debug_tool = stlink
# Creality (STM32F103RET6)
#
[env:STM32F103RET6_creality]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103RE
board_build.variant = MARLIN_F103Rx
@ -139,7 +131,6 @@ upload_protocol = jlink
# STM32F103RE_btt_USB ......... RET6 (USB mass storage)
#
[env:STM32F103RE_btt]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103RE
board_build.variant = MARLIN_F103Rx
@ -154,7 +145,6 @@ debug_tool = jlink
upload_protocol = jlink
[env:STM32F103RE_btt_USB]
platform = ${common_stm32.platform}
extends = env:STM32F103RE_btt
platform_packages = ${stm_flash_drive.platform_packages}
build_flags = ${env:STM32F103RE_btt.build_flags}
@ -167,7 +157,6 @@ build_unflags = ${stm32_variant.build_unflags} -DUSBD_USE_CDC
# board Hispeedv1
#
[env:flsun_hispeedv1]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx
@ -184,7 +173,6 @@ build_unflags = ${stm32_variant.build_unflags}
# MKS Robin Nano V1.2 and V2
#
[env:mks_robin_nano35]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx
@ -203,7 +191,6 @@ upload_protocol = jlink
# Mingda MPX_ARM_MINI
#
[env:mingda_mpx_arm_mini]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103ZE
board_build.variant = MARLIN_F103Zx
@ -217,7 +204,6 @@ build_unflags = ${stm32_variant.build_unflags}
# Malyan M200 (STM32F103CB)
#
[env:STM32F103CB_malyan]
platform = ${common_stm32.platform}
extends = common_stm32
board = malyanm200_f103cb
build_flags = ${common_stm32.build_flags}
@ -229,7 +215,6 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32>
# FLYmaker FLY Mini (STM32F103RCT6)
#
[env:FLY_MINI]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103RC
board_build.variant = MARLIN_F103Rx
@ -241,7 +226,6 @@ build_flags = ${stm32_variant.build_flags} -DSS_TIMER=4
# MKS Robin Mini (STM32F103VET6)
#
[env:mks_robin_mini]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx
@ -255,7 +239,6 @@ build_flags = ${stm32_variant.build_flags}
# MKS Robin Lite/Lite2 (STM32F103RCT6)
#
[env:mks_robin_lite]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103RC
board_build.variant = MARLIN_F103Rx
@ -267,7 +250,6 @@ board_upload.offset_address = 0x08005000
# MKS ROBIN LITE3 (STM32F103RCT6)
#
[env:mks_robin_lite3]
platform = ${common_stm32.platform}
extends = env:mks_robin_lite
board_build.encrypt = mksLite3.bin
@ -275,7 +257,6 @@ board_build.encrypt = mksLite3.bin
# MKS Robin Pro (STM32F103ZET6)
#
[env:mks_robin_pro]
platform = ${common_stm32.platform}
extends = env:mks_robin
board_build.encrypt = Robin_pro.bin
@ -284,7 +265,6 @@ board_build.encrypt = Robin_pro.bin
# - LVGL UI
#
[env:mks_robin_e3p]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx
@ -301,7 +281,6 @@ upload_protocol = jlink
# JGAurora A5S A1 (STM32F103ZET6)
#
[env:jgaurora_a5s_a1]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103ZE
board_build.variant = MARLIN_F103Zx
@ -317,7 +296,6 @@ extra_scripts = ${stm32_variant.extra_scripts}
# FYSETC STM32F103RC
#
[env:STM32F103RC_fysetc]
platform = ${common_stm32.platform}
extends = common_STM32F103RC_variant
extra_scripts = ${common_STM32F103RC_variant.extra_scripts}
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
@ -329,10 +307,9 @@ upload_protocol = serial
# Longer 3D board in Alfawise U20 (STM32F103VET6)
#
[env:STM32F103VE_longer]
platform = ${common_stm32.platform}
extends = stm32_variant
lib_deps = ${common.lib_deps}
https://github.com/tpruvot/STM32_Servo_OpenDrain/archive/2.0.zip
extends = stm32_variant
board = genericSTM32F103VE
board_build.variant = MARLIN_F103VE_LONGER
board_build.rename = project.bin
@ -348,7 +325,6 @@ debug_tool = stlink
# TRIGORILLA PRO (STM32F103ZET6)
#
[env:trigorilla_pro]
platform = ${stm32_variant.platform}
extends = stm32_variant
board = genericSTM32F103ZE
board_build.variant = MARLIN_F103Zx
@ -361,7 +337,6 @@ build_unflags = ${stm32_variant.build_unflags}
# Chitu boards like Tronxy X5s (STM32F103ZET6)
#
[env:chitu_f103]
platform = ${common_stm32.platform}
extends = stm32_variant
board = genericSTM32F103ZE
board_build.variant = MARLIN_F103Zx
@ -377,7 +352,6 @@ extra_scripts = ${stm32_variant.extra_scripts}
# Use this target if G28 or G29 are always failing.
#
[env:chitu_v5_gpio_init]
platform = ${common_stm32.platform}
extends = env:chitu_f103
build_flags = ${env:chitu_f103.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
@ -389,7 +363,6 @@ build_flags = ${env:chitu_f103.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
# STM32F103VE_ZM3E4V2_USB ......... VET6 with 512K
#
[ZONESTAR_ZM3E]
platform = ${common_stm32.platform}
extends = stm32_variant
platform_packages = ${stm_flash_drive.platform_packages}
board_upload.offset_address = 0x08005000
@ -401,20 +374,17 @@ build_flags = ${common_stm32.build_flags}
build_unflags = ${stm32_variant.build_unflags} -DUSBD_USE_CDC
[env:STM32F103RC_ZM3E2_USB]
platform = ${ZONESTAR_ZM3E.platform}
extends = ZONESTAR_ZM3E
board = genericSTM32F103RC
board_build.variant = MARLIN_F103Rx
[env:STM32F103VC_ZM3E4_USB]
platform = ${ZONESTAR_ZM3E.platform}
extends = ZONESTAR_ZM3E
board = genericSTM32F103VC
board_build.variant = MARLIN_F103Vx
build_flags = ${ZONESTAR_ZM3E.build_flags} -DTIMER_TONE=TIM1
[env:STM32F103VE_ZM3E4V2_USB]
platform = ${ZONESTAR_ZM3E.platform}
extends = ZONESTAR_ZM3E
board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx