Browse Source

🐛 Fix EZBoard V2 board name

Scott Lahteine 3 years ago
parent
commit
5d04c7496c

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

402
 #define BOARD_ANET_ET4                4230  // ANET ET4 V1.x (STM32F407VGT6)
402
 #define BOARD_ANET_ET4                4230  // ANET ET4 V1.x (STM32F407VGT6)
403
 #define BOARD_ANET_ET4P               4231  // ANET ET4P V1.x (STM32F407VGT6)
403
 #define BOARD_ANET_ET4P               4231  // ANET ET4P V1.x (STM32F407VGT6)
404
 #define BOARD_FYSETC_CHEETAH_V20      4232  // FYSETC Cheetah V2.0
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
 #define BOARD_INDEX_REV03             4234  // Index PnP Controller REV03 (STM32F407VET6/VGT6)
406
 #define BOARD_INDEX_REV03             4234  // Index PnP Controller REV03 (STM32F407VET6/VGT6)
407
 #define BOARD_MKS_ROBIN_NANO_V1_3_F4  4235  // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VET6)
407
 #define BOARD_MKS_ROBIN_NANO_V1_3_F4  4235  // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VET6)
408
 #define BOARD_MKS_EAGLE               4236  // MKS Eagle (STM32F407VET6)
408
 #define BOARD_MKS_EAGLE               4236  // MKS Eagle (STM32F407VET6)

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

659
   #include "stm32f4/pins_FYSETC_CHEETAH_V20.h"  // STM32F4                                env:FYSETC_CHEETAH_V20
659
   #include "stm32f4/pins_FYSETC_CHEETAH_V20.h"  // STM32F4                                env:FYSETC_CHEETAH_V20
660
 #elif MB(MKS_MONSTER8)
660
 #elif MB(MKS_MONSTER8)
661
   #include "stm32f4/pins_MKS_MONSTER8.h"        // STM32F4                                env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
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
 #elif MB(INDEX_REV03)
664
 #elif MB(INDEX_REV03)
665
   #include "stm32f4/pins_INDEX_REV03.h"         // STM32F4                                env:Index_Mobo_Rev03
665
   #include "stm32f4/pins_INDEX_REV03.h"         // STM32F4                                env:Index_Mobo_Rev03
666
 #elif MB(MKS_ROBIN_NANO_V1_3_F4)
666
 #elif MB(MKS_ROBIN_NANO_V1_3_F4)
752
   #define BOARD_RAMPS_DAGOMA            -1020
752
   #define BOARD_RAMPS_DAGOMA            -1020
753
   #define BOARD_RAMPS_LONGER3D_LK4PRO   -1021
753
   #define BOARD_RAMPS_LONGER3D_LK4PRO   -1021
754
   #define BOARD_BTT_SKR_V2_0            -1022
754
   #define BOARD_BTT_SKR_V2_0            -1022
755
+  #define BOARD_TH3D_EZBOARD_LITE_V2    -1023
755
 
756
 
756
   #if MB(MKS_13)
757
   #if MB(MKS_13)
757
     #error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
758
     #error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
801
     #error "BOARD_RAMPS_LONGER3D_LK4PRO is now BOARD_LONGER3D_LKx_PRO. Please update your configuration."
802
     #error "BOARD_RAMPS_LONGER3D_LK4PRO is now BOARD_LONGER3D_LKx_PRO. Please update your configuration."
802
   #elif MB(BTT_SKR_V2_0)
803
   #elif MB(BTT_SKR_V2_0)
803
     #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."
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
   #elif defined(MOTHERBOARD)
807
   #elif defined(MOTHERBOARD)
805
     #error "Unknown MOTHERBOARD value set in Configuration.h."
808
     #error "Unknown MOTHERBOARD value set in Configuration.h."
806
   #else
809
   #else

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

24
 #define ALLOW_STM32DUINO
24
 #define ALLOW_STM32DUINO
25
 #include "env_validate.h"
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
 #define BOARD_WEBSITE_URL "th3dstudio.com"
28
 #define BOARD_WEBSITE_URL "th3dstudio.com"
29
 
29
 
30
 //#define V3_EZABL_ON_SERVO                       // As in TH3D Firmware Config
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
 build_unflags     = -DUSBD_USE_CDC
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
 platform            = ${common_stm32.platform}
527
 platform            = ${common_stm32.platform}
528
 extends             = stm32_variant
528
 extends             = stm32_variant
529
 board               = genericSTM32F405RG
529
 board               = genericSTM32F405RG
530
-board_build.variant = MARLIN_TH3D_EZBOARD_LITE_V2
530
+board_build.variant = MARLIN_TH3D_EZBOARD_V2
531
 board_build.offset  = 0xC000
531
 board_build.offset  = 0xC000
532
 board_upload.offset_address = 0x0800C000
532
 board_upload.offset_address = 0x0800C000
533
 build_flags         = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0
533
 build_flags         = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0

Loading…
Cancel
Save