|
@@ -260,3 +260,153 @@ board_build.variant = MARLIN_F103Rx
|
260
|
260
|
board_build.offset = 0x5000
|
261
|
261
|
board_upload.offset_address = 0x08005000
|
262
|
262
|
extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
263
|
+
|
|
264
|
+#
|
|
265
|
+# MKS Robin Mini (STM32F103VET6)
|
|
266
|
+#
|
|
267
|
+[env:mks_robin_mini]
|
|
268
|
+platform = ${common_stm32.platform}
|
|
269
|
+extends = common_stm32
|
|
270
|
+board = genericSTM32F103VE
|
|
271
|
+board_build.core = stm32
|
|
272
|
+board_build.variant = MARLIN_F103Vx
|
|
273
|
+board_build.offset = 0x7000
|
|
274
|
+board_build.encrypt = Robin_mini.bin
|
|
275
|
+build_flags = ${common_stm32.build_flags} -DMCU_STM32F103VE
|
|
276
|
+board_upload.offset_address = 0x08007000
|
|
277
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
278
|
+
|
|
279
|
+#
|
|
280
|
+# MKS Robin Lite/Lite2 (STM32F103RCT6)
|
|
281
|
+#
|
|
282
|
+[env:mks_robin_lite]
|
|
283
|
+platform = ${common_stm32.platform}
|
|
284
|
+extends = common_stm32
|
|
285
|
+board = genericSTM32F103RC
|
|
286
|
+board_build.core = stm32
|
|
287
|
+board_build.variant = MARLIN_F103Rx
|
|
288
|
+board_build.offset = 0x5000
|
|
289
|
+board_build.encrypt = mksLite.bin
|
|
290
|
+build_flags = ${common_stm32.build_flags}
|
|
291
|
+board_upload.offset_address = 0x08005000
|
|
292
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
293
|
+
|
|
294
|
+#
|
|
295
|
+# MKS ROBIN LITE3 (STM32F103RCT6)
|
|
296
|
+#
|
|
297
|
+[env:mks_robin_lite3]
|
|
298
|
+platform = ${common_stm32.platform}
|
|
299
|
+extends = common_stm32
|
|
300
|
+board = genericSTM32F103RC
|
|
301
|
+board_build.core = stm32
|
|
302
|
+board_build.variant = MARLIN_F103Rx
|
|
303
|
+board_build.offset = 0x5000
|
|
304
|
+board_build.encrypt = mksLite3.bin
|
|
305
|
+build_flags = ${common_stm32.build_flags}
|
|
306
|
+board_upload.offset_address = 0x08005000
|
|
307
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
308
|
+
|
|
309
|
+#
|
|
310
|
+# MKS Robin Pro (STM32F103ZET6)
|
|
311
|
+#
|
|
312
|
+[env:mks_robin_pro]
|
|
313
|
+platform = ${common_stm32.platform}
|
|
314
|
+extends = env:mks_robin
|
|
315
|
+board_build.encrypt = Robin_pro.bin
|
|
316
|
+
|
|
317
|
+#
|
|
318
|
+# MKS Robin E3p (STM32F103VET6)
|
|
319
|
+# - LVGL UI
|
|
320
|
+#
|
|
321
|
+[env:mks_robin_e3p]
|
|
322
|
+platform = ${common_stm32.platform}
|
|
323
|
+extends = common_stm32
|
|
324
|
+board = genericSTM32F103VE
|
|
325
|
+board_build.core = stm32
|
|
326
|
+board_build.variant = MARLIN_F103Vx
|
|
327
|
+board_build.offset = 0x7000
|
|
328
|
+board_build.encrypt = Robin_e3p.bin
|
|
329
|
+build_flags = ${common_stm32.build_flags} -DMCU_STM32F103VE -DSS_TIMER=4
|
|
330
|
+board_upload.offset_address = 0x08007000
|
|
331
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
332
|
+debug_tool = jlink
|
|
333
|
+upload_protocol = jlink
|
|
334
|
+
|
|
335
|
+#
|
|
336
|
+# JGAurora A5S A1 (STM32F103ZET6)
|
|
337
|
+#
|
|
338
|
+[env:jgaurora_a5s_a1]
|
|
339
|
+platform = ${common_stm32.platform}
|
|
340
|
+extends = common_stm32
|
|
341
|
+board = genericSTM32F103ZE
|
|
342
|
+board_build.core = stm32
|
|
343
|
+board_build.variant = MARLIN_F103Zx
|
|
344
|
+board_build.offset = 0xA000
|
|
345
|
+board_build.rename = firmware_for_sd_upload.bin
|
|
346
|
+build_flags = ${common_stm32.build_flags} -DSTM32F1xx -DSTM32_XL_DENSITY
|
|
347
|
+board_build.address = 0x0800A000
|
|
348
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
349
|
+ buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
|
|
350
|
+
|
|
351
|
+#
|
|
352
|
+# FYSETC STM32F103RC
|
|
353
|
+#
|
|
354
|
+[env:STM32F103RC_fysetc]
|
|
355
|
+platform = ${common_stm32.platform}
|
|
356
|
+extends = common_STM32F103RC
|
|
357
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
358
|
+ buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
|
|
359
|
+build_flags = ${common_stm32.build_flags} -DDEBUG_LEVEL=0
|
|
360
|
+lib_ldf_mode = chain
|
|
361
|
+debug_tool = stlink
|
|
362
|
+upload_protocol = serial
|
|
363
|
+
|
|
364
|
+#
|
|
365
|
+# Longer 3D board in Alfawise U20 (STM32F103VET6)
|
|
366
|
+#
|
|
367
|
+[env:STM32F103VE_longer]
|
|
368
|
+platform = ${common_stm32.platform}
|
|
369
|
+extends = common_stm32
|
|
370
|
+board = genericSTM32F103VE
|
|
371
|
+board_build.core = stm32
|
|
372
|
+board_build.variant = MARLIN_F103Zx
|
|
373
|
+board_build.offset = 0x1000
|
|
374
|
+board_build.address = 0x08010000
|
|
375
|
+build_flags = ${common_stm32.build_flags}
|
|
376
|
+ -DMCU_STM32F103VE -DSTM32F1xx -USERIAL_USB -DU20 -DTS_V12
|
|
377
|
+build_unflags = ${common_stm32.build_unflags}
|
|
378
|
+ -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
|
379
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
380
|
+ buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
|
|
381
|
+
|
|
382
|
+#
|
|
383
|
+# TRIGORILLA PRO (STM32F103ZET6)
|
|
384
|
+#
|
|
385
|
+[env:trigorilla_pro]
|
|
386
|
+platform = ${common_stm32.platform}
|
|
387
|
+extends = env:mks_robin
|
|
388
|
+extra_scripts = ${common_stm32.extra_scripts}
|
|
389
|
+
|
|
390
|
+#
|
|
391
|
+# Chitu boards like Tronxy X5s (STM32F103ZET6)
|
|
392
|
+#
|
|
393
|
+[env:chitu_f103]
|
|
394
|
+platform = ${common_stm32.platform}
|
|
395
|
+extends = common_stm32
|
|
396
|
+board = genericSTM32F103ZE
|
|
397
|
+board_build.core = stm32
|
|
398
|
+board_build.variant = MARLIN_F103Zx
|
|
399
|
+extra_scripts = ${stm32f1_variant.extra_scripts}
|
|
400
|
+ buildroot/share/PlatformIO/scripts/chitu_crypt.py
|
|
401
|
+build_flags = ${common_stm32.build_flags} -DSTM32_XL_DENSITY
|
|
402
|
+build_unflags = ${common_stm32.build_unflags}
|
|
403
|
+ -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
|
404
|
+
|
|
405
|
+#
|
|
406
|
+# Some Chitu V5 boards have a problem with GPIO init.
|
|
407
|
+# Use this target if G28 or G29 are always failing.
|
|
408
|
+#
|
|
409
|
+[env:chitu_v5_gpio_init]
|
|
410
|
+platform = ${common_stm32.platform}
|
|
411
|
+extends = env:chitu_f103
|
|
412
|
+build_flags = ${env:chitu_f103.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
|