Browse Source

🐛 Fix EZBoard V2 board name

Scott Lahteine 2 years ago
parent
commit
5d04c7496c

+ 1
- 1
Marlin/src/core/boards.h View File

@@ -402,7 +402,7 @@
402 402
 #define BOARD_ANET_ET4                4230  // ANET ET4 V1.x (STM32F407VGT6)
403 403
 #define BOARD_ANET_ET4P               4231  // ANET ET4P V1.x (STM32F407VGT6)
404 404
 #define BOARD_FYSETC_CHEETAH_V20      4232  // FYSETC Cheetah V2.0
405
-#define BOARD_TH3D_EZBOARD_LITE_V2    4233  // TH3D EZBoard Lite v2.0
405
+#define BOARD_TH3D_EZBOARD_V2         4233  // TH3D EZBoard v2.0
406 406
 #define BOARD_INDEX_REV03             4234  // Index PnP Controller REV03 (STM32F407VET6/VGT6)
407 407
 #define BOARD_MKS_ROBIN_NANO_V1_3_F4  4235  // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VET6)
408 408
 #define BOARD_MKS_EAGLE               4236  // MKS Eagle (STM32F407VET6)

+ 5
- 2
Marlin/src/pins/pins.h View File

@@ -659,8 +659,8 @@
659 659
   #include "stm32f4/pins_FYSETC_CHEETAH_V20.h"  // STM32F4                                env:FYSETC_CHEETAH_V20
660 660
 #elif MB(MKS_MONSTER8)
661 661
   #include "stm32f4/pins_MKS_MONSTER8.h"        // STM32F4                                env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
662
-#elif MB(TH3D_EZBOARD_LITE_V2)
663
-  #include "stm32f4/pins_TH3D_EZBOARD_LITE_V2.h" // STM32F4                               env:TH3D_EZBoard_Lite_V2
662
+#elif MB(TH3D_EZBOARD_V2)
663
+  #include "stm32f4/pins_TH3D_EZBOARD_V2.h"     // STM32F4                                env:TH3D_EZBoard_V2
664 664
 #elif MB(INDEX_REV03)
665 665
   #include "stm32f4/pins_INDEX_REV03.h"         // STM32F4                                env:Index_Mobo_Rev03
666 666
 #elif MB(MKS_ROBIN_NANO_V1_3_F4)
@@ -752,6 +752,7 @@
752 752
   #define BOARD_RAMPS_DAGOMA            -1020
753 753
   #define BOARD_RAMPS_LONGER3D_LK4PRO   -1021
754 754
   #define BOARD_BTT_SKR_V2_0            -1022
755
+  #define BOARD_TH3D_EZBOARD_LITE_V2    -1023
755 756
 
756 757
   #if MB(MKS_13)
757 758
     #error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
@@ -801,6 +802,8 @@
801 802
     #error "BOARD_RAMPS_LONGER3D_LK4PRO is now BOARD_LONGER3D_LKx_PRO. Please update your configuration."
802 803
   #elif MB(BTT_SKR_V2_0)
803 804
     #error "BTT_SKR_V2_0 is now BTT_SKR_V2_0_REV_A or BTT_SKR_V2_0_REV_B. See https://bit.ly/3t5d9JQ for more information. Please update your configuration."
805
+  #elif MB(BOARD_TH3D_EZBOARD_LITE_V2)
806
+    #error "BOARD_TH3D_EZBOARD_LITE_V2 is now BOARD_TH3D_EZBOARD_V2. Please update your configuration."
804 807
   #elif defined(MOTHERBOARD)
805 808
     #error "Unknown MOTHERBOARD value set in Configuration.h."
806 809
   #else

Marlin/src/pins/stm32f4/pins_TH3D_EZBOARD_LITE_V2.h → Marlin/src/pins/stm32f4/pins_TH3D_EZBOARD_V2.h View File

@@ -24,7 +24,7 @@
24 24
 #define ALLOW_STM32DUINO
25 25
 #include "env_validate.h"
26 26
 
27
-#define BOARD_INFO_NAME   "TH3D EZBoard Lite V2"
27
+#define BOARD_INFO_NAME   "TH3D EZBoard V2"
28 28
 #define BOARD_WEBSITE_URL "th3dstudio.com"
29 29
 
30 30
 //#define V3_EZABL_ON_SERVO                       // As in TH3D Firmware Config

buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_LITE_V2/PeripheralPins.c → buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_V2/PeripheralPins.c View File


buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_LITE_V2/PinNamesVar.h → buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_V2/PinNamesVar.h View File


buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_LITE_V2/hal_conf_extra.h → buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_V2/hal_conf_extra.h View File


buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_LITE_V2/ldscript.ld → buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_V2/ldscript.ld View File


buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_LITE_V2/variant.cpp → buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_V2/variant.cpp View File


buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_LITE_V2/variant.h → buildroot/share/PlatformIO/variants/MARLIN_TH3D_EZBOARD_V2/variant.h View File


+ 3
- 3
ini/stm32f4.ini View File

@@ -521,13 +521,13 @@ build_flags       = ${env:mks_monster8_usb_flash_drive.build_flags}
521 521
 build_unflags     = -DUSBD_USE_CDC
522 522
 
523 523
 #
524
-# TH3D EZBoard Lite v2.0 (STM32F405RGT6 ARM Cortex-M4)
524
+# TH3D EZBoard v2.0 (STM32F405RGT6 ARM Cortex-M4)
525 525
 #
526
-[env:TH3D_EZBoard_Lite_V2]
526
+[env:TH3D_EZBoard_V2]
527 527
 platform            = ${common_stm32.platform}
528 528
 extends             = stm32_variant
529 529
 board               = genericSTM32F405RG
530
-board_build.variant = MARLIN_TH3D_EZBOARD_LITE_V2
530
+board_build.variant = MARLIN_TH3D_EZBOARD_V2
531 531
 board_build.offset  = 0xC000
532 532
 board_upload.offset_address = 0x0800C000
533 533
 build_flags         = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0

Loading…
Cancel
Save