|
@@ -34,19 +34,6 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32> +<src/HAL/shared/b
|
34
|
34
|
extra_scripts = ${common.extra_scripts}
|
35
|
35
|
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
|
36
|
36
|
|
37
|
|
-#
|
38
|
|
-# BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
|
39
|
|
-#
|
40
|
|
-# STM32F103RC_btt ............. RCT6 with 256K
|
41
|
|
-# STM32F103RC_btt_USB ......... RCT6 with 256K (USB mass storage)
|
42
|
|
-# STM32F103RC_btt_512K ........ RCT6 with 512K
|
43
|
|
-# STM32F103RC_btt_512K_USB .... RCT6 with 512K (USB mass storage)
|
44
|
|
-#
|
45
|
|
-# WARNING! If you have an SKR Mini v1.1 or an SKR Mini E3 1.0 / 1.2 / 2.0 / DIP
|
46
|
|
-# and experience a printer freeze, re-flash Marlin using the regular (non-512K)
|
47
|
|
-# build option. 256K chips may be re-branded 512K chips, but this means the
|
48
|
|
-# upper 256K is sketchy, and failure is very likely.
|
49
|
|
-#
|
50
|
37
|
[common_STM32F103RC]
|
51
|
38
|
platform = ${common_stm32.platform}
|
52
|
39
|
extends = common_stm32
|
|
@@ -86,6 +73,12 @@ extends = common_stm32
|
86
|
73
|
board = genericSTM32F103ZE
|
87
|
74
|
monitor_speed = 115200
|
88
|
75
|
|
|
76
|
+#
|
|
77
|
+# BigTree SKR Mini V1.1 / SKR Mini E3 & MZ (STM32F103RCT6 ARM Cortex-M3)
|
|
78
|
+#
|
|
79
|
+# STM32F103RC_btt ............. RCT6 with 256K
|
|
80
|
+# STM32F103RC_btt_USB ......... RCT6 with 256K (USB mass storage)
|
|
81
|
+#
|
89
|
82
|
[env:STM32F103RC_btt]
|
90
|
83
|
platform = ${common_stm32.platform}
|
91
|
84
|
extends = common_STM32F103RC
|
|
@@ -108,18 +101,6 @@ build_flags = ${env:STM32F103RC_btt.build_flags} ${env:stm32_flash_drive.b
|
108
|
101
|
-DUSE_USB_HS_IN_FS
|
109
|
102
|
-DUSBD_USE_CDC_MSC
|
110
|
103
|
|
111
|
|
-[env:STM32F103RC_btt_512K]
|
112
|
|
-platform = ${common_stm32.platform}
|
113
|
|
-extends = env:STM32F103RC_btt
|
114
|
|
-board_upload.maximum_size = 524288
|
115
|
|
-build_flags = ${env:STM32F103RC_btt.build_flags} -DLD_MAX_DATA_SIZE=524288 -DSTM32_FLASH_SIZE=512
|
116
|
|
-
|
117
|
|
-[env:STM32F103RC_btt_512K_USB]
|
118
|
|
-platform = ${common_stm32.platform}
|
119
|
|
-extends = env:STM32F103RC_btt_USB
|
120
|
|
-board_upload.maximum_size = 524288
|
121
|
|
-build_flags = ${env:STM32F103RC_btt_USB.build_flags} -DLD_MAX_DATA_SIZE=524288 -DSTM32_FLASH_SIZE=512
|
122
|
|
-
|
123
|
104
|
#
|
124
|
105
|
# MKS Robin (STM32F103ZET6)
|
125
|
106
|
# Uses HAL STM32 to support Marlin UI for TFT screen with optional touch panel
|
|
@@ -185,7 +166,7 @@ debug_tool = jlink
|
185
|
166
|
upload_protocol = jlink
|
186
|
167
|
|
187
|
168
|
#
|
188
|
|
-# BigTree SKR Mini E3 DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
|
|
169
|
+# BigTree SKR Mini E3 V2.0 & DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
|
189
|
170
|
#
|
190
|
171
|
# STM32F103RE_btt ............. RET6
|
191
|
172
|
# STM32F103RE_btt_USB ......... RET6 (USB mass storage)
|