Commit Graph

235 Commits

Author SHA1 Message Date
Earle F. Philhower, III
193c0a52d9
Add loose soft endstop state, apply to UBL fine-tune (#19681)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-12 16:48:04 -05:00
Victor Oliveira
c0920bbf6a
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>
2020-10-12 16:38:07 -05:00
Jason Smith
c762b7c91b
Fix various errors, warnings in example config builds (#19686)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-11 19:06:57 -05:00
Scott Lahteine
6831341ab4 Batch appercase hex values 2020-10-09 16:55:27 -05:00
Marcio T
d06bcd6dd3
Touch UI support for X2, Y2 and Z2 (#19538) 2020-10-02 17:30:32 -05:00
Stéphane
ba07c26761
Fix Anycubic i3 Mega target temperature display (#19572)
Also includes a workaround for missing (probably un-fetched) long name in file listing
2020-10-01 18:09:39 -05:00
Nick
60155aa442
Anycubic Chiron full feature support (#19505) 2020-09-28 18:53:40 -05:00
qwewer0
4424645e04
Multi-line comments cleanup (#19535) 2020-09-28 14:53:50 -05:00
Victor Oliveira
6572d7131f
LVGL followup fixing "C", etc. (#19517) 2020-09-27 21:22:08 -05:00
Scott Lahteine
7ce91c5ffe Sanity check old serial names 2020-09-24 21:46:13 -05:00
Jason Smith
da6c8317a7
Fix and improve STM32F1 serial (#19464) 2020-09-24 20:28:48 -05:00
Scott Lahteine
b3223d7b41 Fix some pin inits 2020-09-23 21:36:39 -05:00
Scott Lahteine
568f292883 HAL/serial followup 2020-09-23 21:36:31 -05:00
Scott Lahteine
4b928b2da8 HAL and serial cleanup
Co-Authored-By: Jason Smith <20053467+sjasonsmith@users.noreply.github.com>
2020-09-23 19:45:33 -05:00
Scott Lahteine
ecc8013812 Whitespace cleanup 2020-09-23 17:43:32 -05:00
Marcio T
362145f608
New Touch UI buttons (#19465) 2020-09-22 21:01:01 -05:00
Scott Lahteine
5f5f76956f Fix up tests, warnings 2020-09-22 19:59:02 -05:00
makerbase
d8ed749045
Add MKS Robin E3P, improve LVGL UI (#19442) 2020-09-20 20:55:02 -05:00
Scott Lahteine
60ab7a1ddb Cleanup before MKS changes 2020-09-20 20:51:21 -05:00
Scott Lahteine
76d8d1742c Add multi-extruder condition 2020-09-20 20:51:21 -05:00
Scott Lahteine
8e0fac897b Whitespace cleanup 2020-09-20 18:25:42 -05:00
InsanityAutomation
4696142a31
Fix compile for Taz Pro (#19424) 2020-09-19 09:20:15 -05:00
Victor Oliveira
3eaa19fdb0
Fix MKS UI SPI flash typo (#19410) 2020-09-17 05:52:47 -05:00
Marcio Teixeira
c539254101 Add warning to ExtUI Bed Mesh Screen. (#19397)
- Show a warning on the Mesh Bed Leveling screen if some points aren't probed.
2020-09-17 05:49:18 -05:00
Marcio T
941b890881
Add missing FTDI EVE menu source (#19382) 2020-09-14 03:25:20 -05:00
Scott Lahteine
0f9eb480aa Allow E3 V2 DWIN without EEPROM, POWER_LOSS_RECOVERY 2020-09-14 02:48:45 -05:00
ellensp
979876e958
Improve temperature runaway, idle timeout (#19339)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-09-13 23:58:39 -05:00
Scott Lahteine
49ca16c3fb heater_ind_t => heater_id_t 2020-09-13 18:22:28 -05:00
Marcio T
872516f9f9
Touch UI "Leveling" menu, misc. fixes (#19349) 2020-09-12 23:32:00 -05:00
Scott Lahteine
6759aff220 Clean up W25QXXFlash class 2020-09-10 21:54:04 -05:00
Marcio Teixeira
328d8b5952 Fix ExtUI SD sorting, compile issues 2020-09-09 21:54:08 -05:00
Scott Lahteine
b709baba7a Whitespace cleanup 2020-09-06 22:51:59 -05:00
Marcio T
2b789ddab9
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.
2020-09-06 17:37:16 -05:00
Stéphane
2979da73cf
Fix Anycubic I3 Mega (S) original screen % display (#19210) 2020-08-31 22:27:42 -05:00
Marcio Teixeira
b07dd44ec2 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
2020-08-26 00:59:06 -05:00
Jason Smith
646d90f3da
Fix SD pins for SKR Pro and GTR (#19047) 2020-08-26 00:43:33 -05:00
Victor Oliveira
a37cf24900
Emulated DOGM via HAL TFT, XPT IO (#19017) 2020-08-21 18:54:21 -05:00
Scott Lahteine
853aec2c9a
Move ExtUI displays to sub-folder (#19070) 2020-08-20 01:38:22 -05:00
Scott Lahteine
8f730cfb6e Fix ExtUI base methods 2020-08-14 08:46:38 -05:00
Victor Oliveira
ff5c8d3570
Optimize LVGL with HAL TFT IO (SPI and FSMC) (#18974) 2020-08-13 18:31:59 -05:00
Marcio T
f62578efec
For FTDI800 compatibility, remove VERTEX_FORMAT dependency (#18982) 2020-08-10 20:06:19 -05:00
Victor Oliveira
0a1b865987
W25QXX SPI Flash support (#18897)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-08-08 19:24:31 -05:00
Scott Lahteine
18adfe87bc configuration_store => settings 2020-08-07 20:52:23 -05:00
Victor Oliveira
cec035688d
Fix / optimize FSMC init (#18941) 2020-08-07 01:55:15 -05:00
Victor Oliveira
5e08efb0fc
Fix LVGL "C" brace (#18942) 2020-08-07 01:53:43 -05:00
Victor Oliveira
35e11e5f8b
Followup fixes to LVGL for Chitu (#18940) 2020-08-06 20:52:01 -05:00
Victor Oliveira
b2abeff9ad
MKS Robin Nano CI Tests (#18927) 2020-08-06 08:15:19 -05:00
Scott Lahteine
99ba866d8d
Optimize G-code / feature dependencies (#18919) 2020-08-06 08:14:00 -05:00
Marco Burato
6bcfb58cd4
More Anycubic + Trigorilla mappings, ExtUI (#18903) 2020-08-06 05:38:18 -05:00
Victor Oliveira
d922c002ca
Followup to LVGL patch (#18920) 2020-08-05 22:40:08 -05:00
Victor Oliveira
04b12dde49
SPI Flash data compression (#18879) 2020-08-04 04:50:05 -05:00
Scott Lahteine
ca0ebf10d1
Move scaled TFT / touch defines (#18915) 2020-08-03 21:55:37 -05:00
Alexander Gavrilenko
117df87d19
Support for TFT & Touch Screens (#18130) 2020-07-30 01:43:19 -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
Scott Lahteine
01c646a892 Apply more HAS_HOTEND 2020-04-27 22:39:31 -05:00
RudolphRiedel
0b3a96412c
Fixes for ExtUI / EVE (#17726) 2020-04-27 10:14:42 -05:00
Scott Lahteine
37176ed2b9 Apply maxtemp patch 2020-04-27 08:17:59 -05:00
Scott Lahteine
967c1d8534 Do SD sort order in CardReader 2020-04-27 06:30:28 -05:00
Scott Lahteine
33217b0dd0 Add HOTEND_OVERSHOOT 2020-04-27 05:07:08 -05:00
Scott Lahteine
8b3c7dda75 Add HAS_FAN and others 2020-04-27 05:07:08 -05:00
Scott Lahteine
3d45a4bd23 Encapsulate Temperature items 2020-04-27 05:07:08 -05:00
Gustavo Alvarez
11f7695907
Touch UI FTDI EVE is now beta (#17704) 2020-04-25 11:47:19 -05:00
Scott Lahteine
3a27933ae7
Fixes for FYSETC Touch EVE 5" on AVR (#17659)
Co-Authored-By: RudolphRiedel <rudolphriedel@users.noreply.github.com>
Co-authored-by: sL1pKn07 <sl1pkn07@gmail.com>
2020-04-24 22:35:46 -05:00
Scott Lahteine
cf8c14b1b0 ExtUI allow small JD mm 2020-04-24 17:41:35 -05:00
Scott Lahteine
ab2b98e425 Apply composite tests 2020-04-23 21:53:52 -05:00
Scott Lahteine
55d66fb897 Add HAS_JUNCTION_DEVIATION 2020-04-23 21:53:51 -05:00
studiodyne
2f6262c27b
Automatic Tool Migration feature (#17248) 2020-04-22 21:03:28 -05:00
RudolphRiedel
f263787f07
Fix ExtUI 0<brightness<12 (#17644)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-04-22 16:47:29 -05:00
Scott Lahteine
6d90d1e1f5
Apply TERN to compact code (#17619) 2020-04-22 16:35:03 -05:00
RudolphRiedel
27f0f10590
Ensure brightness > 0 in ExtUI (#17611) 2020-04-20 07:03:00 -05:00
Scott Lahteine
15f6f53638 Add HAS_HOTEND, etc. 2020-04-20 00:12:22 -05:00
Scott Lahteine
78fe411c7d Include swt_init in log 2020-04-20 00:12:21 -05:00
grauerfuchs
4a5a3d27ed
Option to use raw digipot values (#17536) 2020-04-18 22:56:23 -05:00
George Fu
cbf349b5eb Fix some DGUS bugs
- No action on first click of the move button
2020-04-17 08:52:41 -05:00
Desuuuu
2824e67d95
Add ExtUI::onStatusChanged_P (#17543) 2020-04-16 00:33:31 -05:00
George Fu
e990a98404
FYSETC TFT81050 LCD support (#17568) 2020-04-15 23:34:48 -05:00
Marcio T
791873b10d
Fix ExtUI compile errors (#17544)
Fixes #16628
2020-04-15 23:17:01 -05:00
Marcio T
dbdfe61644
Fix and improve FTDI Eve Touch UI (#17426) 2020-04-09 16:00:25 -05:00
Scott Lahteine
d6badb77a4 Clean up whitespace 2020-04-08 14:04:51 -05:00
Scott Lahteine
65f6a373b0
Refactor SD detect handler (#17380)
Co-Authored-By: Eric Ptak <trouch@users.noreply.github.com>
2020-04-04 00:08:25 -05:00
Marcio T
be0e313c07
Touch UI additions, bug fixes (#17379) 2020-04-02 14:24:55 -05:00
Scott Lahteine
514afddeb4 Minor code cleanup 2020-04-01 19:48:58 -05:00
Marcio T
d83ad6f321
Improve / fix FTDI EVE Touch UI (#17338)
- Fix timeout and debugging string
- Fix check for whether `LCD_TIMEOUT_TO_STATUS` is valid
- Fix incorrect debugging message
- Make capitalization of callbacks consistent.
- Allow Touch UI to use hardware SPI on Einsy boards
- Move print stats to About Printer page.
- More generic about screen with GPL license.
- Add missing handler for power loss event
- Less code duplication on status screen and main/advanced menu; more legible
- Reorganize advanced and main menu to add more features
- Hide home Z button when using Z_SAFE_HOMING
- Fix compilation errors when certain features enabled
- Fix missing labels in UI
- Improve color scheme
- Add new preheat menus
- Fix incorrect rendering of Marlin logo on boot
- Add Level X Axis and Auto calibrate buttons
2020-03-31 14:22:04 -05:00
Scott Lahteine
96ab16a9dd Pulldown for all FastIO headers
Co-Authored-By: borsegbr <borsegbr@users.noreply.github.com>
2020-03-31 12:37:22 -05:00
Giuliano Zaro
129b270628
QSPI EEPROM for SAMD51 (#17292) 2020-03-27 17:29:17 -05:00
George Fu
e3ebbe25e0
DGUS updates (#17260) 2020-03-23 18:00:22 -05:00
Scott Lahteine
118bd2f8b2
Apply loop shorthand macros (#17159) 2020-03-13 23:18:16 -05:00
Scott Lahteine
6bead0c1b0
Shorter paths to HAL, ExtUI (#17156) 2020-03-13 16:29:29 -05:00