|
|
|
@ -160,7 +160,7 @@ debug_init_break =
|
|
|
|
|
# USB Flash Drive mix-ins for STM32
|
|
|
|
|
#
|
|
|
|
|
[stm_flash_drive]
|
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc.zip
|
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
|
|
|
build_flags = ${common_stm32.build_flags}
|
|
|
|
|
-DHAL_PCD_MODULE_ENABLED -DHAL_HCD_MODULE_ENABLED
|
|
|
|
|
-DUSBHOST -DUSBH_IRQ_PRIO=3 -DUSBH_IRQ_SUBPRIO=4
|
|
|
|
@ -438,7 +438,7 @@ build_flags = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
|
|
|
|
|
[env:mks_robin_nano_v3_usb_flash_drive_msc]
|
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
|
extends = env:mks_robin_nano_v3
|
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc.zip
|
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
|
|
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
|
|
|
|
build_flags = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
|
|
|
|
|
-DUSBCON
|
|
|
|
|