mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 05:48:43 +00:00
🐛 Fix MKS 'USB Flash MSC' environments (#22515)
This commit is contained in:
parent
9a8c9d4ed0
commit
e7c33840dc
@ -388,8 +388,9 @@ build_flags = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
|
|||||||
[env:mks_robin_nano_v3_usb_flash_drive_msc]
|
[env:mks_robin_nano_v3_usb_flash_drive_msc]
|
||||||
platform = ${common_stm32.platform}
|
platform = ${common_stm32.platform}
|
||||||
extends = env:mks_robin_nano_v3_usb_flash_drive
|
extends = env:mks_robin_nano_v3_usb_flash_drive
|
||||||
build_flags = ${env:mks_robin_nano_v3_usb_flash_drive}
|
build_flags = ${env:mks_robin_nano_v3_usb_flash_drive.build_flags}
|
||||||
-DUSBD_USE_CDC_MSC
|
-DUSBD_USE_CDC_MSC
|
||||||
|
build_unflags = -DUSBD_USE_CDC
|
||||||
|
|
||||||
#
|
#
|
||||||
# This I2C1(PB8:I2C1_SCL PB9:I2C1_SDA) is used by MKS Monster8
|
# This I2C1(PB8:I2C1_SCL PB9:I2C1_SDA) is used by MKS Monster8
|
||||||
@ -434,5 +435,6 @@ build_flags = ${stm_flash_drive.build_flags} ${stm32f4_I2C1_CAN.build_flag
|
|||||||
[env:mks_monster8_usb_flash_drive_msc]
|
[env:mks_monster8_usb_flash_drive_msc]
|
||||||
platform = ${common_stm32.platform}
|
platform = ${common_stm32.platform}
|
||||||
extends = env:mks_monster8_usb_flash_drive
|
extends = env:mks_monster8_usb_flash_drive
|
||||||
build_flags = ${env:mks_monster8_usb_flash_drive}
|
build_flags = ${env:mks_monster8_usb_flash_drive.build_flags}
|
||||||
-DUSBD_USE_CDC_MSC
|
-DUSBD_USE_CDC_MSC
|
||||||
|
build_unflags = -DUSBD_USE_CDC
|
||||||
|
Loading…
Reference in New Issue
Block a user