Add Support for MEGA X with new Anycubic 0.0.2 TFT (DGUS Clone). Use MEGA_X_DGUS to use this environment.
This commit is contained in:
@@ -323,6 +323,71 @@ build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -
|
|||||||
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_DGUS2_TFT -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_DGUS2_TFT -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# i3 Mega X (new TFT)
|
||||||
|
#
|
||||||
|
[env:MEGA_X_DGUS]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
[env:MEGA_X_DGUS_TMC]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_BLTOUCH -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
[env:MEGA_X_DGUS_BLT_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_TMC -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
[env:MEGA_X_DGUS_BLT_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_TMC -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
[env:MEGA_X_DGUS_TMC_BLT_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
[env:MEGA_X_DGUS_TMC_BLT_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_CHIRON
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# i3 Mega P
|
# i3 Mega P
|
||||||
|
@@ -62,6 +62,12 @@ default_envs =
|
|||||||
MEGA_X_BLT_11
|
MEGA_X_BLT_11
|
||||||
MEGA_X_TMC_BLT_10
|
MEGA_X_TMC_BLT_10
|
||||||
MEGA_X_TMC_BLT_11
|
MEGA_X_TMC_BLT_11
|
||||||
|
MEGA_X_DGUS
|
||||||
|
MEGA_X_DGUS_TMC
|
||||||
|
MEGA_X_DGUS_BLT_10
|
||||||
|
MEGA_X_DGUS_BLT_11
|
||||||
|
MEGA_X_DGUS_TMC_BLT_10
|
||||||
|
MEGA_X_DGUS_TMC_BLT_11
|
||||||
MEGA_P
|
MEGA_P
|
||||||
MEGA_P_TMC
|
MEGA_P_TMC
|
||||||
MEGA_P_BLT_10
|
MEGA_P_BLT_10
|
||||||
|
Reference in New Issue
Block a user