|
|
@ -51,27 +51,27 @@ lib_deps =
|
|
|
|
# ATmega2560
|
|
|
|
# ATmega2560
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:megaatmega2560]
|
|
|
|
[env:megaatmega2560]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = megaatmega2560
|
|
|
|
board = megaatmega2560
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
board_f_cpu = 16000000L
|
|
|
|
board_f_cpu = 16000000L
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# ATmega1280
|
|
|
|
# ATmega1280
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:megaatmega1280]
|
|
|
|
[env:megaatmega1280]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = megaatmega1280
|
|
|
|
board = megaatmega1280
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
board_f_cpu = 16000000L
|
|
|
|
board_f_cpu = 16000000L
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Due (Atmel SAM3X8E ARM Cortex-M3)
|
|
|
|
# Due (Atmel SAM3X8E ARM Cortex-M3)
|
|
|
@ -80,35 +80,35 @@ monitor_baud = 250000
|
|
|
|
# - RADDS
|
|
|
|
# - RADDS
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:DUE]
|
|
|
|
[env:DUE]
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = due
|
|
|
|
board = due
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ignore = c1921b4
|
|
|
|
lib_ignore = c1921b4
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
[env:DUE_USB]
|
|
|
|
[env:DUE_USB]
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = dueUSB
|
|
|
|
board = dueUSB
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ignore = c1921b4
|
|
|
|
lib_ignore = c1921b4
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
[env:DUE_debug]
|
|
|
|
[env:DUE_debug]
|
|
|
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
|
|
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
|
|
|
platform = atmelsam
|
|
|
|
platform = atmelsam
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = due
|
|
|
|
board = due
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
-funwind-tables
|
|
|
|
-funwind-tables
|
|
|
|
-mpoke-function-name
|
|
|
|
-mpoke-function-name
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ignore = c1921b4
|
|
|
|
lib_ignore = c1921b4
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# NXP LPC1768 ARM Cortex-M3
|
|
|
|
# NXP LPC1768 ARM Cortex-M3
|
|
|
@ -129,7 +129,7 @@ lib_deps = CMSIS-LPC1768
|
|
|
|
TMC2130Stepper@>=2.2.1
|
|
|
|
TMC2130Stepper@>=2.2.1
|
|
|
|
extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py, Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
|
|
|
|
extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py, Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# LPC1768 (for debugging and development)
|
|
|
|
# LPC1768 (for debugging and development)
|
|
|
@ -149,7 +149,7 @@ lib_deps = CMSIS-LPC1768
|
|
|
|
https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
|
|
|
|
https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
|
|
|
extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
debug_tool = custom
|
|
|
|
debug_tool = custom
|
|
|
|
debug_server =
|
|
|
|
debug_server =
|
|
|
|
C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
|
|
|
|
C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
|
|
|
@ -164,73 +164,73 @@ debug_server =
|
|
|
|
# Melzi and clones (ATmega1284p)
|
|
|
|
# Melzi and clones (ATmega1284p)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:melzi]
|
|
|
|
[env:melzi]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
upload_speed = 57600
|
|
|
|
upload_speed = 57600
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Melzi and clones (Optiboot bootloader)
|
|
|
|
# Melzi and clones (Optiboot bootloader)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:melzi_optiboot]
|
|
|
|
[env:melzi_optiboot]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
upload_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# RAMBo
|
|
|
|
# RAMBo
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:rambo]
|
|
|
|
[env:rambo]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = reprap_rambo
|
|
|
|
board = reprap_rambo
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
board_f_cpu = 16000000L
|
|
|
|
board_f_cpu = 16000000L
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Sanguinololu (ATmega644p)
|
|
|
|
# Sanguinololu (ATmega644p)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:sanguino_atmega644p]
|
|
|
|
[env:sanguino_atmega644p]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = sanguino_atmega644p
|
|
|
|
board = sanguino_atmega644p
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Sanguinololu (ATmega1284p)
|
|
|
|
# Sanguinololu (ATmega1284p)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:sanguino_atmega1284p]
|
|
|
|
[env:sanguino_atmega1284p]
|
|
|
|
platform = atmelavr
|
|
|
|
platform = atmelavr
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
board = sanguino_atmega1284p
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
[env:STM32F1]
|
|
|
|
[env:STM32F1]
|
|
|
|
platform = ststm32
|
|
|
|
platform = ststm32
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = genericSTM32F103RE
|
|
|
|
board = genericSTM32F103RE
|
|
|
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
|
|
|
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
|
|
|
|
${common.build_flags}
|
|
|
|
${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ignore = U8glib-HAL
|
|
|
|
lib_ignore = U8glib-HAL
|
|
|
|
c1921b4
|
|
|
|
c1921b4
|
|
|
|
libf3c
|
|
|
|
libf3c
|
|
|
|
lib066
|
|
|
|
lib066
|
|
|
@ -238,19 +238,19 @@ lib_ignore = U8glib-HAL
|
|
|
|
Adafruit NeoPixel
|
|
|
|
Adafruit NeoPixel
|
|
|
|
libf3e
|
|
|
|
libf3e
|
|
|
|
TMC26XStepper
|
|
|
|
TMC26XStepper
|
|
|
|
lib_ldf_mode = 1
|
|
|
|
lib_ldf_mode = 1
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
[env:STM32F4]
|
|
|
|
[env:STM32F4]
|
|
|
|
platform = ststm32
|
|
|
|
platform = ststm32
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = disco_f407vg
|
|
|
|
board = disco_f407vg
|
|
|
|
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
|
|
|
|
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ignore = Adafruit NeoPixel, c1921b4, TMC2130Stepper
|
|
|
|
lib_ignore = Adafruit NeoPixel, c1921b4, TMC2130Stepper
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Teensy++ 2.0
|
|
|
|
# Teensy++ 2.0
|
|
|
@ -268,20 +268,20 @@ build_flags = ${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ldf_mode = deep+
|
|
|
|
lib_ldf_mode = deep+
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Teensy 3.5 / 3.6 (ARM Cortex-M4)
|
|
|
|
# Teensy 3.5 / 3.6 (ARM Cortex-M4)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
[env:teensy35]
|
|
|
|
[env:teensy35]
|
|
|
|
platform = teensy
|
|
|
|
platform = teensy
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
|
board = teensy35
|
|
|
|
board = teensy35
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_deps = ${common.lib_deps}
|
|
|
|
lib_ignore = Adafruit NeoPixel
|
|
|
|
lib_ignore = Adafruit NeoPixel
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
src_filter = ${common.default_src_filter}
|
|
|
|
monitor_baud = 250000
|
|
|
|
monitor_speed = 250000
|
|
|
|
|
|
|
|
|
|
|
|
[env:malyanm200]
|
|
|
|
[env:malyanm200]
|
|
|
|
platform = ststm32
|
|
|
|
platform = ststm32
|
|
|
|