Commit Graph

1033 Commits

Author SHA1 Message Date
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
Victor Oliveira
639b0b8f50
Option to prevent (extra) Watchdog init on STM32 (#19693) 2020-10-11 19:31:21 -05:00
Jason Smith
24fd19259d
Fix I2C_ADDRESS sign warning (#19685) 2020-10-11 19:23:23 -05:00
Jason Smith
45731bd022
Fix at90usb1286 build (#19687)
* Skip check for USBCON during dependency detection
* Ignore incompatible Teensy_ADC library, which requires Teensy >= 3
* Add IS_AT90USB

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-11 18:13:01 -05:00
Scott Lahteine
492ba2a111
Digipots refactor / cleanup (#19690) 2020-10-11 14:58:35 -05:00
Victor Oliveira
a90edd5eb4
Restore correct STM32 port-bits code (#19678) 2020-10-10 11:47:28 -05:00
Serhiy-K
6fdaaf3d20 Fixes for TFTGLCD Panel, FastIO (#19614) 2020-10-10 05:08:01 -05:00
Scott Lahteine
6831341ab4 Batch appercase hex values 2020-10-09 16:55:27 -05:00
Victor Oliveira
631457ffea Support for Debug Codes - Dnnn (#19225)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-09 06:28:53 -05:00
Scott Lahteine
f72c559824 Use 0xFF (not 'ff') for byte transfer 2020-10-08 15:18:43 -05:00
Scott Lahteine
f5bae208cc Trailing whitespace 2020-10-05 17:16:42 -05:00
Ryan V1
8dcc72ce9c
Fix 'bossac' upload on Windows (#19545) 2020-10-02 17:31:33 -05:00
ellensp
b3c2ee56f9
Fix wrappers on HAL/STM32F1 .cpp files (#19581)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-10-02 17:28:08 -05:00
ellensp
435e98ceed
Fix TEMP_ADC_PROBE support for STM32F1 (#19582)
Co-authored-by: ellensp <ellensp@ellensp-HP-ProBook-6470b.fritz.box>
2020-10-02 17:19:43 -05:00
Scott Lahteine
4e8eea8e78 Adjust HAL platform defines, comments 2020-10-02 17:05:59 -05:00
Victor Oliveira
348570fd68 Minor SPI fixes, systick_callback for STM32F1 HAL compatibility (#19565) 2020-10-01 20:54:22 -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
Scott Lahteine
c2c6a679ea
Rename LCD conditionals (#19533) 2020-09-28 01:13:27 -05:00
Tanguy Pruvot
f3de0f6c53
Working LCD_USE_DMA_FSMC (#19522) 2020-09-27 21:28:48 -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
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
ellensp
6634bedb25
Define UART pins for LPC debug based on LPC_PINCFG_UART (#19475) 2020-09-23 16:03:07 -05:00
Jason Smith
023cb54fae
MKS Robin Mini uses ONBOARD_SPI_DEVICE (#19460) 2020-09-23 15:07:34 -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
Victor Oliveira
79d4123319
Only set up SPI pins as needed (#19372) 2020-09-14 17:16:19 -05:00
Scott Lahteine
9b78138600 General cleanup 2020-09-10 02:29:01 -05:00
Victor Oliveira
160f70be63
LPC: Finish DMA transfer, use HW SPI class (#19191) 2020-09-10 00:41:26 -05:00
Victor Oliveira
b98946b5c1
Raise STM32F1 UART IRQ Priority, add error handling (#19301)
(Error handling for Overrun, Framing and Parity.)
2020-09-09 22:46:50 -05:00
Marcio Teixeira
328d8b5952 Fix ExtUI SD sorting, compile issues 2020-09-09 21:54:08 -05:00
bilsef
049fbc92a9
Support for Teensy 4 (#19311) 2020-09-09 18:57:20 -05:00
Scott Lahteine
bc7720c0cd Minor HAL cleanup 2020-09-08 22:17:44 -05:00
Jason Smith
4fc1aba848
Update HAL/STM32 platform to 8.0 (#18496) 2020-09-07 21:41:48 -05:00
Victor Oliveira
a4bc9e669c
STM32F1 EP with USB_COMPOSITE (#19281) 2020-09-06 20:04:20 -05:00
Victor Oliveira
486731162f
Fix STM32F1 SPI device init, MKS_LCD12864 (#19271) 2020-09-06 17:29:43 -05:00
Victor Oliveira
b6ab163814
Emergency Parser for STM32F1 (#19279) 2020-09-06 17:23:36 -05:00
Victor Oliveira
1a4b82a5d6
TFT (plus Hardware SPI) for LPC (#19139) 2020-08-26 05:13:58 -05:00
Scott Lahteine
fa5a1f7d7f PGMSTR constexpr => const 2020-08-22 16:40:27 -05:00
Giuliano Zaro
b6e4acec9d
Prefer Servo AVR timer4 over 3 (#19025) 2020-08-21 23:49:39 -05:00
Giuliano Zaro
8652a7bdd2
HIGH/LOW naming of pin state settings (#19089) 2020-08-21 23:13:43 -05:00
Victor Oliveira
a37cf24900
Emulated DOGM via HAL TFT, XPT IO (#19017) 2020-08-21 18:54:21 -05:00
Giuliano Zaro
6cfc4b5711
Let laser/spindle use free AVR servo timers (#19011) 2020-08-14 08:41:44 -05:00
Victor Oliveira
ff5c8d3570
Optimize LVGL with HAL TFT IO (SPI and FSMC) (#18974) 2020-08-13 18:31:59 -05:00
Victor Oliveira
2ef6c8ba97
Marlin Color UI for STM32F1 (SPI) (#18958) 2020-08-08 18:45:34 -05:00
Victor Oliveira
ee69fb00a6
Marlin Color UI (FSMC) for STM32F1 (#18952) 2020-08-08 00:32:30 -05:00