-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for TFT and touch screens #18130
Merged
thinkyhead
merged 106 commits into
MarlinFirmware:bugfix-2.0.x
from
jmz52:tft_and_touch_screen
Jul 30, 2020
Merged
Changes from all commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
e3e6482
Pre-requisites for TFT and touch screen support
jmz52 639b488
Add support for TFT and touch screen
jmz52 dd5f13c
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 ab4ed92
Update Sd2Card_sdio_stm32duino.cpp
thinkyhead 3eada56
Update tft_spi.cpp
thinkyhead afe667d
No wrapper on headers
thinkyhead 87c957f
Update xpt2046.cpp
thinkyhead a604a04
No wrappers on headers
thinkyhead 1badfff
Update (c), indentation
thinkyhead 3e25d86
Merge branch 'tft_and_touch_screen' of https://github.com/jmz52/Marli…
jmz52 dd1aa9a
Fix FSMC initialization for STM32F103Vx MCUs
jmz52 2d868a8
Add FSMC support for STM32F4xxVx and STM32F4xxZx MCUs
jmz52 7180660
Improve TFT initialization
jmz52 f0b03ac
Update Conditionals_LCD.h
thinkyhead a77b2dc
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 17f4a31
Implement TFT UI for ADVANCED_PAUSE_FEATURE
jmz52 e7f1b50
Various style adjustments
thinkyhead fa47c57
…etc…
thinkyhead fe80e23
Update tft_fsmc.cpp
thinkyhead ca1b9a9
Implement TFT UI for AUTO_BED_LEVELING_UBL
jmz52 a7ce846
Merge branch 'tft_and_touch_screen' of https://github.com/jmz52/Marli…
jmz52 2a9fe2e
STM32 bootloader and MKS encryption scripts
jmz52 df569e8
Fix compilation errors
jmz52 9e44367
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 2d8f324
Add conditional and sanity checks
jmz52 3e90f1d
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 c0a24bb
Slow down FSMC to improve stability
jmz52 09c87fa
Add new build environment for MKS Robin
jmz52 eec5965
Restore Configuration.h
jmz52 67abc5d
Add touch screen calibration - M995
jmz52 2f7dd35
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 79aa48e
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into bf2_tft_tou…
thinkyhead 958dc61
Update M995.cpp
thinkyhead afc29e7
Update platformio.ini
thinkyhead 0adc6ed
Update platformio.ini
thinkyhead 52e2a39
Add 'variant' for STM32F103Vx boards to build with HAL STM32
jmz52 369115f
Code cleanup
jmz52 6f3bf22
Update Sd2Card_sdio_stm32duino.cpp
thinkyhead a712196
Implement UI for 480x320 TFT with optional touch screen
jmz52 b546e8f
Merge branch 'tft_and_touch_screen' of https://github.com/jmz52/Marli…
jmz52 ffe422c
Fix BGR/RGB bits order configuration
jmz52 9052a5b
Fix BGR/RGB bits order configuration - take two
jmz52 bd37801
Add driver definition for LERDGE init sequence.
xC0000005 6128419
Merge pull request #1 from xC0000005/tft_and_touch_screen
jmz52 13b928f
Merge branch 'bugfix-2.0.x' into tft_and_touch_screen
thinkyhead 9eba0cb
Update UBL Mesh Edit
jmz52 bb2b61e
Merge branch 'bugfix-2.0.x' into tft_and_touch_screen
thinkyhead 4e6afb0
Tweak tft.cpp
thinkyhead 22633bc
Update platformio.ini
thinkyhead 7c37a40
Fix LERDGE_ST7796 and TFT_DRIVER handling
jmz52 8a72270
Merge branch 'bugfix-2.0.x' into tft_and_touch_screen
thinkyhead 8ece3dd
Update platformio.ini
thinkyhead f66faad
Update menu_ubl.cpp
thinkyhead f92cea3
Filter 6 files with HAS_GRAPHICAL_TFT
thinkyhead 1790dd1
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into pr/18130
thinkyhead add86fc
Clean up some conditions
thinkyhead 784fbad
Move bitmaps to cpp
thinkyhead 8e25974
Throw error for unsupported HALs
thinkyhead 9727210
Allow SDSUPPORT to be disabled
thinkyhead 94bdc21
Move font data to cpp
thinkyhead 4c8b9d4
Update platformio.ini
thinkyhead 9691e67
Fix compilation problems
jmz52 43aeaab
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 24067ed
Fix merge conflict
jmz52 d29e6fb
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 49316ba
Update URL to black STM32F407 board
jmz52 445dc7a
Robin nano V2, TFT LVGL UI parameters, and more (#18500)
MKS-Sean 3a77a64
Merge branch 'bugfix-2.0.x' into tft_and_touch_screen
thinkyhead a81f1f7
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into pr/18130
thinkyhead c78361b
HAL-specific conditionals
thinkyhead d8fe483
Update Conditionals_post.h
thinkyhead 4b90093
Update Conditionals_LCD.h
thinkyhead 5d9b2a3
Update license links
thinkyhead 5005158
spacing
thinkyhead a4514c0
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into pr/18130
thinkyhead d7ef525
Format pins_MKS_ROBIN.h
thinkyhead 90b88c6
AFAIK 'platform' is needed
thinkyhead fc9a24f
Add support for ST7796 with SPI interface
jmz52 c41a532
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into tft_and_tou…
jmz52 7ee2f53
Add '$' character and negative index substitution
jmz52 b4d7bfe
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into pr/18130
thinkyhead c098cd3
Was option, now conditional
thinkyhead da13b80
General sweep
thinkyhead c5b19b5
Include full prefix for HAS_XPT2046_BUTTONS
thinkyhead 14952d7
I believe opt_add should… prepend?
thinkyhead f310de0
Grab test from import, temporarily
thinkyhead fd1117f
Import more tests
thinkyhead f2515af
More flexible test script
thinkyhead 98c8358
Another…
thinkyhead ad9bef8
Allow TFT for STM32F1
thinkyhead 119ec93
Update Conditionals_LCD.h
thinkyhead e68f4d4
Merge branch 'bugfix-2.0.x' into tft_and_touch_screen
thinkyhead 829b0ab
Use new option name
thinkyhead bba784f
CHange define to reflect
thinkyhead c0079bc
Update pins checks
thinkyhead cc39ca6
Can use bugfix-2.0.x tests
thinkyhead 2470b9a
Test mks_robin_stm32 with new config
thinkyhead d0b4080
ABM hint for mks_robin_stm32
thinkyhead 41db12e
I are confused
thinkyhead c7fc512
Missing include
thinkyhead 46f86c2
Separate ULTRA_LCD block
thinkyhead 3653cb5
Bring it
thinkyhead 3286f97
Swaptions
thinkyhead 307debc
HAS_TFT_XPT2046
thinkyhead 194f99e
Comment
thinkyhead 17e01da
Apply indentation
thinkyhead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
TOUCH_BUTTONS
is going away completely as a separate user-configurable option, then I will follow up shortly with a suitable conditional to replace it. There are several pins files that still refer toTOUCH_BUTTONS
and I want make it clear this refers specifically to theXPT2046
device.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the xpt2046 of the emulated DOGM migrated to the new implementation? Right now, I think every TOUCH_BUTTONS pin refer to specifically emulated DOGM and software spi.