Commit Graph

184 Commits

Author SHA1 Message Date
Victor Oliveira
9b1ed45b3e TFT Refactoring (#19192)
* split tft folder in two: tft for color ui; tft_io for shared tft code

* after the files got moved, now the code was moved to the right place

* classic ui using TFT IO init lcd codes

* feature to compile tft_io when enabled

* compiling fix

* lvgl spi tft working with tft io init codes

* there is no need for separeted fsmc and spi class in lvgl anymore, as tft io handle everything

* remove debug

* base for TFT rotation and mirroring API, and ILI9488 support

* ST7796S rotate and mirror support

* ST7789V rotate and mirror support

* ST7735 rotate and mirror support

* ILI9341 rotate and mirror support

* ILI9328 rotate and mirror support

* R61505 rotate and mirror support

* MKS TFT definitions

* more configs for mks tfts

* update config

* naming typo

* to configure the user interface

* ANYCUBIC_TFT35

* tft configs

* support for SSD1963

* tft display types

* updated conditionals lcd; first board fully working with the new code - all 3 ui!

* compatiblity

* changed name

* move classic ui file name

* rename TURN -> ROTATE

* GRAPHICAL_TFT_ROTATE_180 deprecated

* first fsmc board fully working - chitu v5

* mks robin nano v1.2 + tft 35 ok!

* right pin name

* anycubic tft tested in a TRIGORILLA_PRO

* chitu v6

* nano 32 tft orientation

* mks tft43

* mks tft43 rotation

* fixed LONGER LK tft setup

* GRAPHICAL_TFT_UPSCALE defined by the display type

* better offsets defaults

* Update Configuration.h

* Update tft_fsmc.cpp

* Update Conditionals_LCD.h

* Tweak comments

* update nano tests

* Revert "update nano tests"

This reverts commit a071ebbfad30e28855a4a5695ec8a726542a1a65.

* default tft

* outdated comments

* to not break non-vscode builds

* upscale tft 35

* support tft 180 rotation for color ui

* Each TFT Driver is responsible for its default color mode.

* use auto detect in mks displays, because some of them could be shipped with diferent drivers

* extra s

* unused code

* wrong -1

* missing mirror options

* Smaller regex pattern

* Comment updates

* Clean up old defines

* Apply pins formatting

* GRAPHICAL_TFT_ROTATE_180 => TFT_ROTATE_180

* MKS_ROBIN_TFT_V1_1R

* merge fix

* correct resolution

* auto is default, dont need be there, and it will allow the user to configure it even for named displays

* to not use rotation with MKS_ROBIN_TFT_V1_1R

* i like () in macros

* avoid sleepy commits

* default for st7789 is rgb

* nano follow up

* to allow ili9328 rotation

* default is rgb

* boards merge follow up

* to match bootloader orientation

* HAS_TOUCH_XPT2046 is not hal specific anymore

* lets not forget LPC

* 180 rotation for ili9328 and R61505

* Clean up whitespace

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2021-04-29 08:45:02 -05:00
Jason Smith
8b4f82cd07 Fix various errors, warnings in example config builds (#19686)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:45:02 -05:00
Scott Lahteine
7e09160ba3 Batch appercase hex values 2021-04-29 08:45:02 -05:00
Marcio T
bf3f7ae5b9 Touch UI support for X2, Y2 and Z2 (#19538) 2021-04-29 08:45:01 -05:00
Stéphane
bf3b36ae6a Fix Anycubic i3 Mega target temperature display (#19572)
Also includes a workaround for missing (probably un-fetched) long name in file listing
2021-04-29 08:45:01 -05:00
Nick
2069ab3a15 Anycubic Chiron full feature support (#19505) 2021-04-29 08:45:01 -05:00
qwewer0
04a712dacc Multi-line comments cleanup (#19535) 2021-04-29 08:45:01 -05:00
Victor Oliveira
7f93173659 LVGL followup fixing "C", etc. (#19517) 2021-04-29 08:45:00 -05:00
Scott Lahteine
affb5e53df Sanity check old serial names 2021-04-29 08:45:00 -05:00
Jason Smith
9d02cedfed Fix and improve STM32F1 serial (#19464) 2021-04-29 08:45:00 -05:00
Scott Lahteine
449a31dea9 Fix some pin inits 2021-04-29 08:45:00 -05:00
Scott Lahteine
bfa6cd3693 HAL/serial followup 2021-04-29 08:45:00 -05:00
Scott Lahteine
f588d50d57 HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467+sjasonsmith@users.noreply.github.com>
2021-04-29 08:45:00 -05:00
Scott Lahteine
27c067612c Whitespace cleanup 2021-04-29 08:45:00 -05:00
Marcio T
1978a29678 New Touch UI buttons (#19465) 2021-04-29 08:45:00 -05:00
Scott Lahteine
bc081473f2 Fix up tests, warnings 2021-04-29 08:45:00 -05:00
makerbase
33788c8405 Add MKS Robin E3P, improve LVGL UI (#19442) 2021-04-29 08:44:59 -05:00
Scott Lahteine
ee1232051c Cleanup before MKS changes 2021-04-29 08:44:59 -05:00
Scott Lahteine
b3890d385c Add multi-extruder condition 2021-04-29 08:44:59 -05:00
Scott Lahteine
5a35595a3a Whitespace cleanup 2021-04-29 08:44:59 -05:00
InsanityAutomation
a50633d8e0 Fix compile for Taz Pro (#19424) 2021-04-29 08:44:59 -05:00
Victor Oliveira
9d1b1cf073 Fix MKS UI SPI flash typo (#19410) 2021-04-29 08:44:59 -05:00
Marcio Teixeira
90dea98a14 Add warning to ExtUI Bed Mesh Screen. (#19397)
- Show a warning on the Mesh Bed Leveling screen if some points aren't probed.
2021-04-29 08:44:59 -05:00
Marcio T
9aceb3711b Add missing FTDI EVE menu source (#19382) 2021-04-29 08:44:59 -05:00
Scott Lahteine
8e3ac54de3 Allow E3 V2 DWIN without EEPROM, POWER_LOSS_RECOVERY 2021-04-29 08:44:59 -05:00
ellensp
4fdfdaf2e6 Improve temperature runaway, idle timeout (#19339)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:44:59 -05:00
Scott Lahteine
2396b4e27f heater_ind_t => heater_id_t 2021-04-29 08:44:59 -05:00
Marcio T
196a72b29e Touch UI "Leveling" menu, misc. fixes (#19349) 2021-04-29 08:44:59 -05:00
Scott Lahteine
ade9476721 Clean up W25QXXFlash class 2021-04-29 08:44:59 -05:00
Marcio Teixeira
ba6659f6be Fix ExtUI SD sorting, compile issues 2021-04-29 08:44:58 -05:00
Scott Lahteine
9172271c7f Whitespace cleanup 2021-04-29 08:44:58 -05:00
Marcio T
e79af802b1 Touch UI long filenames fixes (#19262)
* Improvements to FTDI DLCache functionality.
* Better handling of long file names in Touch UI
- Long file names now truncated and shown with ellipsis.
- Increased display cache buffer to allow for longer filenames.
- Visual error message when display cache is exceeded.
2021-04-29 08:44:58 -05:00
Stéphane
2212bf85b7 Fix Anycubic I3 Mega (S) original screen % display (#19210) 2021-04-29 08:44:58 -05:00
Marcio Teixeira
1b129ede4e Fixes to FTDI Touch UI (#19134)
- Fix unused variable warning
- Fix for filament runout sound
- Fix for developer menu access
- Fix compilation error when using CALIBRATION_GCODE
- Remove material labels in change filament screen
- Add decimals to status screen Z coordinate
- Add more descriptive message on heater timeout
2021-04-29 08:44:57 -05:00
Jason Smith
6043f5d5d0 Fix SD pins for SKR Pro and GTR (#19047) 2021-04-29 08:44:57 -05:00
Victor Oliveira
dded56c4bb Emulated DOGM via HAL TFT, XPT IO (#19017) 2021-04-29 08:44:57 -05:00
Scott Lahteine
d1aed52280 Move ExtUI displays to sub-folder (#19070) 2021-04-29 08:44:57 -05:00
Scott Lahteine
f9f514a46c Fix ExtUI base methods 2021-04-29 08:44:57 -05:00
Victor Oliveira
4e7c5f19fe Optimize LVGL with HAL TFT IO (SPI and FSMC) (#18974) 2021-04-29 08:44:56 -05:00
Marcio T
3eafce4683 For FTDI800 compatibility, remove VERTEX_FORMAT dependency (#18982) 2021-04-29 08:44:56 -05:00
Victor Oliveira
438a9bb4aa W25QXX SPI Flash support (#18897)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2021-04-29 08:44:56 -05:00
Scott Lahteine
3dc0f9c0b4 configuration_store => settings 2021-04-29 08:44:56 -05:00
Victor Oliveira
cd977c70ca Fix / optimize FSMC init (#18941) 2021-04-29 08:44:56 -05:00
Victor Oliveira
57c3b0e0b7 Fix LVGL "C" brace (#18942) 2021-04-29 08:44:56 -05:00
Victor Oliveira
0e70d8bacb Followup fixes to LVGL for Chitu (#18940) 2021-04-29 08:44:56 -05:00
Victor Oliveira
9493682e49 MKS Robin Nano CI Tests (#18927) 2021-04-29 08:44:56 -05:00
Scott Lahteine
da6e5ce3db Optimize G-code / feature dependencies (#18919) 2021-04-29 08:44:56 -05:00
Marco Burato
f4894b7140 More Anycubic + Trigorilla mappings, ExtUI (#18903) 2021-04-29 08:44:56 -05:00
Victor Oliveira
1a50260ebd Followup to LVGL patch (#18920) 2021-04-29 08:44:56 -05:00
Victor Oliveira
a0a87c2b81 SPI Flash data compression (#18879) 2021-04-29 08:44:55 -05:00
Scott Lahteine
7dd7d6dda6 Move scaled TFT / touch defines (#18915) 2021-04-29 08:44:55 -05:00
Alexander Gavrilenko
8f8b0d84ae Support for TFT & Touch Screens (#18130) 2021-04-29 08:44:55 -05:00
Victor Oliveira
3eef000e2a
Fix MKS Robin Nano V2 build / upload (#18784) 2020-07-25 23:08:30 -05:00
Scott Lahteine
bc688f27dc Clean up after changes 2020-07-25 01:53:07 -05:00
MKS-Sean
d20d459132 Robin nano V2, TFT LVGL UI parameters, and more (#18500) 2020-07-25 01:18:06 -05:00
Scott Lahteine
d1e20eb29f Update links, README, contributing, etc. 2020-07-23 20:46:51 -05:00
Diego von Deschwanden
42fbd527f3
Fix links to secure sites (#18745) 2020-07-22 22:20:14 -05:00
Scott Lahteine
1e5d73579c Anycubic followup 2020-07-21 14:43:55 -05:00
Scott Lahteine
2119e19bff Fix inline AnycubicSerial method 2020-07-21 05:41:26 -05:00
yufanyufan
469f63f74d
New DGUS UI var / definition syntax (#18718) 2020-07-21 03:19:25 -05:00
Scott Lahteine
0a86291e66 Fix some LVGL warnings 2020-07-19 22:06:55 -05:00
yufanyufan
1c94033f7c
Fix endian DGUS WriteVariable (#18703) 2020-07-19 17:34:36 -05:00
yufanyufan
cfc36684aa
More customizable DGUSDisplay (#18700) 2020-07-19 16:35:15 -05:00
Scott Lahteine
0ddef5544a Misc formatting, cleanup 2020-07-18 18:59:38 -05:00
yufanyufan
6f0885a3a3
Fix DGUS write variable endianness (#18689) 2020-07-18 17:26:00 -05:00
George Fu
bd0430dc38
Support FT81050 with FYSETC F6 (#18678)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-07-17 07:40:28 -05:00
JBA
4abad60bf1
ExtUI for Anycubic I3 Mega (#18655) 2020-07-17 01:07:09 -05:00
Scott Lahteine
ea94716a87 Combine command macros 2020-07-07 02:30:26 -05:00
Robby Candra
c02451b602
Filament Runout Inverting => State (#18537)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-07-05 17:42:19 -05:00
Jason Smith
52a0895635
Fix stall sensitivity adjustment for FTDI screens (#18554) 2020-07-05 15:50:05 -05:00
Victor Oliveira
e5bc9d31cc
Add TFT_LVGL_UI support (#18438) 2020-07-01 01:30:24 -05:00
InsanityAutomation
3b80690a71
ExtUI additions (#18447)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-06-27 22:02:28 -05:00
Scott Lahteine
319e93f55d Patch some DGUS warnings 2020-06-26 18:53:44 -05:00
Victor
2a650a2793
TFT_LITTLE_VGL_UI followup (#18410) 2020-06-24 14:54:39 -05:00
RudolphRiedel
e65e2f33f1
Fix ExtUI automatic font scaling (#18377) 2020-06-22 15:41:01 -05:00
Anton Skorochod
0b30de1b8e
M73 remaining time for MKS UI (#18326) 2020-06-16 14:33:17 -05:00
George Fu
c4b11e03b9
Fix DGUS screen bug (#18320) 2020-06-16 02:38:22 -05:00
makerbase
642112d3eb
Add MKS UI (TFT_LITTLE_VGL_UI) (#18071) 2020-06-15 21:05:33 -05:00
Scott Lahteine
fe969ec6d3 FTDI whitespace tweaks 2020-06-11 15:27:51 -05:00
Scott Lahteine
cfd31ff70e Add HAS_FILAMENT_RUNOUT_DISTANCE 2020-06-07 21:55:09 -05:00
Scott Lahteine
929b3f6af9 Don't re-reverse sort 2020-05-24 20:17:51 -05:00
thisiskeithb
21bfb94357
Fix FTDI EVE Touch UI typo (#17985) 2020-05-13 14:22:41 -05:00
Gustavo Alvarez
6d92f56582
FTDI/EVE, pins cleanup for SKR E3/DIP (#17990) 2020-05-13 14:22:03 -05:00
RudolphRiedel
98fdc67f1d
Fixes for FYSETC Cheetah (#17935) 2020-05-11 23:51:07 -05:00
George Fu
34a2fd7b09
DGUS minor fixups (#17901) 2020-05-08 01:24:27 -05:00
Scott Lahteine
7c26a54d3f Fix, clarify LCD_TIMEOUT_TO_STATUS
Replaces #17887

Co-Authored-By: Daniel Callander <knifa@users.noreply.github.com>
2020-05-06 03:34:39 -05:00
Gustavo Alvarez
0332666d38
Fix Cheetah pins alias (#17882) 2020-05-06 01:16:32 -05:00
Gurmeet Athwal
a4c981469e
Extended reporting options (#16741) 2020-05-05 23:34:04 -05:00
Gustavo Alvarez
3fd8ef52c5
More FTDI EVE fixes (RAMPS, Cheetah) (#17759) 2020-05-05 02:38:06 -05:00
Scott Lahteine
eeabe66fc4 Some distinct E helpers 2020-05-05 00:52:45 -05:00
Marcio T
98196673aa
Fix setStatusMessage calls (#17879) 2020-05-04 17:19:49 -05:00
Scott Lahteine
38d1587091
Malyan M200 V2 (#17840) 2020-05-04 14:37:43 -05:00
Marcio T
2a959cde6f
Fix undefined/unused, Touch UI (#17874) 2020-05-04 13:57:12 -05:00
Dipl.-Ing. Raoul Rubien, BSc
cba4c5a756
Fix missing var for DGUS_LCD_UI_ORIGIN (#17819) 2020-05-02 18:32:01 -05:00
Marcio T
db32af9171
Fix ExtUI + Archim compile, typos (#17825) 2020-05-02 17:30:51 -05:00
Scott Lahteine
a226b281af
UI and stall reset for extra TMC axes (#17818) 2020-04-30 22:52:33 -05:00
Scott Lahteine
2fbce22910 Cleanup followup 2020-04-29 01:47:41 -05:00
Scott Lahteine
3d3d2a923b Cleanup with updated macros 2020-04-28 19:18:14 -05:00
Scott Lahteine
2c959123e5 Clean up whitespace 2020-04-28 06:09:52 -05:00
Marcio T
07a6bf9b84
Enhance and fix FTDI EVE Touch UI (#17755)
- Stop print and play error sound if USB drive is removed.
- Allow configuration of version string in touch UI.
- Print a completion message in the bed mesh leveling screen.
- Don't play redundant sound at the start of a print.
- Clicking on percentage in status screen now goes into print speed screen
- Clicking on axis in status screen now goes to nozzle motion screens
- Use default increment of 100 when nozzle is preheated in temp screen, 10 otherwise
- Fixed grayed out change filament button in tune menu
- Eliminated code duplication in tune menu
- Add button for resetting BLTouch to advanced settings menu
2020-04-28 00:31:05 -05:00