diff --git a/.github/workflows/test-builds.yml b/.github/workflows/test-builds.yml index 542b5181bd..d4ca0726ba 100644 --- a/.github/workflows/test-builds.yml +++ b/.github/workflows/test-builds.yml @@ -64,8 +64,7 @@ jobs: - malyan_M300 - mks_robin_lite - FLYF407ZG - - rumba32_f446ve - - rumba32_mks + - rumba32 - mks_robin_pro - STM32F103RET6_creality diff --git a/Marlin/src/pins/pins.h b/Marlin/src/pins/pins.h index 58b5b942fb..fa4af3241c 100644 --- a/Marlin/src/pins/pins.h +++ b/Marlin/src/pins/pins.h @@ -567,11 +567,11 @@ #elif MB(ARMED) #include "stm32f4/pins_ARMED.h" // STM32F4 env:ARMED #elif MB(RUMBA32_V1_0) - #include "stm32f4/pins_RUMBA32_AUS3D.h" // STM32F4 env:rumba32_f446ve + #include "stm32f4/pins_RUMBA32_AUS3D.h" // STM32F4 env:rumba32 #elif MB(RUMBA32_V1_1) - #include "stm32f4/pins_RUMBA32_AUS3D.h" // STM32F4 env:rumba32_f446ve + #include "stm32f4/pins_RUMBA32_AUS3D.h" // STM32F4 env:rumba32 #elif MB(RUMBA32_MKS) - #include "stm32f4/pins_RUMBA32_MKS.h" // STM32F4 env:rumba32_mks + #include "stm32f4/pins_RUMBA32_MKS.h" // STM32F4 env:rumba32 #elif MB(BLACK_STM32F407VE) #include "stm32f4/pins_BLACK_STM32F407VE.h" // STM32F4 env:STM32F407VE_black #elif MB(STEVAL_3DP001V1) diff --git a/buildroot/share/tests/rumba32_f446ve-tests b/buildroot/share/tests/rumba32-tests similarity index 57% rename from buildroot/share/tests/rumba32_f446ve-tests rename to buildroot/share/tests/rumba32-tests index bd7a50534b..42f9beb9af 100644 --- a/buildroot/share/tests/rumba32_f446ve-tests +++ b/buildroot/share/tests/rumba32-tests @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Build tests for rumba32_f446ve +# Build tests for rumba32 # # exit on first failure @@ -15,7 +15,7 @@ opt_enable PIDTEMPBED opt_set TEMP_SENSOR_BED 1 opt_disable THERMAL_PROTECTION_BED opt_set X_DRIVER_TYPE TMC2130 -exec_test $1 $2 "rumba32_f446ve V1.0 with TMC2130, PID Bed, and bed thermal protection disabled" +exec_test $1 $2 "RUMBA32 V1.0 with TMC2130, PID Bed, and bed thermal protection disabled" # Build examples restore_configs @@ -25,7 +25,15 @@ opt_enable PIDTEMPBED EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPH opt_set TEMP_SENSOR_BED 1 opt_set X_DRIVER_TYPE TMC2130 opt_set Y_DRIVER_TYPE TMC2208 -exec_test $1 $2 "rumba32_f446ve V1.1 with TMC2130, TMC2208, PID Bed, EEPROM settings, and graphic LCD controller" +exec_test $1 $2 "RUMBA32 V1.1 with TMC2130, TMC2208, PID Bed, EEPROM settings, and graphic LCD controller" + +# Build examples +restore_configs +opt_set MOTHERBOARD BOARD_RUMBA32_MKS +opt_set SERIAL_PORT -1 +opt_set X_DRIVER_TYPE TMC2130 +opt_set Y_DRIVER_TYPE TMC2208 +exec_test $1 $2 "RUMBA32 MKS Default Config with Mixed TMC Drivers" # cleanup restore_configs diff --git a/buildroot/share/tests/rumba32_mks-tests b/buildroot/share/tests/rumba32_mks-tests deleted file mode 100644 index 0180b6d98e..0000000000 --- a/buildroot/share/tests/rumba32_mks-tests +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# -# Build tests for rumba32_mks -# - -# exit on first failure -set -e - -# Build examples -restore_configs -opt_set MOTHERBOARD BOARD_RUMBA32_MKS -opt_set SERIAL_PORT -1 -opt_set X_DRIVER_TYPE TMC2130 -opt_set Y_DRIVER_TYPE TMC2208 -exec_test $1 $2 "rumba32_mks Default Config with Mixed TMC Drivers" - -# cleanup -restore_configs diff --git a/platformio.ini b/platformio.ini index 7aa118427d..ee6bebb4dc 100644 --- a/platformio.ini +++ b/platformio.ini @@ -320,7 +320,7 @@ board = nxp_lpc1769 # # HAL/STM32 Base Environment values # -[base_stm32] +[common_stm32] platform = ststm32@<6.2.0 platform_packages = framework-arduinoststm32@>=4.10700,<4.10800 lib_deps = ${common.lib_deps} @@ -328,17 +328,10 @@ lib_ignore = SoftwareSerial build_flags = ${common.build_flags} -IMarlin/src/HAL/STM32 -std=gnu++14 -DUSBCON -DUSBD_USE_CDC + -DUSBD_VID=0x0483 build_unflags = -std=gnu++11 src_filter = ${common.default_src_filter} + -# -# HAL/STM32 Common Environment values -# -[common_stm32] -platform = ${base_stm32.platform} -extends = base_stm32 -build_flags = ${base_stm32.build_flags} -DUSBD_VID=0x0483 - # # HAL/STM32F1 Common Environment values # @@ -814,13 +807,12 @@ lib_ignore = Adafruit NeoPixel, SailfishLCD, SlowSoftI2CMaster, SoftwareS # # RUMBA32 # - -[common_rumba32] -platform = ${base_stm32.platform} -extends = base_stm32 -build_flags = ${base_stm32.build_flags} -Os - -DSTM32F4xx -DARDUINO_RUMBA32_F446VE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"RUMBA32_F446VE\"" - -DSTM32F446xx "-DUSB_PRODUCT=\"RUMBA32_F446VE\"" +[env:rumba32] +platform = ${common_stm32.platform} +extends = common_stm32 +build_flags = ${common_stm32.build_flags} + -Os + "-DUSB_PRODUCT=\"RUMBA32\"" -DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED @@ -828,22 +820,6 @@ board = rumba32_f446ve upload_protocol = dfu monitor_speed = 500000 -# -# RUMBA32 F446VE -# -[env:rumba32_f446ve] -platform = ${common_rumba32.platform} -extends = common_rumba32 -build_flags = ${common_rumba32.build_flags} -DUSBD_VID=0x0483 - -# -# MKS RUMBA32 (adds TMC2208/2209 UART interface and AUX-1) -# -[env:rumba32_mks] -platform = ${common_rumba32.platform} -extends = common_rumba32 -build_flags = ${common_rumba32.build_flags} -DUSBD_VID=0x8000 - ################################# # # # Other Architectures #