Browse Source

✨ FLY Mini for stm32duino (#22356)

ellensp 4 years ago
parent
commit
f479a2ef6f
No account linked to committer's email address
2 changed files with 17 additions and 1 deletions
  1. 1
    1
      Marlin/src/pins/pins.h
  2. 16
    0
      ini/stm32f1.ini

+ 1
- 1
Marlin/src/pins/pins.h View File

@@ -552,7 +552,7 @@
552 552
 #elif MB(TRIGORILLA_PRO)
553 553
   #include "stm32f1/pins_TRIGORILLA_PRO.h"      // STM32F1                                env:trigorilla_pro
554 554
 #elif MB(FLY_MINI)
555
-  #include "stm32f1/pins_FLY_MINI.h"            // STM32F1                                env:FLY_MINI
555
+  #include "stm32f1/pins_FLY_MINI.h"            // STM32F1                                env:FLY_MINI env:FLY_MINI_maple
556 556
 #elif MB(FLSUN_HISPEED)
557 557
   #include "stm32f1/pins_FLSUN_HISPEED.h"       // STM32F1                                env:flsun_hispeedv1
558 558
 #elif MB(BEAST)

+ 16
- 0
ini/stm32f1.ini View File

@@ -259,3 +259,19 @@ board       = malyanm200_f103cb
259 259
 build_flags = ${common_stm32.build_flags}
260 260
   -DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
261 261
 src_filter  = ${common.default_src_filter} +<src/HAL/STM32>
262
+
263
+#
264
+# FLY Mini (STM32F103RCT6)
265
+#
266
+[env:FLY_MINI]
267
+platform             = ${common_stm32.platform}
268
+extends              = common_stm32
269
+build_flags          = ${common_stm32.build_flags} -DSS_TIMER=4
270
+board                = genericSTM32F103RC
271
+board_build.core     = stm32
272
+board_build.variant  = MARLIN_F103Rx
273
+board_build.offset   = 0x5000
274
+board_upload.offset_address  = 0x08005000
275
+extra_scripts        = ${common_stm32.extra_scripts}
276
+  pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
277
+  buildroot/share/PlatformIO/scripts/stm32_bootloader.py

Loading…
Cancel
Save