|
@@ -246,6 +246,39 @@ build_flags = ${env:BIGTREE_SKR_2_USB.build_flags} -O0
|
246
|
246
|
build_unflags = ${env:BIGTREE_SKR_2_USB.build_unflags} -Os -NDEBUG
|
247
|
247
|
|
248
|
248
|
#
|
|
249
|
+# Bigtreetech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Flash Drive Support
|
|
250
|
+#
|
|
251
|
+[env:BIGTREE_SKR_2_F429]
|
|
252
|
+platform = ${common_stm32.platform}
|
|
253
|
+extends = stm32_variant
|
|
254
|
+platform_packages = ${stm_flash_drive.platform_packages}
|
|
255
|
+board = marlin_STM32F429VGT6
|
|
256
|
+board_build.variant = MARLIN_F4x7Vx
|
|
257
|
+board_build.offset = 0x8000
|
|
258
|
+board_upload.offset_address = 0x08008000
|
|
259
|
+build_flags = ${stm_flash_drive.build_flags}
|
|
260
|
+ -DUSE_USBHOST_HS -DUSE_USB_HS_IN_FS
|
|
261
|
+ -DUSBD_IRQ_PRIO=5 -DUSBD_IRQ_SUBPRIO=6
|
|
262
|
+ -DHSE_VALUE=8000000U -DHAL_SD_MODULE_ENABLED
|
|
263
|
+ -DPIN_SERIAL3_RX=PD_9 -DPIN_SERIAL3_TX=PD_8
|
|
264
|
+upload_protocol = stlink
|
|
265
|
+
|
|
266
|
+#
|
|
267
|
+# BigTreeTech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Media Share Support
|
|
268
|
+#
|
|
269
|
+[env:BIGTREE_SKR_2_F429_USB]
|
|
270
|
+platform = ${common_stm32.platform}
|
|
271
|
+extends = env:BIGTREE_SKR_2_F429
|
|
272
|
+build_flags = ${env:BIGTREE_SKR_2_F429.build_flags} -DUSBD_USE_CDC_MSC
|
|
273
|
+build_unflags = ${env:BIGTREE_SKR_2_F429.build_unflags} -DUSBD_USE_CDC
|
|
274
|
+
|
|
275
|
+[env:BIGTREE_SKR_2_F429_USB_debug]
|
|
276
|
+platform = ${common_stm32.platform}
|
|
277
|
+extends = env:BIGTREE_SKR_2_F429_USB
|
|
278
|
+build_flags = ${env:BIGTREE_SKR_2_F429_USB.build_flags} -O0
|
|
279
|
+build_unflags = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
|
|
280
|
+
|
|
281
|
+#
|
249
|
282
|
# BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4)
|
250
|
283
|
#
|
251
|
284
|
[env:BIGTREE_OCTOPUS_V1]
|