⬆️ 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

@ -13,6 +13,7 @@
# AVR (8-bit) Common Environment values
#
[common_avr8]
platform = atmelavr@~3.4
build_flags = ${common.build_flags} -Wl,--relax
board_build.f_cpu = 16000000L
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
@ -21,7 +22,6 @@ src_filter = ${common.default_src_filter} +<src/HAL/AVR>
# ATmega2560
#
[env:mega2560]
platform = atmelavr
extends = common_avr8
board = megaatmega2560
@ -33,7 +33,6 @@ board = megaatmega2560
# BOARD_EINSTART_S
#
[env:mega2560ext]
platform = atmelavr
extends = env:mega2560
board_build.variant = MARLIN_MEGA_EXTENDED
extra_scripts = ${common.extra_scripts}
@ -43,7 +42,6 @@ extra_scripts = ${common.extra_scripts}
# ATmega1280
#
[env:mega1280]
platform = atmelavr
extends = common_avr8
board = megaatmega1280
@ -61,7 +59,6 @@ build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide
# MightyBoard ATmega1280
#
[env:MightyBoard1280]
platform = atmelavr
extends = mega_extended_optimized
board = megaatmega1280
@ -69,7 +66,6 @@ board = megaatmega1280
# MightyBoard ATmega2560
#
[env:MightyBoard2560]
platform = atmelavr
extends = mega_extended_optimized
board = megaatmega2560
@ -77,7 +73,6 @@ board = megaatmega2560
# RAMBo
#
[env:rambo]
platform = atmelavr
extends = common_avr8
board = reprap_rambo
@ -85,7 +80,6 @@ board = reprap_rambo
# FYSETC F6 V1.3 / V1.4
#
[env:FYSETC_F6]
platform = atmelavr
extends = common_avr8
board = fysetc_f6_13
@ -93,7 +87,6 @@ board = fysetc_f6_13
# Sanguinololu (ATmega644p)
#
[env:sanguino644p]
platform = atmelavr
extends = common_avr8
board = sanguino_atmega644p
@ -101,7 +94,6 @@ board = sanguino_atmega644p
# Sanguinololu (ATmega1284p)
#
[env:sanguino1284p]
platform = atmelavr
extends = common_avr8
board = sanguino_atmega1284p
board_upload.maximum_size = 126976
@ -114,7 +106,6 @@ board_upload.maximum_size = 126976
build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
[env:sanguino1284p_optimized]
platform = atmelavr
extends = env:sanguino1284p
build_flags = ${tuned_1284p.build_flags}
@ -122,12 +113,10 @@ build_flags = ${tuned_1284p.build_flags}
# Melzi and clones (ATmega1284p)
#
[env:melzi]
platform = atmelavr
extends = env:sanguino1284p
upload_speed = 57600
[env:melzi_optimized]
platform = atmelavr
extends = env:sanguino1284p_optimized
upload_speed = 57600
@ -135,7 +124,6 @@ upload_speed = 57600
# Melzi and clones (Optiboot bootloader)
#
[env:melzi_optiboot]
platform = atmelavr
extends = common_avr8
board = sanguino_atmega1284p
upload_speed = 115200
@ -145,6 +133,5 @@ board_upload.maximum_size = 130048
# Melzi and clones (Zonestar Melzi2 with tuned flags)
#
[env:melzi_optiboot_optimized]
platform = atmelavr
extends = env:melzi_optiboot
build_flags = ${tuned_1284p.build_flags}