Support for TFT & Touch Screens (#18130)
This commit is contained in:
committed by
GitHub
parent
bba157e5bd
commit
117df87d19
@@ -26,7 +26,7 @@ include_dir = Marlin
|
||||
#
|
||||
[common]
|
||||
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
||||
-<src/lcd/HD44780> -<src/lcd/dwin> -<src/lcd/dogm> -<src/lcd/menu>
|
||||
-<src/lcd/HD44780> -<src/lcd/dwin> -<src/lcd/dogm> -<src/lcd/tft> -<src/lcd/menu>
|
||||
-<src/lcd/extui/lib/mks_ui> -<src/lcd/extui/lib/dgus> -<src/lcd/extui/lib/ftdi_eve_touch_ui> -<src/lcd/extui/lib/anycubic>
|
||||
-<src/sd/usb_flashdrive>
|
||||
-<src/gcode/feature/trinamic>
|
||||
@@ -62,6 +62,7 @@ USES_LIQUIDCRYSTAL = LiquidCrystal@1.5.0
|
||||
USES_LIQUIDTWI2 = LiquidTWI2@1.2.7
|
||||
DWIN_CREALITY_LCD = src_filter=+<src/lcd/dwin>
|
||||
HAS_CHARACTER_LCD = src_filter=+<src/lcd/HD44780>
|
||||
HAS_GRAPHICAL_TFT = src_filter=+<src/lcd/tft>
|
||||
HAS_LCD_MENU = src_filter=+<src/lcd/menu>
|
||||
HAS_DGUS_LCD = src_filter=+<src/lcd/extui/lib/dgus>
|
||||
TOUCH_UI_FTDI_EVE = src_filter=+<src/lcd/extui/lib/ftdi_eve_touch_ui>
|
||||
@@ -603,6 +604,28 @@ extra_scripts = ${common.extra_scripts}
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DSS_TIMER=4 -DSTM32_XL_DENSITY
|
||||
|
||||
# MKS Robin (STM32F103ZET6)
|
||||
# Uses HAL STM32 to support Marlin UI for TFT screen with optional touch panel
|
||||
#
|
||||
[env:mks_robin_stm32]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = common_stm32
|
||||
board = genericSTM32F103ZE
|
||||
board_build.core = stm32
|
||||
board_build.variant = MARLIN_F103Zx
|
||||
board_build.ldscript = ldscript.ld
|
||||
board_build.offset = 0x7000
|
||||
board_build.firmware = Robin.bin
|
||||
build_flags = ${common_stm32.build_flags}
|
||||
-DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
|
||||
build_unflags = ${common_stm32.build_unflags}
|
||||
-DUSBCON -DUSBD_USE_CDC
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
||||
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
|
||||
buildroot/share/PlatformIO/scripts/mks_encrypt.py
|
||||
lib_deps =
|
||||
|
||||
#
|
||||
# MKS Robin Pro (STM32F103ZET6)
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user