🔨 Envs for BTT SKR Mini with RET6 (512K) (#22050)

This commit is contained in:
Keith Bennett
2021-06-10 14:09:29 -07:00
committed by Scott Lahteine
parent 3e7a9e5d20
commit 5d80f7006a
4 changed files with 16 additions and 57 deletions

View File

@ -85,19 +85,11 @@ debug_tool = stlink
upload_protocol = serial
#
# BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
# BigTree SKR Mini V1.1 / SKR Mini E3 & MZ (STM32F103RCT6 ARM Cortex-M3)
#
# STM32F103RC_btt_maple ............. RCT6 with 256K
# STM32F103RC_btt_USB_maple ......... RCT6 with 256K (USB mass storage)
# STM32F103RC_btt_512K_maple ........ RCT6 with 512K
# STM32F103RC_btt_512K_USB_maple .... RCT6 with 512K (USB mass storage)
#
# WARNING! If you have an SKR Mini v1.1 or an SKR Mini E3 1.0 / 1.2 / 2.0 / DIP
# and experience a printer freeze, re-flash Marlin using the regular (non-512K)
# build option. 256K chips may be re-branded 512K chips, but this means the
# upper 256K is sketchy, and failure is very likely.
#
[env:STM32F103RC_btt_maple]
platform = ${common_stm32f1.platform}
extends = common_STM32F103RC_maple
@ -116,20 +108,6 @@ build_flags = ${env:STM32F103RC_btt_maple.build_flags} -DUSE_USB_COMPOSITE
lib_deps = ${env:STM32F103RC_btt_maple.lib_deps}
USBComposite for STM32F1@0.91
[env:STM32F103RC_btt_512K_maple]
platform = ${common_stm32f1.platform}
extends = env:STM32F103RC_btt_maple
board_build.ldscript = STM32F103RE_SKR_MINI_512K.ld
board_upload.maximum_size = 524288
build_flags = ${env:STM32F103RC_btt_maple.build_flags} -DSTM32_FLASH_SIZE=512
[env:STM32F103RC_btt_512K_USB_maple]
platform = ${common_stm32f1.platform}
extends = env:STM32F103RC_btt_512K_maple
build_flags = ${env:STM32F103RC_btt_512K_maple.build_flags} -DUSE_USB_COMPOSITE
lib_deps = ${env:STM32F103RC_btt_512K_maple.lib_deps}
USBComposite for STM32F1@0.91
#
# Generic STM32F103RE environment
#
@ -155,7 +133,7 @@ debug_tool = jlink
upload_protocol = jlink
#
# BigTree SKR Mini E3 DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
# BigTree SKR Mini E3 V2.0 & DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
#
# STM32F103RE_btt_maple ............. RET6
# STM32F103RE_btt_USB_maple ......... RET6 (USB mass storage)