Merge upstream changes from Marlin 2.1.2.2
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
platform = ststm32@~12.1
|
||||
board_build.core = maple
|
||||
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
||||
${common.build_flags} -DARDUINO_ARCH_STM32 -DMAPLE_STM32F1
|
||||
${common.build_flags} -DARDUINO_ARCH_STM32 -DMAPLE_STM32F1 -DPLATFORM_M997_SUPPORT
|
||||
build_unflags = -std=gnu11 -std=gnu++11
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
||||
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32F1> -<src/HAL/STM32F1/tft>
|
||||
lib_ignore = SPI, FreeRTOS701, FreeRTOS821
|
||||
lib_deps = ${common.lib_deps}
|
||||
SoftwareSerialM
|
||||
@@ -95,7 +95,7 @@ upload_protocol = serial
|
||||
# BigTreeTech 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_USB_maple ......... RCT6 with 256K with USB Media Share Support
|
||||
#
|
||||
[env:STM32F103RC_btt_maple]
|
||||
extends = env:STM32F103RC_maple
|
||||
@@ -111,28 +111,26 @@ lib_deps = ${env:STM32F103RC_btt_maple.lib_deps}
|
||||
USBComposite for STM32F1@0.91
|
||||
|
||||
#
|
||||
# Creality (STM32F103RET6)
|
||||
# Creality 512K (STM32F103RET6)
|
||||
#
|
||||
[env:STM32F103RE_creality_maple]
|
||||
extends = env:STM32F103RE_maple
|
||||
build_flags = ${env:STM32F103RE_maple.build_flags} -DTEMP_TIMER_CHAN=4
|
||||
board_build.address = 0x08007000
|
||||
board_build.ldscript = creality.ld
|
||||
extra_scripts = ${env:STM32F103RE_maple.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/random-bin.py
|
||||
board_build.rename = firmware-{date}-{time}.bin
|
||||
debug_tool = jlink
|
||||
upload_protocol = jlink
|
||||
|
||||
#
|
||||
# Creality (STM32F103RCT6)
|
||||
# Creality 256K (STM32F103RCT6)
|
||||
#
|
||||
[env:STM32F103RC_creality_maple]
|
||||
extends = env:STM32F103RC_maple
|
||||
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
|
||||
board_build.address = 0x08007000
|
||||
board_build.ldscript = creality.ld
|
||||
extra_scripts = ${env:STM32F103RC_maple.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/random-bin.py
|
||||
board_build.ldscript = creality256k.ld
|
||||
board_build.rename = firmware-{date}-{time}.bin
|
||||
debug_tool = jlink
|
||||
upload_protocol = jlink
|
||||
|
||||
@@ -148,7 +146,7 @@ board_build.ldscript = crealityPro.ld
|
||||
# BigTreeTech SKR Mini E3 V2.0 & DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
|
||||
#
|
||||
# STM32F103RE_btt_maple ............. RET6
|
||||
# STM32F103RE_btt_USB_maple ......... RET6 (USB mass storage)
|
||||
# STM32F103RE_btt_USB_maple ......... RET6 with USB Media Share Support
|
||||
#
|
||||
[env:STM32F103RE_btt_maple]
|
||||
extends = env:STM32F103RE_maple
|
||||
@@ -305,7 +303,7 @@ extends = STM32F1_maple
|
||||
board = marlin_malyanM200
|
||||
build_flags = ${STM32F1_maple.build_flags}
|
||||
-DMCU_STM32F103CB -D__STM32F1__=1 -std=c++1y -DSERIAL_USB -ffunction-sections -fdata-sections
|
||||
-Wl,--gc-sections -DDEBUG_LEVEL=0 -D__MARLIN_FIRMWARE__
|
||||
-Wl,--gc-sections -DDEBUG_LEVEL=0
|
||||
lib_ignore = ${STM32F1_maple.lib_ignore}
|
||||
SoftwareSerialM
|
||||
|
||||
@@ -400,8 +398,6 @@ extends = env:STM32F103RE_maple
|
||||
build_flags = ${STM32F1_maple.build_flags} -DTEMP_TIMER_CHAN=4
|
||||
board_build.address = 0x08007000
|
||||
board_build.ldscript = sovol.ld
|
||||
extra_scripts = ${STM32F1_maple.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/random-bin.py
|
||||
buildroot/share/PlatformIO/scripts/custom_board.py
|
||||
board_build.rename = firmware-{date}-{time}.bin
|
||||
debug_tool = jlink
|
||||
upload_protocol = jlink
|
||||
|
Reference in New Issue
Block a user