Skip to content

Commit

Permalink
laser feature readjusted
Browse files Browse the repository at this point in the history
- laser feature enable in build system for ablbuilds
- laser feature disable globally so ubl is buildable again
  • Loading branch information
ThomasToka committed Jun 11, 2023
1 parent df2e2d8 commit 9e791cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3458,7 +3458,7 @@
* See https://marlinfw.org/docs/configuration/2.0.9/laser_spindle.html for more config details.
*/
//#define SPINDLE_FEATURE
#define LASER_FEATURE
//#define LASER_FEATURE
#if ANY(SPINDLE_FEATURE, LASER_FEATURE)

#define EEPROM_PLR
Expand Down
3 changes: 3 additions & 0 deletions ini/stm32f1.ini
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ board_upload.offset_address = 0x08010000
[env:STM32F103RE_creality_e3s1pro_abl5x5]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
Expand Down Expand Up @@ -229,6 +230,7 @@ extra_scripts = ${stm32_variant.extra_scripts}
[env:STM32F103RE_creality_e3s1plus_abl5x5]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PLUS
-DAUTO_BED_LEVELING_BILINEAR
Expand Down Expand Up @@ -285,6 +287,7 @@ extra_scripts = ${stm32_variant.extra_scripts}
[env:STM32F103RE_creality_e3s1_abl5x5]
extends = env:STM32F103RE_creality
build_flags = ${STM32F103Rx_creality.build_flags}
-DLASER_FEATURE
-DENDER_MACHINE_OVERRIDE
-DENDER_3S1_PRO
-DAUTO_BED_LEVELING_BILINEAR
Expand Down
4 changes: 4 additions & 0 deletions ini/stm32f4.ini
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ 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
Expand All @@ -744,6 +745,7 @@ 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
Expand Down Expand Up @@ -810,6 +812,7 @@ 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
Expand Down Expand Up @@ -874,6 +877,7 @@ 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
-DAUTO_BED_LEVELING_BILINEAR
Expand Down

0 comments on commit 9e791cc

Please sign in to comment.