|
|
@ -434,9 +434,9 @@ src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
|
|
# ATmega2560
|
|
|
|
# ATmega2560
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:mega2560]
|
|
|
|
[env:mega2560]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = megaatmega2560
|
|
|
|
board = megaatmega2560
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# ATmega2560 with extended pins 70-85 defined
|
|
|
|
# ATmega2560 with extended pins 70-85 defined
|
|
|
@ -457,9 +457,9 @@ extra_scripts = ${common.extra_scripts}
|
|
|
|
# ATmega1280
|
|
|
|
# ATmega1280
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:mega1280]
|
|
|
|
[env:mega1280]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = megaatmega1280
|
|
|
|
board = megaatmega1280
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# MightyBoard ATmega2560 (MegaCore 100 pin boards variants)
|
|
|
|
# MightyBoard ATmega2560 (MegaCore 100 pin boards variants)
|
|
|
@ -474,81 +474,97 @@ upload_speed = 57600
|
|
|
|
# MightyBoard ATmega2560 (MegaCore 100 pin boards variants)
|
|
|
|
# MightyBoard ATmega2560 (MegaCore 100 pin boards variants)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:MightyBoard2560]
|
|
|
|
[env:MightyBoard2560]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = ATmega2560
|
|
|
|
board = ATmega2560
|
|
|
|
upload_protocol = wiring
|
|
|
|
upload_protocol = wiring
|
|
|
|
upload_speed = 57600
|
|
|
|
upload_speed = 57600
|
|
|
|
board_upload.maximum_size = 253952
|
|
|
|
board_upload.maximum_size = 253952
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# RAMBo
|
|
|
|
# RAMBo
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:rambo]
|
|
|
|
[env:rambo]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = reprap_rambo
|
|
|
|
board = reprap_rambo
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# FYSETC F6 V1.3
|
|
|
|
# FYSETC F6 V1.3
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:FYSETC_F6_13]
|
|
|
|
[env:FYSETC_F6_13]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = fysetc_f6_13
|
|
|
|
board = fysetc_f6_13
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# FYSETC F6 V1.4
|
|
|
|
# FYSETC F6 V1.4
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:FYSETC_F6_14]
|
|
|
|
[env:FYSETC_F6_14]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = fysetc_f6_14
|
|
|
|
board = fysetc_f6_14
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Sanguinololu (ATmega644p)
|
|
|
|
# Sanguinololu (ATmega644p)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:sanguino644p]
|
|
|
|
[env:sanguino644p]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = sanguino_atmega644p
|
|
|
|
board = sanguino_atmega644p
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Sanguinololu (ATmega1284p)
|
|
|
|
# Sanguinololu (ATmega1284p)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:sanguino1284p]
|
|
|
|
[env:sanguino1284p]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
board_upload.maximum_size = 126976
|
|
|
|
board_upload.maximum_size = 126976
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Melzi and clones (ATmega1284p)
|
|
|
|
# Melzi and clones (ATmega1284p)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:melzi]
|
|
|
|
[env:melzi]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = env:sanguino1284p
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
upload_speed = 57600
|
|
|
|
upload_speed = 57600
|
|
|
|
|
|
|
|
board_upload.maximum_size = 126976
|
|
|
|
#
|
|
|
|
|
|
|
|
# Sanguinololu (ATmega1284p stock bootloader with tuned flags)
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tuned_1284p]
|
|
|
|
|
|
|
|
build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:sanguino1284p_optimized]
|
|
|
|
|
|
|
|
platform = atmelavr
|
|
|
|
|
|
|
|
extends = env:melzi
|
|
|
|
|
|
|
|
build_flags = ${tuned_1284p.build_flags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# Melzi and clones (alias for sanguino1284p_optimized)
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
[env:melzi_optimized]
|
|
|
|
|
|
|
|
platform = atmelavr
|
|
|
|
|
|
|
|
extends = env:sanguino1284p_optimized
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Melzi and clones (Optiboot bootloader)
|
|
|
|
# Melzi and clones (Optiboot bootloader)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:melzi_optiboot]
|
|
|
|
[env:melzi_optiboot]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
upload_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Melzi and clones (Zonestar Melzi2 with tuned flags)
|
|
|
|
# Melzi and clones (Zonestar Melzi2 with tuned flags)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:melzi_optimized]
|
|
|
|
[env:melzi_optiboot_optimized]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
extends = env:melzi_optiboot
|
|
|
|
extends = env:melzi_optiboot
|
|
|
|
build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
|
|
|
|
build_flags = ${tuned_1284p.build_flags}
|
|
|
|
build_unflags = -g -ggdb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# AT90USB1286 boards using CDC bootloader
|
|
|
|
# AT90USB1286 boards using CDC bootloader
|
|
|
@ -558,10 +574,10 @@ build_unflags = -g -ggdb
|
|
|
|
# - TEENSYLU
|
|
|
|
# - TEENSYLU
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:at90usb1286_cdc]
|
|
|
|
[env:at90usb1286_cdc]
|
|
|
|
platform = teensy
|
|
|
|
platform = teensy
|
|
|
|
extends = common_avr8
|
|
|
|
extends = common_avr8
|
|
|
|
board = at90usb1286
|
|
|
|
board = at90usb1286
|
|
|
|
lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet
|
|
|
|
lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# AT90USB1286 boards using DFU bootloader
|
|
|
|
# AT90USB1286 boards using DFU bootloader
|
|
|
@ -570,8 +586,8 @@ lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet
|
|
|
|
# - ? 5DPRINT ?
|
|
|
|
# - ? 5DPRINT ?
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:at90usb1286_dfu]
|
|
|
|
[env:at90usb1286_dfu]
|
|
|
|
platform = teensy
|
|
|
|
platform = teensy
|
|
|
|
extends = env:at90usb1286_cdc
|
|
|
|
extends = env:at90usb1286_cdc
|
|
|
|
|
|
|
|
|
|
|
|
#################################
|
|
|
|
#################################
|
|
|
|
# #
|
|
|
|
# #
|
|
|
@ -586,20 +602,20 @@ extends = env:at90usb1286_cdc
|
|
|
|
# - RADDS
|
|
|
|
# - RADDS
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:DUE]
|
|
|
|
[env:DUE]
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
board = due
|
|
|
|
board = due
|
|
|
|
src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
|
|
|
|
src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
|
|
|
|
|
|
|
|
|
|
|
|
[env:DUE_USB]
|
|
|
|
[env:DUE_USB]
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
extends = env:DUE
|
|
|
|
extends = env:DUE
|
|
|
|
board = dueUSB
|
|
|
|
board = dueUSB
|
|
|
|
|
|
|
|
|
|
|
|
[env:DUE_debug]
|
|
|
|
[env:DUE_debug]
|
|
|
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
|
|
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
extends = env:DUE
|
|
|
|
extends = env:DUE
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
-funwind-tables
|
|
|
|
-funwind-tables
|
|
|
|
-mpoke-function-name
|
|
|
|
-mpoke-function-name
|
|
|
|
|
|
|
|
|
|
|
@ -607,24 +623,24 @@ build_flags = ${common.build_flags}
|
|
|
|
# Archim SAM
|
|
|
|
# Archim SAM
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[common_DUE_archim]
|
|
|
|
[common_DUE_archim]
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
extends = env:DUE
|
|
|
|
extends = env:DUE
|
|
|
|
board = archim
|
|
|
|
board = archim
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
|
|
|
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
|
|
|
board_build.variants_dir = buildroot/share/PlatformIO/variants/
|
|
|
|
board_build.variants_dir = buildroot/share/PlatformIO/variants/
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
Marlin/src/HAL/DUE/upload_extra_script.py
|
|
|
|
Marlin/src/HAL/DUE/upload_extra_script.py
|
|
|
|
|
|
|
|
|
|
|
|
[env:DUE_archim]
|
|
|
|
[env:DUE_archim]
|
|
|
|
platform = ${common_DUE_archim.platform}
|
|
|
|
platform = ${common_DUE_archim.platform}
|
|
|
|
extends = common_DUE_archim
|
|
|
|
extends = common_DUE_archim
|
|
|
|
|
|
|
|
|
|
|
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
|
|
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
|
|
|
[env:DUE_archim_debug]
|
|
|
|
[env:DUE_archim_debug]
|
|
|
|
platform = ${common_DUE_archim.platform}
|
|
|
|
platform = ${common_DUE_archim.platform}
|
|
|
|
extends = common_DUE_archim
|
|
|
|
extends = common_DUE_archim
|
|
|
|
build_flags = ${common_DUE_archim.build_flags} -funwind-tables -mpoke-function-name
|
|
|
|
build_flags = ${common_DUE_archim.build_flags} -funwind-tables -mpoke-function-name
|
|
|
|
|
|
|
|
|
|
|
|
#################################
|
|
|
|
#################################
|
|
|
|
# #
|
|
|
|
# #
|
|
|
@ -678,14 +694,14 @@ build_flags = ${common.build_flags} -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC17
|
|
|
|
# NXP LPC176x ARM Cortex-M3
|
|
|
|
# NXP LPC176x ARM Cortex-M3
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:LPC1768]
|
|
|
|
[env:LPC1768]
|
|
|
|
platform = ${common_LPC.platform}
|
|
|
|
platform = ${common_LPC.platform}
|
|
|
|
extends = common_LPC
|
|
|
|
extends = common_LPC
|
|
|
|
board = nxp_lpc1768
|
|
|
|
board = nxp_lpc1768
|
|
|
|
|
|
|
|
|
|
|
|
[env:LPC1769]
|
|
|
|
[env:LPC1769]
|
|
|
|
platform = ${common_LPC.platform}
|
|
|
|
platform = ${common_LPC.platform}
|
|
|
|
extends = common_LPC
|
|
|
|
extends = common_LPC
|
|
|
|
board = nxp_lpc1769
|
|
|
|
board = nxp_lpc1769
|
|
|
|
|
|
|
|
|
|
|
|
#################################
|
|
|
|
#################################
|
|
|
|
# #
|
|
|
|
# #
|
|
|
|