|
|
@ -89,14 +89,13 @@ board_upload.offset_address = 0x08007000
|
|
|
|
[env:STM32F103RC_btt_USB]
|
|
|
|
[env:STM32F103RC_btt_USB]
|
|
|
|
extends = env:STM32F103RC_btt
|
|
|
|
extends = env:STM32F103RC_btt
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-3.zip
|
|
|
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
|
|
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
|
|
|
build_flags = ${env:STM32F103RC_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
|
|
|
build_flags = ${env:STM32F103RC_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
|
|
|
-DUSBCON
|
|
|
|
-DUSBCON
|
|
|
|
-DUSE_USBHOST_HS
|
|
|
|
-DUSE_USB_FS
|
|
|
|
-DUSBD_IRQ_PRIO=5
|
|
|
|
-DUSBD_IRQ_PRIO=5
|
|
|
|
-DUSBD_IRQ_SUBPRIO=6
|
|
|
|
-DUSBD_IRQ_SUBPRIO=6
|
|
|
|
-DUSE_USB_HS_IN_FS
|
|
|
|
|
|
|
|
-DUSBD_USE_CDC_MSC
|
|
|
|
-DUSBD_USE_CDC_MSC
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -188,14 +187,13 @@ upload_protocol = jlink
|
|
|
|
[env:STM32F103RE_btt_USB]
|
|
|
|
[env:STM32F103RE_btt_USB]
|
|
|
|
extends = env:STM32F103RE_btt
|
|
|
|
extends = env:STM32F103RE_btt
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
|
|
platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-3.zip
|
|
|
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
|
|
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
|
|
|
build_flags = ${env:STM32F103RE_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
|
|
|
build_flags = ${env:STM32F103RE_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
|
|
|
-DUSBCON
|
|
|
|
-DUSBCON
|
|
|
|
-DUSE_USBHOST_HS
|
|
|
|
-DUSE_USB_FS
|
|
|
|
-DUSBD_IRQ_PRIO=5
|
|
|
|
-DUSBD_IRQ_PRIO=5
|
|
|
|
-DUSBD_IRQ_SUBPRIO=6
|
|
|
|
-DUSBD_IRQ_SUBPRIO=6
|
|
|
|
-DUSE_USB_HS_IN_FS
|
|
|
|
|
|
|
|
-DUSBD_USE_CDC_MSC
|
|
|
|
-DUSBD_USE_CDC_MSC
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|