Skip to content

Commit

Permalink
v003 updates
Browse files Browse the repository at this point in the history
- reintroduce 7x7 and 10x10 build generally
- add abl7x7 and abl10x10 builds
- fix runout disabled status on all events (start,pause, etc)
  • Loading branch information
ThomasToka committed Jul 16, 2023
1 parent 2d02ccd commit 59f42f7
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 9 deletions.
18 changes: 15 additions & 3 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,13 @@
#define SOFTVERSION SHORT_BUILD_VERSION
#define MACHINE_TYPE "Ender-3 S1 Pro"
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
#define FIRMWARE_VERSION "abl5x5-v002-byTT"
#if GRID_MAX_POINTS_X == 5
#define FIRMWARE_VERSION "abl5x5-v002-byTT"
#elif GRID_MAX_POINTS_X == 7
#define FIRMWARE_VERSION "abl7x7-v002-byTT"
#elif GRID_MAX_POINTS_X == 10
#define FIRMWARE_VERSION "abl10x10-v002-byTT"
#endif
#else
#if GRID_MAX_POINTS_X == 5
#define FIRMWARE_VERSION "ubl5x5-v002-byTT"
Expand Down Expand Up @@ -160,7 +166,13 @@
#define SOFTVERSION SHORT_BUILD_VERSION
#define MACHINE_TYPE "Ender-3 S1 Plus"
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
#define FIRMWARE_VERSION "abl5x5-v002-byTT"
#if GRID_MAX_POINTS_X == 5
#define FIRMWARE_VERSION "abl5x5-v002-byTT"
#elif GRID_MAX_POINTS_X == 7
#define FIRMWARE_VERSION "abl7x7-v002-byTT"
#elif GRID_MAX_POINTS_X == 10
#define FIRMWARE_VERSION "abl10x10-v002-byTT"
#endif
#else
#if GRID_MAX_POINTS_X == 5
#define FIRMWARE_VERSION "ubl5x5-v002-byTT"
Expand Down Expand Up @@ -2370,7 +2382,7 @@
#if ANY(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)

// Set the number of grid points per dimension.
#define GRID_MAX_POINTS_X 5
//#define GRID_MAX_POINTS_X 5
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

// Probe along the Y axis, advancing X after each column
Expand Down
14 changes: 12 additions & 2 deletions Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,18 @@ void unified_bed_leveling::shift_mesh_height() {
rtscheck.RTS_SndData(GRID_MAX_POINTS, AUTO_BED_LEVEL_END_POINT);
rtscheck.RTS_SndData(point_num, AUTO_BED_LEVEL_CUR_POINT_VP);
rtscheck.RTS_SndData(measured_z * 1000, AUTO_BED_LEVEL_1POINT_NEW_VP + (point_num_real - 1) * 2);
rtscheck.RTS_SndData(ExchangePageBase + 81, ExchangepageAddr);
change_page_font = 81;
#if GRID_MAX_POINTS_X == 5
rtscheck.RTS_SndData(ExchangePageBase + 81, ExchangepageAddr);
change_page_font = 81;
#endif
#if GRID_MAX_POINTS_X == 7
rtscheck.RTS_SndData(ExchangePageBase + 94, ExchangepageAddr);
change_page_font = 94;
#endif
#if GRID_MAX_POINTS_X == 10
rtscheck.RTS_SndData(ExchangePageBase + 95, ExchangepageAddr);
change_page_font = 95;
#endif
}
#endif
}
Expand Down
14 changes: 12 additions & 2 deletions Marlin/src/gcode/bedlevel/abl/G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,18 @@ G29_TYPE GcodeSuite::G29() {
rtscheck.RTS_SndData(showcount + 1, AUTO_BED_LEVEL_CUR_POINT_VP);
rtscheck.RTS_SndData(z*1000, AUTO_BED_LEVEL_1POINT_NEW_VP + showcount * 2);
showcount ++;
rtscheck.RTS_SndData(ExchangePageBase + 81, ExchangepageAddr);
change_page_font = 81;
#if GRID_MAX_POINTS_X == 5
rtscheck.RTS_SndData(ExchangePageBase + 81, ExchangepageAddr);
change_page_font = 81;
#endif
#if GRID_MAX_POINTS_X == 7
rtscheck.RTS_SndData(ExchangePageBase + 94, ExchangepageAddr);
change_page_font = 94;
#endif
#if GRID_MAX_POINTS_X == 10
rtscheck.RTS_SndData(ExchangePageBase + 95, ExchangepageAddr);
change_page_font = 95;
#endif
}
}
#endif
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@
#elif MB(CREALITY_V24S1)
#include "stm32f1/pins_CREALITY_V24S1.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
#elif MB(CREALITY_V24S1_301)
#include "stm32f1/pins_CREALITY_V24S1_301.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple env:STM32F103RE_creality_e3s1pro_abl5x5 env:STM32F103RE_creality_e3s1pro_ubl5x5 env:STM32F103RE_creality_e3s1pro_ubl7x7 env:STM32F103RE_creality_e3s1pro_ubl10x10 env:STM32F103RE_creality_e3s1plus_abl5x5 env:STM32F103RE_creality_e3s1plus_ubl5x5 env:STM32F103RE_creality_e3s1plus_ubl7x7 env:STM32F103RE_creality_e3s1plus_ubl10x10 env:STM32F103RE_creality_e3s1_abl5x5
#include "stm32f1/pins_CREALITY_V24S1_301.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple env:STM32F103RE_creality_e3s1pro_abl5x5 env:STM32F103RE_creality_e3s1pro_abl7x7 env:STM32F103RE_creality_e3s1pro_abl10x10 env:STM32F103RE_creality_e3s1pro_ubl5x5 env:STM32F103RE_creality_e3s1pro_ubl7x7 env:STM32F103RE_creality_e3s1pro_ubl10x10 env:STM32F103RE_creality_e3s1plus_abl5x5 env:STM32F103RE_creality_e3s1plus_abl7x7 env:STM32F103RE_creality_e3s1plus_abl10x10 env:STM32F103RE_creality_e3s1plus_ubl5x5 env:STM32F103RE_creality_e3s1plus_ubl7x7 env:STM32F103RE_creality_e3s1plus_ubl10x10 env:STM32F103RE_creality_e3s1_abl5x5
#elif MB(CREALITY_V25S1)
#include "stm32f1/pins_CREALITY_V25S1.h" // STM32F1 env:STM32F103RE_creality_smartPro env:STM32F103RE_creality_smartPro_maple
#elif MB(CREALITY_V521)
Expand Down Expand Up @@ -787,7 +787,7 @@
#elif MB(ARTILLERY_RUBY)
#include "stm32f4/pins_ARTILLERY_RUBY.h" // STM32F4 env:Artillery_Ruby
#elif MB(CREALITY_V24S1_301F4)
#include "stm32f4/pins_CREALITY_V24S1_301F4.h" // STM32F4 env:STM32F401RC_creality env:STM32F401RC_creality_jlink env:STM32F401RC_creality_stlink env:STM32F401RC_creality_e3s1pro_abl5x5 env:STM32F401RC_creality_e3s1pro_abl5x5_personal env:STM32F401RC_creality_e3s1pro_ubl5x5_personal env:STM32F401RC_creality_e3s1pro_ubl5x5 env:STM32F401RC_creality_e3s1pro_ubl7x7 env:STM32F401RC_creality_e3s1pro_ubl10x10 env:STM32F401RC_creality_e3s1plus_abl5x5 env:STM32F401RC_creality_e3s1plus_ubl5x5 env:STM32F401RC_creality_e3s1plus_ubl7x7 env:STM32F401RC_creality_e3s1plus_ubl10x10 env:STM32F401RC_creality_e3s1_abl5x5
#include "stm32f4/pins_CREALITY_V24S1_301F4.h" // STM32F4 env:STM32F401RC_creality env:STM32F401RC_creality_jlink env:STM32F401RC_creality_stlink env:STM32F401RC_creality_e3s1pro_abl5x5 env:STM32F401RC_creality_e3s1pro_abl7x7 env:STM32F401RC_creality_e3s1pro_abl10x10 env:STM32F401RC_creality_e3s1pro_abl5x5_personal env:STM32F401RC_creality_e3s1pro_ubl5x5_personal env:STM32F401RC_creality_e3s1pro_ubl5x5 env:STM32F401RC_creality_e3s1pro_ubl7x7 env:STM32F401RC_creality_e3s1pro_ubl10x10 env:STM32F401RC_creality_e3s1plus_abl5x5 env:STM32F401RC_creality_e3s1plus_abl7x7 env:STM32F401RC_creality_e3s1plus_abl10x10 env:STM32F401RC_creality_e3s1plus_ubl5x5 env:STM32F401RC_creality_e3s1plus_ubl7x7 env:STM32F401RC_creality_e3s1plus_ubl10x10 env:STM32F401RC_creality_e3s1_abl5x5
#elif MB(OPULO_LUMEN_REV4)
#include "stm32f4/pins_OPULO_LUMEN_REV4.h" // STM32F4 env:Opulo_Lumen_REV4
#elif MB(FYSETC_SPIDER_KING407)
Expand Down
55 changes: 55 additions & 0 deletions ini/stm32f1.ini
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,39 @@ build_flags = ${STM32F103Rx_creality.build_flags}
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Pro-abl5x5-LA-F1.bin

[env:STM32F103RE_creality_e3s1pro_abl7x7]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=7
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Pro-abl7x7-LA-F1.bin

[env:STM32F103RE_creality_e3s1pro_abl10x10]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=10
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Pro-abl10x10-LA-F1.bin

[env:STM32F103RE_creality_e3s1pro_ubl5x5]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
Expand Down Expand Up @@ -229,12 +256,39 @@ build_flags = ${STM32F103Rx_creality.build_flags}
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Plus-abl5x5-LA-F1.bin

[env:STM32F103RE_creality_e3s1plus_abl7x7]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=7
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Plus-abl7x7-LA-F1.bin

[env:STM32F103RE_creality_e3s1plus_abl10x10]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=10
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Plus-abl10x10-LA-F1.bin

[env:STM32F103RE_creality_e3s1plus_ubl5x5]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
Expand Down Expand Up @@ -282,6 +336,7 @@ build_flags = ${STM32F103Rx_creality.build_flags}
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F103=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301
Expand Down
64 changes: 64 additions & 0 deletions ini/stm32f4.ini
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DS
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
Expand All @@ -748,6 +749,7 @@ build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DS
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DPERSONAL_BUILD
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F401=1
Expand All @@ -756,6 +758,36 @@ build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DS
-DFILAMENT_RUNOUT_SENSOR_DEBUG
board_build.rename = firmware-{date}-{time}-E3S1Pro-abl5x5-LA-personal-F4.bin

[env:STM32F401RC_creality_e3s1pro_abl7x7]
extends = env:STM32F401RC_creality
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=7
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Pro-abl7x7-LA-F4.bin

[env:STM32F401RC_creality_e3s1pro_abl10x10]
extends = env:STM32F401RC_creality
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=10
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Pro-abl10x10-LA-F4.bin

[env:STM32F401RC_creality_e3s1pro_ubl5x5_personal]
extends = env:STM32F401RC_creality
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
Expand Down Expand Up @@ -829,12 +861,43 @@ build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DS
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Plus-abl5x5-LA-F4.bin

[env:STM32F401RC_creality_e3s1plus_abl7x7]
extends = env:STM32F401RC_creality
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=7
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Plus-abl7x7-LA-F4.bin

[env:STM32F401RC_creality_e3s1plus_abl10x10]
extends = env:STM32F401RC_creality
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
-DSS_TIMER=4 -DTIMER_SERVO=TIM5
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=10
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
-DPROBING_MARGIN=45
board_build.rename = firmware-{date}-{time}-E3S1Plus-abl10x10-LA-F4.bin

[env:STM32F401RC_creality_e3s1plus_ubl5x5]
extends = env:STM32F401RC_creality
build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DSTM32F4
Expand Down Expand Up @@ -890,6 +953,7 @@ build_flags = ${stm32_variant.build_flags} -DMCU_STM32F401RC -DS
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1
-DAUTO_BED_LEVELING_BILINEAR
-DGRID_MAX_POINTS_X=5
-DBLTOUCH_HS_MODE=true
-DUSER_STM32F401=1
-DMOTHERBOARD=BOARD_CREALITY_V24S1_301F4
Expand Down

0 comments on commit 59f42f7

Please sign in to comment.