🐛 Creality Free Runs fixups (#26562)

Followup to #25636, #26533

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
ellensp
2023-12-25 07:07:00 +13:00
committed by GitHub
parent fa8d2bd108
commit 18b0dbb501
10 changed files with 55 additions and 76 deletions

View File

@@ -742,17 +742,14 @@ upload_protocol = stlink
#
[env:STM32F401RE_freeruns]
extends = stm32_variant
board = genericSTM32F401RE
board_build.variant = marlin_STM32F401RE_freeruns
board = marlin_STM32F401RE_freeruns
board_build.offset = 0x10000
board_upload.offset_address = 0x08010000
board_build.rename = firmware-{date}-{time}.bin
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RE -DSTM32F4
build_flags = ${stm32_variant.build_flags} -DSTM32F401xE
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
-DTRANSFER_CLOCK_DIV=8
build_unflags = ${stm32_variant.build_unflags} -DUSBCON -DUSBD_USE_CDC
extra_scripts = ${stm32_variant.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/random-bin.py
monitor_speed = 115200
[env:STM32F401RE_freeruns_jlink]