|
@@ -89,14 +89,13 @@ board_upload.offset_address = 0x08007000
|
89
|
89
|
[env:STM32F103RC_btt_USB]
|
90
|
90
|
extends = env:STM32F103RC_btt
|
91
|
91
|
platform = ${common_stm32.platform}
|
92
|
|
-platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
92
|
+platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-3.zip
|
93
|
93
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
94
|
94
|
build_flags = ${env:STM32F103RC_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
95
|
95
|
-DUSBCON
|
96
|
|
- -DUSE_USBHOST_HS
|
|
96
|
+ -DUSE_USB_FS
|
97
|
97
|
-DUSBD_IRQ_PRIO=5
|
98
|
98
|
-DUSBD_IRQ_SUBPRIO=6
|
99
|
|
- -DUSE_USB_HS_IN_FS
|
100
|
99
|
-DUSBD_USE_CDC_MSC
|
101
|
100
|
|
102
|
101
|
#
|
|
@@ -188,14 +187,13 @@ upload_protocol = jlink
|
188
|
187
|
[env:STM32F103RE_btt_USB]
|
189
|
188
|
extends = env:STM32F103RE_btt
|
190
|
189
|
platform = ${common_stm32.platform}
|
191
|
|
-platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
190
|
+platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-3.zip
|
192
|
191
|
build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
193
|
192
|
build_flags = ${env:STM32F103RE_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
194
|
193
|
-DUSBCON
|
195
|
|
- -DUSE_USBHOST_HS
|
|
194
|
+ -DUSE_USB_FS
|
196
|
195
|
-DUSBD_IRQ_PRIO=5
|
197
|
196
|
-DUSBD_IRQ_SUBPRIO=6
|
198
|
|
- -DUSE_USB_HS_IN_FS
|
199
|
197
|
-DUSBD_USE_CDC_MSC
|
200
|
198
|
|
201
|
199
|
#
|