🐛 Fix Longer3D STM32 boot, add Maple test (#22473)

This commit is contained in:
Tanguy Pruvot
2021-08-04 08:14:54 +02:00
committed by Scott Lahteine
parent ac64d6915f
commit 2b2a8355c9
9 changed files with 1299 additions and 9 deletions

View File

@ -330,19 +330,19 @@ upload_protocol = serial
#
[env:STM32F103VE_longer]
platform = ${common_stm32.platform}
lib_deps = ${common.lib_deps}
https://github.com/tpruvot/STM32_Servo_OpenDrain/archive/2.0.zip
extends = stm32_variant
board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx
board_build.variant = MARLIN_F103VE_LONGER
board_build.rename = project.bin
board_build.offset = 0x10000
board_upload.offset_address = 0x08010000
build_flags = ${stm32_variant.build_flags}
-DMCU_STM32F103VE -DU20 -DTS_V12 -DLED_BUILTIN=PC2 -UPIN_WIRE_SDA
-UPIN_WIRE_SCL -DPIN_WIRE_SDA=PB11 -DPIN_WIRE_SCL=PB10
-DHAL_DAC_MODULE_DISABLED -DHAL_I2S_MODULE_DISABLED
build_unflags = ${stm32_variant.build_unflags}
-DUSBCON -DUSBD_USE_CDC -DHAL_PCD_MODULE_ENABLED
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F103VE -DU20 -DTS_V12
build_unflags = ${stm32_variant.build_unflags} -DUSBCON -DUSBD_USE_CDC -DHAL_PCD_MODULE_ENABLED
extra_scripts = ${stm32_variant.extra_scripts}
monitor_speed = 250000
debug_tool = stlink
#
# TRIGORILLA PRO (STM32F103ZET6)