Skip to content

Commit cdf3284

Browse files
authored
Merge pull request #177 from th3dstudio/2.0.x
2.0.x
2 parents a3dd296 + b460d23 commit cdf3284

File tree

14 files changed

+47
-38
lines changed

14 files changed

+47
-38
lines changed

Board_Configs/TH3D_EZBoardLite/Firmware/Marlin/Configuration.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
//#define SOVOL_SV03
4949

5050
// Filament Sensor Options --------------------------------------------------
51-
// If your machine came stock with a filament sensor it will be enabled automatically. If you replaced your stock sensor with our EZOut or you added an EZOut enabling the EZOUTV2_ENABLE will override the Creality sensor if your machine had one
51+
// If your machine came stock with a filament sensor it will be enabled automatically. If you replaced your stock sensor with our EZOut or you added an EZOut enabling the EZOUT_ENABLE will override the Creality sensor if your machine had one
5252

5353
// If you are using our EZOut Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
54-
//#define EZOUTV2_ENABLE
54+
//#define EZOUT_ENABLE
5555

5656
// If you are using the Creality CR-10S Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
5757
//#define CR10S_STOCKFILAMENTSENSOR
@@ -446,10 +446,10 @@
446446
#endif
447447

448448
#if ENABLED(SOVOL_SV01) || ENABLED(SOVOL_SV03) || ENABLED(ENDER3_MAX) //Have sensors that use same logic as EZOUT Sensors
449-
#define EZOUTV2_ENABLE
449+
#define EZOUT_ENABLE
450450
#endif
451451

452-
#if DISABLED(EZOUTV2_ENABLE)
452+
#if DISABLED(EZOUT_ENABLE)
453453
#define CR10S_STOCKFILAMENTSENSOR
454454
#endif
455455

@@ -595,7 +595,7 @@
595595
#if DISABLED(REVERSE_KNOB_DIRECTION)
596596
#define REVERSE_ENCODER_DIRECTION
597597
#endif
598-
#define EZOUTV2_ENABLE
598+
#define EZOUT_ENABLE
599599
#define DUAL_Z_MOTORS
600600
#define MOUNTED_FILAMENT_SENSOR
601601
#endif
@@ -830,7 +830,7 @@
830830

831831
#define EZBOARD
832832

833-
#if ENABLED(EZOUTV2_ENABLE) || ENABLED(CR10S_STOCKFILAMENTSENSOR)
833+
#if ENABLED(EZOUT_ENABLE) || ENABLED(CR10S_STOCKFILAMENTSENSOR)
834834
#define FILAMENT_RUNOUT_SENSOR
835835
#endif
836836

@@ -839,7 +839,7 @@
839839
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
840840
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
841841

842-
#if ENABLED(EZOUTV2_ENABLE)
842+
#if ENABLED(EZOUT_ENABLE)
843843
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
844844
#else
845845
#define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present.

Board_Configs/TH3D_EZBoardLite_DIY/Firmware/Marlin/Configuration.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180

181181
// Filament Sensor Options --------------------------------------------------
182182
// If you are using our EZOut Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
183-
//#define EZOUTV2_ENABLE
183+
//#define EZOUT_ENABLE
184184

185185
// If you are using the Creality CR-10S Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
186186
//#define CR10S_STOCKFILAMENTSENSOR
@@ -556,7 +556,7 @@
556556

557557
#define EZBOARD
558558

559-
#if ENABLED(EZOUTV2_ENABLE) || ENABLED(CR10S_STOCKFILAMENTSENSOR)
559+
#if ENABLED(EZOUT_ENABLE) || ENABLED(CR10S_STOCKFILAMENTSENSOR)
560560
#define FILAMENT_RUNOUT_SENSOR
561561
#endif
562562

@@ -565,7 +565,7 @@
565565
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
566566
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
567567

568-
#if ENABLED(EZOUTV2_ENABLE)
568+
#if ENABLED(EZOUT_ENABLE)
569569
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
570570
#else
571571
#define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present.

Board_Configs/TH3D_EZBoardV2/Firmware/Marlin/Configuration.h

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
//#define SOVOL_SV06_PLUS // See here for stock ABL sensor wiring: https://support.th3dstudio.com/helpcenter/ezboard-v2-sovol-sv06-stock-abl-sensor-wiring/
5353

5454
// Filament Sensor Options --------------------------------------------------
55-
// If your machine came stock with a filament sensor it will be enabled automatically. If you replaced your stock sensor with our EZOut or you added an EZOut enabling the EZOUTV2_ENABLE will override the Creality sensor if your machine had one
55+
// If your machine came stock with a filament sensor it will be enabled automatically. If you replaced your stock sensor with our EZOut or you added an EZOut enabling the EZOUT_ENABLE will override the Creality sensor if your machine had one
5656

5757
// If you are using our EZOut Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
58-
//#define EZOUTV2_ENABLE
58+
//#define EZOUT_ENABLE
5959

6060
// If you are using the Creality CR-10S Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
6161
//#define CR10S_STOCKFILAMENTSENSOR
@@ -73,6 +73,7 @@
7373
//#define SV01_OEM_MOUNT //Sovol SV01 OEM Mount
7474
//#define SV01_PRO_EZABL_OEM_MOUNT //For our 18mm Sensors
7575
//#define SV01_PRO_EZABL_MICRO_OEM_MOUNT //For our 8mm Sensors
76+
//#define SV03_OEM_MOUNT //Sovol SV03 OEM Mount
7677
//#define SV06_EZABL_OEM_MOUNT //Sovol SV06/SV06 Plus EZABL OEM Mount - same offsets, different file
7778
//#define CR10_VOLCANO //TH3D CR-10 Volcano Mount
7879
//#define CR10_V6HEAVYDUTY //V6 Heavy Duty Mount
@@ -517,17 +518,19 @@
517518
#define DUAL_Z_MOTORS
518519
#endif
519520

520-
#if ENABLED(REVERSE_Z_MOTOR)
521-
#undef REVERSE_Z_MOTOR
522-
#else
523-
#define REVERSE_Z_MOTOR
521+
#if DISABLED(SOVOL_SV03)
522+
#if ENABLED(REVERSE_Z_MOTOR)
523+
#undef REVERSE_Z_MOTOR
524+
#else
525+
#define REVERSE_Z_MOTOR
526+
#endif
524527
#endif
525528

526529
#if ANY(SOVOL_SV01, SOVOL_SV03, ENDER3_MAX, ENDER5_PLUS) //Have sensors that use same logic as EZOUT Sensors
527-
#define EZOUTV2_ENABLE
530+
#define EZOUT_ENABLE
528531
#endif
529532

530-
#if DISABLED(EZOUTV2_ENABLE)
533+
#if DISABLED(EZOUT_ENABLE)
531534
#define CR10S_STOCKFILAMENTSENSOR
532535
#endif
533536

@@ -685,7 +688,7 @@
685688
#if DISABLED(REVERSE_KNOB_DIRECTION)
686689
#define REVERSE_ENCODER_DIRECTION
687690
#endif
688-
#define EZOUTV2_ENABLE
691+
#define EZOUT_ENABLE
689692
#define DUAL_Z_MOTORS
690693
#define MOUNTED_FILAMENT_SENSOR
691694
#endif
@@ -697,7 +700,7 @@
697700
#define PRINTER_VOLTAGE_24
698701
#define MOUNTED_FILAMENT_SENSOR
699702
#if DISABLED(ENDER6_NOFILAMENT_SENSOR)
700-
#define EZOUTV2_ENABLE
703+
#define EZOUT_ENABLE
701704
#endif
702705
#define COREYX
703706
#define X_MOTOR_CURRENT 800
@@ -883,7 +886,7 @@
883886
#endif
884887
#endif
885888

886-
#if ANY(SOVOL_SV01, ENDER2_PRO)
889+
#if ANY(SOVOL_SV01, SOVOL_SV03, ENDER2_PRO)
887890
#if ENABLED(REVERSE_E_MOTOR_DIRECTION)
888891
#define INVERT_E0_DIR true
889892
#else
@@ -948,7 +951,7 @@
948951

949952
#define EZBOARD_V2
950953

951-
#if ANY(EZOUTV2_ENABLE, CR10S_STOCKFILAMENTSENSOR)
954+
#if ANY(EZOUT_ENABLE, CR10S_STOCKFILAMENTSENSOR)
952955
#define FILAMENT_RUNOUT_SENSOR
953956
#endif
954957

@@ -957,7 +960,7 @@
957960
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
958961
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
959962

960-
#if ENABLED(EZOUTV2_ENABLE)
963+
#if ENABLED(EZOUT_ENABLE)
961964
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
962965
#else
963966
#define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present.
@@ -1263,7 +1266,7 @@
12631266

12641267
#define EZBOARD_V2
12651268

1266-
#if ENABLED(EZOUTV2_ENABLE)
1269+
#if ENABLED(EZOUT_ENABLE)
12671270
#define FILAMENT_RUNOUT_SENSOR
12681271
#define DIRECT_DRIVE_PRINTER
12691272
#endif
@@ -1273,7 +1276,7 @@
12731276
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
12741277
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
12751278

1276-
#if ENABLED(EZOUTV2_ENABLE)
1279+
#if ENABLED(EZOUT_ENABLE)
12771280
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
12781281
#else
12791282
#define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present.

Board_Configs/TH3D_EZBoardV2_DIY/Firmware/Marlin/Configuration.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186

187187
// Filament Sensor Options --------------------------------------------------
188188
// If you are using our EZOut Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
189-
//#define EZOUTV2_ENABLE
189+
//#define EZOUT_ENABLE
190190

191191
// If you are using the Creality CR-10S Sensor connect to the FIL SENSOR header with the RED wire lined up with the "5V" marking by the header and uncomment the below line.
192192
//#define CR10S_STOCKFILAMENTSENSOR
@@ -595,7 +595,7 @@
595595

596596
#define EZBOARD_V2
597597

598-
#if ENABLED(EZOUTV2_ENABLE) || ENABLED(CR10S_STOCKFILAMENTSENSOR)
598+
#if ENABLED(EZOUT_ENABLE) || ENABLED(CR10S_STOCKFILAMENTSENSOR)
599599
#define FILAMENT_RUNOUT_SENSOR
600600
#endif
601601

@@ -604,7 +604,7 @@
604604
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
605605
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
606606

607-
#if ENABLED(EZOUTV2_ENABLE)
607+
#if ENABLED(EZOUT_ENABLE)
608608
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
609609
#else
610610
#define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present.

Firmware/CoreFilesChangeList.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@ This does not include machine `configuration.h` or `PlatformIO.ini` files.
99
- **buildroot**
1010
- **share**
1111
- **PlatformIO**
12+
- **scripts**
13+
- `generic_create_variant.py` - Add in our repo for `Arduino_Core_STM32`
1214
- **variants**
1315
- **MARLIN_G0B1RE**
1416
- `variant_MARLIN_STM32G0B1RE.cpp` - USB Fix from BTT
1517
- **ini**
1618
- `avr.ini`
19+
- `features.ini` - Force use our repo for `SlowSoftWire`
1720
- `stm32f1.ini`
1821
- `stm32f1-maple.ini`
19-
- `stm32f4.ini`
22+
- `stm32f4.ini` - Force use our `Arduino_Core_STM32` repo for BTT Boards
23+
- `stm32g0.ini` - Force use our `Arduino_Core_STM32` repo for BTT Boards
2024
- **Marlin**
2125
- **src**
2226
- **core**

Firmware/Marlin/Configuration_adv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@
15731573
#endif // HAS_MARLINUI_MENU
15741574

15751575
#if ANY(HAS_DISPLAY, DWIN_LCD_PROUI, DWIN_CREALITY_LCD_JYERSUI)
1576-
//#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
1576+
#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
15771577
#define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
15781578
#endif
15791579

@@ -1582,7 +1582,7 @@
15821582
#define LCD_TIMEOUT_TO_STATUS 10000 // (ms)
15831583

15841584
#if ENABLED(SHOW_BOOTSCREEN)
1585-
#define BOOTSCREEN_TIMEOUT 2000 // (ms) Total Duration to display the boot screen(s)
1585+
#define BOOTSCREEN_TIMEOUT 1000 // (ms) Total Duration to display the boot screen(s)
15861586
#if EITHER(HAS_MARLINUI_U8GLIB, TFT_COLOR_UI)
15871587
#define BOOT_MARLIN_LOGO_SMALL // Show a smaller Marlin logo on the Boot Screen (saving lots of flash)
15881588
#endif

Firmware/Marlin/Configuration_backend.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//======================= DO NOT MODIFY THIS FILE ===========================
77
//===========================================================================
88

9-
#define UNIFIED_VERSION "TH3D UFW 2.79"
10-
#define STRING_DISTRIBUTION_DATE "10-27-2023"
9+
#define UNIFIED_VERSION "TH3D UFW 2.80"
10+
#define STRING_DISTRIBUTION_DATE "11-19-2023"
1111

1212
/**
1313
* ABL Probe Settings

Firmware/Marlin/src/lcd/menu/menu_motion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ void menu_motion() {
419419
#endif
420420

421421
#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
422-
GCODES_ITEM(MSG_M48_TEST, F("G28O\nM48 P10"));
422+
GCODES_ITEM(MSG_M48_TEST, F("G28\nM48 P10"));
423423
#endif
424424

425425
//

Firmware/buildroot/share/PlatformIO/scripts/generic_create_variant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
else:
3333
platform_name = PackageSpec(platform_packages[0]).name
3434

35-
if platform_name in [ "usb-host-msc", "usb-host-msc-cdc-msc", "usb-host-msc-cdc-msc-2", "usb-host-msc-cdc-msc-3", "tool-stm32duino", "biqu-bx-workaround", "main" ]:
35+
if platform_name in [ "2", "usb-host-msc", "usb-host-msc-cdc-msc", "usb-host-msc-cdc-msc-2", "usb-host-msc-cdc-msc-3", "tool-stm32duino", "biqu-bx-workaround", "main" ]:
3636
platform_name = "framework-arduinoststm32"
3737

3838
FRAMEWORK_DIR = Path(platform.get_package_dir(platform_name))

Firmware/ini/features.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ HAS_(FSMC|SPI|LTDC)_TFT = src_filter=+<src/HAL/STM32/tft> +<src/H
4343
HAS_FSMC_TFT = src_filter=+<src/HAL/STM32/tft/tft_fsmc.cpp> +<src/HAL/STM32F1/tft/tft_fsmc.cpp>
4444
HAS_SPI_TFT = src_filter=+<src/HAL/STM32/tft/tft_spi.cpp> +<src/HAL/STM32F1/tft/tft_spi.cpp>
4545
I2C_EEPROM = src_filter=+<src/HAL/shared/eeprom_if_i2c.cpp>
46-
SOFT_I2C_EEPROM = SlowSoftI2CMaster, SlowSoftWire=https://github.com/felias-fogg/SlowSoftWire/archive/master.zip
46+
SOFT_I2C_EEPROM = SlowSoftI2CMaster, SlowSoftWire=https://github.com/th3dstudio/SlowSoftWire/archive/1.0.zip
4747
SPI_EEPROM = src_filter=+<src/HAL/shared/eeprom_if_spi.cpp>
4848
HAS_DWIN_E3V2|IS_DWIN_MARLINUI = src_filter=+<src/lcd/e3v2/common>
4949
DWIN_CREALITY_LCD = src_filter=+<src/lcd/e3v2/creality>

Firmware/ini/stm32f4.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,8 @@ upload_protocol = stlink
694694
[env:STM32F401RC_btt]
695695
extends = stm32_variant
696696
platform = ststm32@~14.1.0
697-
platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
697+
platform_packages = framework-arduinoststm32@https://github.com/th3dstudio/Arduino_Core_STM32/archive/2.7.1.zip
698+
698699
board = marlin_STM32F401RC
699700
board_build.offset = 0x4000
700701
board_upload.offset_address = 0x08004000

Firmware/ini/stm32g0.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ debug_tool = stlink
4646
[env:STM32G0B1RE_btt]
4747
extends = stm32_variant
4848
platform = ststm32@~14.1.0
49-
platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
49+
platform_packages = framework-arduinoststm32@https://github.com/th3dstudio/Arduino_Core_STM32/archive/2.7.1.zip
50+
5051
board = marlin_STM32G0B1RE
5152
board_build.offset = 0x2000
5253
board_upload.offset_address = 0x08002000
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)