|
@@ -294,6 +294,12 @@ upload_protocol = serial
|
294
|
294
|
#
|
295
|
295
|
# BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
|
296
|
296
|
#
|
|
297
|
+# STM32F103RC_bigtree .............. RCT6 with 256K
|
|
298
|
+# STM32F103RC_bigtree_NOUSB ........ RCT6 with 256K (no USB)
|
|
299
|
+# STM32F103RC_bigtree_512K.......... RCT6 with 512K
|
|
300
|
+# STM32F103RC_bigtree_512K_NOUSB ... RCT6 with 512K (no USB)
|
|
301
|
+#
|
|
302
|
+
|
297
|
303
|
[env:STM32F103RC_bigtree]
|
298
|
304
|
platform = ststm32
|
299
|
305
|
framework = arduino
|
|
@@ -301,6 +307,21 @@ board = genericSTM32F103RC
|
301
|
307
|
platform_packages = tool-stm32duino
|
302
|
308
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
303
|
309
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
310
|
+ ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=256
|
|
311
|
+build_unflags = -std=gnu++11
|
|
312
|
+lib_deps = ${common.lib_deps}
|
|
313
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
314
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
315
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
316
|
+monitor_speed = 115200
|
|
317
|
+
|
|
318
|
+[env:STM32F103RC_bigtree_NOUSB]
|
|
319
|
+platform = ststm32
|
|
320
|
+framework = arduino
|
|
321
|
+board = genericSTM32F103RC
|
|
322
|
+platform_packages = tool-stm32duino
|
|
323
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
|
324
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
304
|
325
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
305
|
326
|
build_unflags = -std=gnu++11
|
306
|
327
|
lib_deps = ${common.lib_deps}
|
|
@@ -309,14 +330,31 @@ lib_ignore = Adafruit NeoPixel, SPI
|
309
|
330
|
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
310
|
331
|
monitor_speed = 115200
|
311
|
332
|
|
312
|
|
-[env:STM32F103RC_bigtree_USB]
|
|
333
|
+[env:STM32F103RC_bigtree_512K]
|
|
334
|
+platform = ststm32
|
|
335
|
+framework = arduino
|
|
336
|
+board = genericSTM32F103RC
|
|
337
|
+board_upload.maximum_size=524288
|
|
338
|
+platform_packages = tool-stm32duino
|
|
339
|
+extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
|
340
|
+build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
|
341
|
+ ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
|
|
342
|
+build_unflags = -std=gnu++11
|
|
343
|
+lib_deps = ${common.lib_deps}
|
|
344
|
+ SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
|
345
|
+lib_ignore = Adafruit NeoPixel, SPI
|
|
346
|
+src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|
347
|
+monitor_speed = 115200
|
|
348
|
+
|
|
349
|
+[env:STM32F103RC_bigtree_512K_NOUSB]
|
313
|
350
|
platform = ststm32
|
314
|
351
|
framework = arduino
|
315
|
352
|
board = genericSTM32F103RC
|
|
353
|
+board_upload.maximum_size=524288
|
316
|
354
|
platform_packages = tool-stm32duino
|
317
|
355
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
|
318
|
356
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
319
|
|
- ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4
|
|
357
|
+ ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
|
320
|
358
|
build_unflags = -std=gnu++11
|
321
|
359
|
lib_deps = ${common.lib_deps}
|
322
|
360
|
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|