Merge upstream changes from Marlin 2.1.2.1
This commit is contained in:
@@ -41,7 +41,7 @@ upload_protocol = stlink
|
||||
debug_tool = stlink
|
||||
|
||||
#
|
||||
# BigTreeTech SKR mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
|
||||
# BigTreeTech SKR Mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
|
||||
#
|
||||
[env:STM32G0B1RE_btt]
|
||||
extends = stm32_variant
|
||||
@@ -59,7 +59,11 @@ upload_protocol = stlink
|
||||
debug_tool = stlink
|
||||
|
||||
#
|
||||
# BigTreeTech SKR Mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
|
||||
# Custom upload to SD via Marlin with Binary Protocol
|
||||
# Requires Marlin with BINARY_FILE_TRANSFER already installed on the target board.
|
||||
# If CUSTOM_FIRMWARE_UPLOAD is also installed, Marlin will reboot the board to install the firmware.
|
||||
# Currently CUSTOM_FIRMWARE_UPLOAD must also be enabled to use 'xfer' build envs.
|
||||
#
|
||||
[env:STM32G0B1RE_btt_xfer]
|
||||
extends = env:STM32G0B1RE_btt
|
||||
@@ -67,3 +71,55 @@ build_flags = ${env:STM32G0B1RE_btt.build_flags} -DXFER_BUILD
|
||||
extra_scripts = ${env:STM32G0B1RE_btt.extra_scripts}
|
||||
pre:buildroot/share/scripts/upload.py
|
||||
upload_protocol = custom
|
||||
|
||||
#
|
||||
# BigTreeTech Manta E3 EZ V1.0 / Manta M4P V1.0 / Manta M5P V1.0 (STM32G0B1RET6 ARM Cortex-M0+)
|
||||
#
|
||||
[env:STM32G0B1RE_manta_btt]
|
||||
extends = env:STM32G0B1RE_btt
|
||||
build_flags = ${env:STM32G0B1RE_btt.build_flags}
|
||||
-DPIN_SERIAL3_RX=PD_9 -DPIN_SERIAL3_TX=PD_8 -DENABLE_HWSERIAL3
|
||||
|
||||
#
|
||||
# BigTreeTech Manta E3 EZ V1.0 / Manta M4P V1.0 / Manta M5P V1.0 (STM32G0B1RET6 ARM Cortex-M0+)
|
||||
# Custom upload to SD via Marlin with Binary Protocol
|
||||
# Requires Marlin with BINARY_FILE_TRANSFER already installed on the target board.
|
||||
# If CUSTOM_FIRMWARE_UPLOAD is also installed, Marlin will reboot the board to install the firmware.
|
||||
# Currently CUSTOM_FIRMWARE_UPLOAD must also be enabled to use 'xfer' build envs.
|
||||
#
|
||||
[env:STM32G0B1RE_manta_btt_xfer]
|
||||
extends = env:STM32G0B1RE_manta_btt
|
||||
build_flags = ${env:STM32G0B1RE_manta_btt.build_flags} -DXFER_BUILD
|
||||
extra_scripts = ${env:STM32G0B1RE_manta_btt.extra_scripts}
|
||||
pre:buildroot/share/scripts/upload.py
|
||||
upload_protocol = custom
|
||||
|
||||
#
|
||||
# BigTreeTech Manta M8P V1.x (STM32G0B1VET6 ARM Cortex-M0+)
|
||||
#
|
||||
[env:STM32G0B1VE_btt]
|
||||
extends = stm32_variant
|
||||
platform = ststm32@~14.1.0
|
||||
platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
|
||||
board = marlin_STM32G0B1VE
|
||||
board_build.offset = 0x2000
|
||||
board_upload.offset_address = 0x08002000
|
||||
build_flags = ${stm32_variant.build_flags}
|
||||
-DPIN_SERIAL4_RX=PE_9 -DPIN_SERIAL4_TX=PE_8
|
||||
-DPIN_SERIAL5_RX=PE_11 -DPIN_SERIAL5_TX=PE_10
|
||||
-DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
|
||||
-DTIMER_SERVO=TIM3 -DTIMER_TONE=TIM4
|
||||
-DSTEP_TIMER_IRQ_PRIO=0
|
||||
upload_protocol = stlink
|
||||
debug_tool = stlink
|
||||
|
||||
#
|
||||
# BigTreeTech Manta M8P V1.x (STM32G0B1VET6 ARM Cortex-M0+)
|
||||
# Custom upload to SD via Marlin with Binary Protocol
|
||||
#
|
||||
[env:STM32G0B1VE_btt_xfer]
|
||||
extends = env:STM32G0B1VE_btt
|
||||
build_flags = ${env:STM32G0B1VE_btt.build_flags} -DXFER_BUILD
|
||||
extra_scripts = ${env:STM32G0B1VE_btt.extra_scripts}
|
||||
pre:buildroot/share/scripts/upload.py
|
||||
upload_protocol = custom
|
||||
|
Reference in New Issue
Block a user