Skip to content

Commit

Permalink
STM32 Shared Media - USB Mass Storage Device (MarlinFirmware#20956)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhapsodyv authored and zillarob committed Feb 25, 2021
1 parent 2f84617 commit e85b4ba
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,22 @@ extra_scripts = ${common.extra_scripts}
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
buildroot/share/PlatformIO/scripts/mks_encrypt.py

#
# MKS Robin Nano V3 with USB Flash Drive Support and Shared Media
# Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
#
[env:mks_robin_nano_v3_usb_flash_drive_msc]
extends = env:mks_robin_nano_v3
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc.zip
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
build_flags = ${stm32_flash_drive.build_flags}
-DUSBCON
-DUSE_USBHOST_HS
-DUSBD_IRQ_PRIO=5
-DUSBD_IRQ_SUBPRIO=6
-DUSE_USB_HS_IN_FS
-DUSBD_USE_CDC_MSC

#
# Mingda MPX_ARM_MINI
#
Expand Down

0 comments on commit e85b4ba

Please sign in to comment.