Explorar el Código

Add Rumba32 support for PIO (#16202)

thisiskeithb hace 5 años
padre
commit
a333bba725
Se han modificado 1 ficheros con 47 adiciones y 0 borrados
  1. 47
    0
      platformio.ini

+ 47
- 0
platformio.ini Ver fichero

@@ -753,6 +753,53 @@ src_filter    = ${common.default_src_filter} +<src/HAL/HAL_SAMD51>
753 753
 debug_tool    = jlink
754 754
 
755 755
 #
756
+# RUMBA32
757
+#
758
+[env:rumba32_f446ve]
759
+platform      = ststm32
760
+board         = rumba32_f446ve
761
+build_flags   = ${common.build_flags}
762
+  -DSTM32F4xx
763
+  -DARDUINO_RUMBA32_F446VE
764
+  -DARDUINO_ARCH_STM32
765
+  "-DBOARD_NAME=\"RUMBA32_F446VE\""
766
+  -DSTM32F446xx
767
+  -DUSBCON
768
+  -DUSBD_VID=0x0483
769
+  "-DUSB_MANUFACTURER=\"Unknown\""
770
+  "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
771
+  -DHAL_PCD_MODULE_ENABLED
772
+  -DUSBD_USE_CDC
773
+  -DDISABLE_GENERIC_SERIALUSB
774
+  -DHAL_UART_MODULE_ENABLED
775
+  -Os
776
+lib_ignore    = Adafruit NeoPixel
777
+src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32>
778
+monitor_speed = 500000
779
+upload_protocol = dfu
780
+
781
+#
782
+# MKS RUMBA32(add TMC2208/2209 UART interface and AUX-1)
783
+#
784
+[env:mks_rumba32]
785
+platform      = ststm32
786
+board         = rumba32_f446ve
787
+build_flags   = ${common.build_flags}
788
+ -DSTM32F4xx -DARDUINO_RUMBA32_F446VE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"RUMBA32_F446VE\""
789
+ -DSTM32F446xx -DUSBCON -DUSBD_VID=0x8000
790
+  "-DUSB_MANUFACTURER=\"Unknown\""
791
+  "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
792
+  -DHAL_PCD_MODULE_ENABLED
793
+  -DUSBD_USE_CDC
794
+  -DDISABLE_GENERIC_SERIALUSB
795
+  -DHAL_UART_MODULE_ENABLED
796
+  -Os
797
+lib_ignore    = Adafruit NeoPixel
798
+src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32> +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
799
+monitor_speed = 250000
800
+upload_protocol = dfu
801
+
802
+#
756 803
 # Just print the dependency tree
757 804
 #
758 805
 [env:include_tree]

Loading…
Cancelar
Guardar