🔨 MKS Robin2 PIO Env (#25792)

This commit is contained in:
ellensp
2023-05-08 23:54:46 +12:00
committed by Scott Lahteine
parent 0708275c6a
commit 6e91f3608b
11 changed files with 1761 additions and 3 deletions

View File

@@ -418,7 +418,20 @@ monitor_speed = 500000
upload_protocol = dfu
#
# MKS Robin Pro V2
# STM32F407ZET6 ARM Cortex-M4
#
[env:mks_robin2]
extends = stm32_variant
board = marlin_MKS_ROBIN2
board_build.offset = 0xC000
board_upload.offset_address = 0x0800C000
board_build.encrypt_mks = Robin2.bin
build_flags = ${stm32_variant.build_flags}
-DTARGET_STM32F4 -DSTM32F407_5ZX
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSBD_PID=0x3748 -DUSB_PRODUCT=\"MKS_Robin2\"
#
# MKS Robin Pro V2 (No bootloader!)
#
[env:mks_robin_pro2]
extends = stm32_variant