✨ MKS Monster8 board (#22455)
This commit is contained in:
@ -346,7 +346,7 @@ debug_tool = jlink
|
||||
upload_protocol = jlink
|
||||
|
||||
#
|
||||
# This SPI is used by Robin Nano V3
|
||||
# This I2C1(PB6:I2C1_SCL PB7:I2C1_SDA) is used by Robin Nano V3
|
||||
#
|
||||
[stm32f4_I2C1]
|
||||
build_flags = -DPIN_WIRE_SCL=PB6 -DPIN_WIRE_SDA=PB7
|
||||
@ -360,8 +360,8 @@ extends = stm32_variant
|
||||
board = marlin_STM32F407VGT6_CCM
|
||||
board_build.variant = MARLIN_F4x7Vx
|
||||
board_build.offset = 0xC000
|
||||
board_build.rename = Robin_nano_v3.bin
|
||||
board_upload.offset_address = 0x0800C000
|
||||
board_build.rename = Robin_nano_v3.bin
|
||||
build_flags = ${stm32_variant.build_flags} ${stm32f4_I2C1.build_flags}
|
||||
-DHAL_PCD_MODULE_ENABLED
|
||||
debug_tool = jlink
|
||||
@ -390,3 +390,49 @@ platform = ${common_stm32.platform}
|
||||
extends = env:mks_robin_nano_v3_usb_flash_drive
|
||||
build_flags = ${env:mks_robin_nano_v3_usb_flash_drive}
|
||||
-DUSBD_USE_CDC_MSC
|
||||
|
||||
#
|
||||
# This I2C1(PB8:I2C1_SCL PB9:I2C1_SDA) is used by MKS Monster8
|
||||
#
|
||||
[stm32f4_I2C1_CAN]
|
||||
build_flags = -DPIN_WIRE_SCL=PB8 -DPIN_WIRE_SDA=PB9
|
||||
|
||||
#
|
||||
# MKS Monster8
|
||||
#
|
||||
[env:mks_monster8]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = stm32_variant
|
||||
board = marlin_STM32F407VGT6_CCM
|
||||
board_build.variant = MARLIN_F4x7Vx
|
||||
board_build.offset = 0xC000
|
||||
board_upload.offset_address = 0x0800C000
|
||||
board_build.rename = mks_monster8.bin
|
||||
build_flags = ${stm32_variant.build_flags} ${stm32f4_I2C1_CAN.build_flags}
|
||||
-DHAL_PCD_MODULE_ENABLED
|
||||
debug_tool = jlink
|
||||
upload_protocol = jlink
|
||||
|
||||
#
|
||||
# MKS Monster8 with USB Flash Drive Support
|
||||
# Currently, using a STM32duino fork, until USB Host get merged
|
||||
#
|
||||
[env:mks_monster8_usb_flash_drive]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = env:mks_monster8
|
||||
platform_packages = ${stm_flash_drive.platform_packages}
|
||||
build_flags = ${stm_flash_drive.build_flags} ${stm32f4_I2C1_CAN.build_flags}
|
||||
-DUSE_USBHOST_HS
|
||||
-DUSBD_IRQ_PRIO=5
|
||||
-DUSBD_IRQ_SUBPRIO=6
|
||||
-DUSE_USB_HS_IN_FS
|
||||
|
||||
#
|
||||
# MKS Monster8 with USB Flash Drive Support and Shared Media
|
||||
# Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
|
||||
#
|
||||
[env:mks_monster8_usb_flash_drive_msc]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = env:mks_monster8_usb_flash_drive
|
||||
build_flags = ${env:mks_monster8_usb_flash_drive}
|
||||
-DUSBD_USE_CDC_MSC
|
||||
|
Reference in New Issue
Block a user