|
|
|
@ -1310,17 +1310,39 @@ build_flags = ${lerdge_common.build_flags}
|
|
|
|
|
# RUMBA32
|
|
|
|
|
#
|
|
|
|
|
[env:rumba32]
|
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
|
extends = common_stm32
|
|
|
|
|
build_flags = ${common_stm32.build_flags}
|
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
|
extends = common_stm32
|
|
|
|
|
build_flags = ${common_stm32.build_flags}
|
|
|
|
|
-Os
|
|
|
|
|
-DHAL_PCD_MODULE_ENABLED
|
|
|
|
|
-DDISABLE_GENERIC_SERIALUSB
|
|
|
|
|
-DHAL_UART_MODULE_ENABLED
|
|
|
|
|
-DTIMER_SERIAL=TIM9
|
|
|
|
|
board = rumba32_f446ve
|
|
|
|
|
board = rumba32_f446ve
|
|
|
|
|
upload_protocol = dfu
|
|
|
|
|
monitor_speed = 500000
|
|
|
|
|
monitor_speed = 500000
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# MKS Robin Nano V1.2 and V2 using hal STM32
|
|
|
|
|
#
|
|
|
|
|
[env:mks_robin_nano35_stm32]
|
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
|
extends = common_stm32
|
|
|
|
|
build_flags = ${common_stm32.build_flags} -DMCU_STM32F103VE -DSS_TIMER=4 -DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
|
|
|
|
|
board = genericSTM32F103VE
|
|
|
|
|
board_build.core = stm32
|
|
|
|
|
board_build.variant = MARLIN_F103Vx
|
|
|
|
|
board_build.ldscript = ldscript.ld
|
|
|
|
|
board_build.offset = 0x7000
|
|
|
|
|
board_build.firmware = Robin_nano35.bin
|
|
|
|
|
board_upload.offset_address = 0x08007000
|
|
|
|
|
build_unflags = ${common_stm32.build_unflags} -DUSBCON -DUSBD_USE_CDC
|
|
|
|
|
debug_tool = jlink
|
|
|
|
|
upload_protocol = jlink
|
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
|
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
|
|
|
|
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
|
|
|
|
|
buildroot/share/PlatformIO/scripts/mks_encrypt.py
|
|
|
|
|
|
|
|
|
|
#################################
|
|
|
|
|
# #
|
|
|
|
|