More 'extend'ed environments (#18118)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
parent
11ef4833f8
commit
a740b6b318
192
platformio.ini
192
platformio.ini
@ -56,6 +56,12 @@ lib_deps =
|
|||||||
SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
|
SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
|
||||||
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
||||||
|
|
||||||
|
[common_avr8]
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
|
||||||
# Globally defined properties
|
# Globally defined properties
|
||||||
# inherited by all environments
|
# inherited by all environments
|
||||||
[env]
|
[env]
|
||||||
@ -78,112 +84,85 @@ monitor_speed = 250000
|
|||||||
# ATmega2560
|
# ATmega2560
|
||||||
#
|
#
|
||||||
[env:mega2560]
|
[env:mega2560]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = megaatmega2560
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = megaatmega2560
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# ATmega1280
|
# ATmega1280
|
||||||
#
|
#
|
||||||
[env:mega1280]
|
[env:mega1280]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = megaatmega1280
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = megaatmega1280
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# MightyBoard ATmega2560 (MegaCore 100 pin boards variants)
|
# MightyBoard ATmega2560 (MegaCore 100 pin boards variants)
|
||||||
#
|
#
|
||||||
[env:MightyBoard1280]
|
[env:MightyBoard1280]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = ATmega1280
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = megaatmega1280
|
||||||
lib_deps = ${common.lib_deps}
|
upload_speed = 57600
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
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
|
||||||
board = ATmega2560
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = megaatmega2560
|
||||||
lib_deps = ${common.lib_deps}
|
upload_protocol = wiring
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
upload_speed = 57600
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
upload_protocol = wiring
|
|
||||||
upload_speed = 57600
|
|
||||||
board_upload.maximum_size = 253952
|
board_upload.maximum_size = 253952
|
||||||
|
|
||||||
#
|
#
|
||||||
# RAMBo
|
# RAMBo
|
||||||
#
|
#
|
||||||
[env:rambo]
|
[env:rambo]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = reprap_rambo
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = reprap_rambo
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# FYSETC F6 V1.3
|
# FYSETC F6 V1.3
|
||||||
#
|
#
|
||||||
[env:FYSETC_F6_13]
|
[env:FYSETC_F6_13]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = fysetc_f6_13
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = fysetc_f6_13
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# FYSETC F6 V1.4
|
# FYSETC F6 V1.4
|
||||||
#
|
#
|
||||||
[env:FYSETC_F6_14]
|
[env:FYSETC_F6_14]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = fysetc_f6_14
|
extends = common_avr8
|
||||||
board_build.f_cpu = 16000000L
|
board = fysetc_f6_14
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sanguinololu (ATmega644p)
|
# Sanguinololu (ATmega644p)
|
||||||
#
|
#
|
||||||
[env:sanguino644p]
|
[env:sanguino644p]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
extends = common_avr8
|
||||||
board = sanguino_atmega644p
|
board = sanguino_atmega644p
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sanguinololu (ATmega1284p)
|
# Sanguinololu (ATmega1284p)
|
||||||
#
|
#
|
||||||
[env:sanguino1284p]
|
[env:sanguino1284p]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
extends = common_avr8
|
||||||
board = sanguino_atmega1284p
|
board = sanguino_atmega1284p
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Melzi and clones (ATmega1284p)
|
# Melzi and clones (ATmega1284p)
|
||||||
#
|
#
|
||||||
[env:melzi]
|
[env:melzi]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
extends = common_avr8
|
||||||
board = sanguino_atmega1284p
|
board = sanguino_atmega1284p
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
lib_ignore = TMCStepper
|
lib_ignore = TMCStepper
|
||||||
upload_speed = 57600
|
upload_speed = 57600
|
||||||
|
|
||||||
@ -192,11 +171,7 @@ upload_speed = 57600
|
|||||||
#
|
#
|
||||||
[env:melzi_optiboot]
|
[env:melzi_optiboot]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = sanguino_atmega1284p
|
extends = env:melzi
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
lib_ignore = TMCStepper
|
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -208,11 +183,9 @@ upload_speed = 115200
|
|||||||
#
|
#
|
||||||
[env:at90usb1286_cdc]
|
[env:at90usb1286_cdc]
|
||||||
platform = teensy
|
platform = teensy
|
||||||
|
extends = common_avr8
|
||||||
board = at90usb1286
|
board = at90usb1286
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
|
||||||
lib_ignore = TMCStepper
|
lib_ignore = TMCStepper
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# AT90USB1286 boards using DFU bootloader
|
# AT90USB1286 boards using DFU bootloader
|
||||||
@ -222,10 +195,7 @@ src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|||||||
#
|
#
|
||||||
[env:at90usb1286_dfu]
|
[env:at90usb1286_dfu]
|
||||||
platform = teensy
|
platform = teensy
|
||||||
board = at90usb1286
|
extends = env:at90usb1286_cdc
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
lib_ignore = TMCStepper
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Due (Atmel SAM3X8E ARM Cortex-M3)
|
# Due (Atmel SAM3X8E ARM Cortex-M3)
|
||||||
@ -255,7 +225,7 @@ build_flags = ${common.build_flags}
|
|||||||
#
|
#
|
||||||
# Archim SAM
|
# Archim SAM
|
||||||
#
|
#
|
||||||
[env:DUE_archim]
|
[common_DUE_archim]
|
||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
board = due
|
board = due
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
||||||
@ -263,54 +233,49 @@ build_flags = ${common.build_flags}
|
|||||||
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
||||||
extra_scripts = Marlin/src/HAL/DUE/upload_extra_script.py
|
extra_scripts = Marlin/src/HAL/DUE/upload_extra_script.py
|
||||||
|
|
||||||
[env:DUE_archim_debug]
|
[env:DUE_archim]
|
||||||
|
platform = ${common_DUE_archim.platform}
|
||||||
|
extends = common_DUE_archim
|
||||||
|
|
||||||
# Used when WATCHDOG_RESET_MANUAL is enabled
|
# Used when WATCHDOG_RESET_MANUAL is enabled
|
||||||
platform = atmelsam
|
[env:DUE_archim_debug]
|
||||||
board = due
|
platform = ${common_DUE_archim.platform}
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
extends = common_DUE_archim
|
||||||
build_flags = ${common.build_flags}
|
build_flags = ${common_DUE_archim.build_flags} -funwind-tables -mpoke-function-name
|
||||||
-DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
|
|
||||||
-funwind-tables -mpoke-function-name
|
#
|
||||||
extra_scripts = Marlin/src/HAL/DUE/upload_extra_script.py
|
# NXP LPC176x ARM Cortex-M3
|
||||||
|
#
|
||||||
|
[common_LPC]
|
||||||
|
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip
|
||||||
|
board = nxp_lpc1768
|
||||||
|
build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g ${common.build_flags}
|
||||||
|
lib_ldf_mode = off
|
||||||
|
lib_compat_mode = strict
|
||||||
|
extra_scripts = Marlin/src/HAL/LPC1768/upload_extra_script.py
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
|
||||||
|
lib_deps = Servo
|
||||||
|
LiquidCrystal
|
||||||
|
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
||||||
|
TMCStepper@>=0.6.2
|
||||||
|
Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/release.zip
|
||||||
|
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
||||||
|
# debug options for backtrace
|
||||||
|
# -funwind-tables
|
||||||
|
# -mpoke-function-name
|
||||||
|
|
||||||
#
|
#
|
||||||
# NXP LPC176x ARM Cortex-M3
|
# NXP LPC176x ARM Cortex-M3
|
||||||
#
|
#
|
||||||
[env:LPC1768]
|
[env:LPC1768]
|
||||||
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip
|
platform = ${common_LPC.platform}
|
||||||
board = nxp_lpc1768
|
extends = common_LPC
|
||||||
build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g ${common.build_flags}
|
board = nxp_lpc1768
|
||||||
# debug options for backtrace
|
|
||||||
# -funwind-tables
|
|
||||||
# -mpoke-function-name
|
|
||||||
lib_ldf_mode = off
|
|
||||||
lib_compat_mode = strict
|
|
||||||
extra_scripts = Marlin/src/HAL/LPC1768/upload_extra_script.py
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
|
|
||||||
lib_deps = Servo
|
|
||||||
LiquidCrystal
|
|
||||||
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
|
||||||
TMCStepper@>=0.6.2
|
|
||||||
Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/release.zip
|
|
||||||
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
|
||||||
|
|
||||||
[env:LPC1769]
|
[env:LPC1769]
|
||||||
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip
|
platform = ${common_LPC.platform}
|
||||||
board = nxp_lpc1769
|
extends = common_LPC
|
||||||
build_flags = -DU8G_HAL_LINKS -IMarlin/src/HAL/LPC1768/include -IMarlin/src/HAL/LPC1768/u8g ${common.build_flags}
|
board = nxp_lpc1769
|
||||||
# debug options for backtrace
|
|
||||||
# -funwind-tables
|
|
||||||
# -mpoke-function-name
|
|
||||||
lib_ldf_mode = off
|
|
||||||
lib_compat_mode = strict
|
|
||||||
extra_scripts = Marlin/src/HAL/LPC1768/upload_extra_script.py
|
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
|
|
||||||
lib_deps = Servo
|
|
||||||
LiquidCrystal
|
|
||||||
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
|
||||||
TMCStepper@>=0.6.2
|
|
||||||
Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/release.zip
|
|
||||||
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# STM32F103RC
|
# STM32F103RC
|
||||||
@ -610,9 +575,10 @@ platform = ststm32
|
|||||||
platform_packages = framework-arduinoststm32@${common.arduinoststm32_ver}
|
platform_packages = framework-arduinoststm32@${common.arduinoststm32_ver}
|
||||||
board = STEVAL_STM32F401VE
|
board = STEVAL_STM32F401VE
|
||||||
build_flags = ${common.build_flags}
|
build_flags = ${common.build_flags}
|
||||||
-DTARGET_STM32F4 -DARDUINO_STEVAL -DSTM32F401xE
|
-DTARGET_STM32F4 -DSTM32F401xE -DUSBCON
|
||||||
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STEVAL_F401VE\"
|
-DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STEVAL_F401VE\"
|
||||||
-DDISABLE_GENERIC_SERIALUSB -DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
|
-DARDUINO_STEVAL -DDISABLE_GENERIC_SERIALUSB
|
||||||
|
-DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
|
||||||
-IMarlin/src/HAL/STM32
|
-IMarlin/src/HAL/STM32
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
||||||
@ -628,9 +594,9 @@ platform = ststm32
|
|||||||
platform_packages = framework-arduinoststm32@${common.arduinoststm32_ver}
|
platform_packages = framework-arduinoststm32@${common.arduinoststm32_ver}
|
||||||
board = FLYF407ZG
|
board = FLYF407ZG
|
||||||
build_flags = ${common.build_flags}
|
build_flags = ${common.build_flags}
|
||||||
-DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
|
-DTARGET_STM32F4 -DSTM32F4 -DUSBCON
|
||||||
-DTARGET_STM32F4 -DVECT_TAB_OFFSET=0x8000
|
-DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
|
||||||
-IMarlin/src/HAL/STM32
|
-DVECT_TAB_OFFSET=0x8000 -IMarlin/src/HAL/STM32
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
||||||
lib_ignore = Adafruit NeoPixel, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
|
lib_ignore = Adafruit NeoPixel, SailfishLCD, SlowSoftI2CMaster, SoftwareSerial
|
||||||
|
Loading…
Reference in New Issue
Block a user