|
@@ -185,6 +185,43 @@ debug_tool = jlink
|
185
|
185
|
upload_protocol = jlink
|
186
|
186
|
|
187
|
187
|
#
|
|
188
|
+# BigTree SKR Mini E3 DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
|
|
189
|
+#
|
|
190
|
+# STM32F103RE_btt ............. RET6
|
|
191
|
+# STM32F103RE_btt_USB ......... RET6 (USB mass storage)
|
|
192
|
+#
|
|
193
|
+[env:STM32F103RE_btt]
|
|
194
|
+platform = ${common_stm32.platform}
|
|
195
|
+extends = common_stm32
|
|
196
|
+build_flags = ${common_stm32.build_flags} -DMCU_STM32F103RE -DHAL_SD_MODULE_ENABLED -DSS_TIMER=4 -DTIMER_SERVO=TIM5 -DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
|
|
197
|
+board = genericSTM32F103RE
|
|
198
|
+monitor_speed = 115200
|
|
199
|
+board_build.core = stm32
|
|
200
|
+board_build.variant = MARLIN_F103Rx
|
|
201
|
+board_build.offset = 0x7000
|
|
202
|
+board_build.ldscript = ldscript.ld
|
|
203
|
+board_upload.offset_address = 0x08007000
|
|
204
|
+build_unflags = ${common_stm32.build_unflags}
|
|
205
|
+extra_scripts = ${common.extra_scripts}
|
|
206
|
+ pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
|
207
|
+ buildroot/share/PlatformIO/scripts/stm32_bootloader.py
|
|
208
|
+debug_tool = jlink
|
|
209
|
+upload_protocol = jlink
|
|
210
|
+
|
|
211
|
+[env:STM32F103RE_btt_USB]
|
|
212
|
+extends = env:STM32F103RE_btt
|
|
213
|
+platform = ${common_stm32.platform}
|
|
214
|
+platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-2.zip
|
|
215
|
+build_unflags = ${common_stm32.build_unflags} -DUSBD_USE_CDC
|
|
216
|
+build_flags = ${env:STM32F103RE_btt.build_flags} ${env:stm32_flash_drive.build_flags}
|
|
217
|
+ -DUSBCON
|
|
218
|
+ -DUSE_USBHOST_HS
|
|
219
|
+ -DUSBD_IRQ_PRIO=5
|
|
220
|
+ -DUSBD_IRQ_SUBPRIO=6
|
|
221
|
+ -DUSE_USB_HS_IN_FS
|
|
222
|
+ -DUSBD_USE_CDC_MSC
|
|
223
|
+
|
|
224
|
+#
|
188
|
225
|
# FLSUN QQS Pro (STM32F103VET6)
|
189
|
226
|
# board Hispeedv1
|
190
|
227
|
#
|