Commit Graph

64 Commits

Author SHA1 Message Date
Bodmer 612e76343e Remove unused macros 2021-05-11 01:29:56 +01:00
Bodmer 6b40880375 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2021-05-11 00:22:46 +01:00
Bodmer 9fc8fa6956 Add 2nd init sequence for ILI9341, see #1172
Use:
  #define ILI9341_2_DRIVER
in the setup file to invoke new initicode, instead of:
  #define ILI9341_DRIVER
2021-05-11 00:22:38 +01:00
arduino12 e1161c17f4 Add support for SSD1351! (128*128 OLED)
TODO:
Implement read functions as well..
2021-04-26 20:40:18 +03:00
Bodmer ff3a888212
Fix error 2021-04-24 09:54:13 +01:00
Bodmer 079d7f6ee5 Use RP2040 built-in byte swap for DMA 2021-04-24 01:12:55 +01:00
Bodmer 715b4de525 Fix #1148 (RP2040 pgmspace.h warnings) 2021-04-21 22:48:21 +01:00
Bodmer f33674c1a2 Fix #1144 (RP2040 SPI pin settings)
Library now uses setup defined pins for SPI instead of defaults set by board package.
2021-04-19 00:30:28 +01:00
Bodmer 8a8ad47521 Add DMA for RP2040 with SPI displays 2021-04-18 23:21:38 +01:00
Bodmer add47960b1 Port D test 2021-04-15 01:35:28 +01:00
Bodmer f96efe5d59 Remove Dxx pins for RP2040
Dxx pin names are not used with RPi Pico
Note: A0-3 are defined for pins 26-29
2021-04-12 23:22:27 +01:00
Bodmer 534372ef99 Fix errors with "Arduino Mbed OS RP2040 Boards"
Arduino RP2040 support introduces a new issue.

This is a temporary fix.
2021-04-12 19:39:23 +01:00
Bodmer fce86c0f2e Improve RPi Pico (RP2040) rendering performance 2021-04-05 16:39:33 +01:00
Bodmer 135610b00d
Update TFT_eSPI_RP2040.h 2021-03-30 08:02:55 +01:00
Bodmer f6e90349d8 Add support for Raspberry Pi Pico
Setup file "Setup60_RP2040_ILI9341.h" used for testing with ILI9341 SPI display.
2021-03-30 01:53:27 +01:00
Bodmer 1c36c2c933 Support pseudo 16 bit
See #299
2021-03-27 22:27:09 +00:00
Bodmer 4cc57699fa Fix #1100
Fix STM32 + SSD1963 combination
2021-03-27 00:35:55 +00:00
Bodmer cd025dbc79 Fix #1046
ESP32 DMA did not work if MISO pin is not defined in setup file (affected TTGO T-Display setup 21)
2021-03-13 15:03:21 +00:00
Bodmer b1fb969e86
Update TFT_eSPI_ESP32.c 2021-01-27 05:20:31 +00:00
Bodmer e829dcac21
Avoid compiler optimising out register writes
Precautionary change to avoid potential issues in future developments and during debug
2021-01-27 05:10:53 +00:00
Bodmer 22c514cce9 #940 - Extend allowed TFT_WR pin allocation for ESP32
TFT_WR is 8 bit parallel mode can now be allocated to GPIO >31
Note: allocating a GPIO higher than 31 has a small perfomance impact (~1.23x slower) since signle register write with the data mask cannot be performed.
2021-01-17 12:03:21 +00:00
Maximilian Gerhardt b3dab67178
Fix uncompilable TFT_eSPI_ESP32.h when TFT_RD >= 32 2021-01-17 03:13:10 +01:00
Bodmer 64239999e4 Fix #893 2020-12-31 19:44:33 +00:00
Bodmer 8e75cfa83f Fix #893 2020-12-31 00:15:26 +00:00
Bodmer a4e94634a6
Update TFT_eSPI_STM32.c 2020-12-28 01:03:56 +00:00
Bodmer acdfeb0b36 Fix #873
Minor performance boost to ESP32 block write
2020-12-23 01:10:11 +00:00
Bodmer 974cd7d9cb
Allow DMA for RPi displays 2020-12-19 13:56:02 +00:00
Bodmer 1b54ce87e9 Optional ESP32 DMA engine control of TFT_CS
This change has no impact on examples
See also #850
2020-12-11 21:10:12 +00:00
Bodmer 2162936b40 Enable ESP32 DMA controlled TFT_CS
ESP32 DMA will hold TFT_CS low automatically.
STM32 will not do this and requires bracketing DMA transfers with startWrite and endWrite as in examples.
2020-12-07 17:43:40 +00:00
Bodmer fd16a6066d Update ILI9486 driver for SPI 2020-11-26 14:18:28 +00:00
Bodmer d6e573c230 Fix SPI ILI9481
ILI9481 with 8 bit parallel worked OK but SPI needs an 18 bit colour interface.
2020-11-25 22:54:30 +00:00
Bodmer df23e14675 Make DMA wait handling consistent for ESP32 and STM32 2020-11-19 00:36:59 +00:00
Bodmer bf5bf1852e Add dmaWait() for STM32 2020-11-19 00:15:21 +00:00
Bodmer 579961bd5d
Fix #630 2020-11-15 15:26:19 +00:00
Bodmer 45eb2d38e5 Update TFT_eSPI_Generic.h 2020-11-10 11:28:22 +00:00
Bodmer ee91f723e7 Update DMA fn clipping for viewport 2020-10-06 20:00:59 +01:00
Bodmer 49cef1f35d Support for SSD1963 and ST7706 SPI read
The SSD1963 support has been tested with a 480x800 pixel display from Buy Display.
Support for reading an ST7796 SPI display has been added.
pushToSprite added to keywords list.
2020-10-02 01:07:15 +01:00
Bodmer d7fdcc0991 Fix #740 and #704
#740: To avoid ambiguity the pushSprite for writing a sprite to another sprite has been renamed pushToSprite

#704: Change to 18 bit colurs for SSD1963 with SPI interface

Remove outdated TFT_SPIFFS_Jpeg example
2020-09-07 22:04:42 +01:00
Bodmer dc114db01b Srite class updates + others
Add 2 new pushSprite functions:
1. Sprite to sprite
2. windowed are of sprite to screen
Examples to follow
Bug fixes to sprite class
2020-08-05 20:06:44 +01:00
Bodmer 90cabab91a Update to aid use of ESP32 with multiple displays #687
Fix issue when using ESP32 & using multiple TFT displays & not defining TFT_CS.

Note: Future support for multiple displays in all possible hardware combinations may not be practical.
2020-07-09 14:20:34 +01:00
Bodmer 24750c605d Add option to use STM32 SPI port 2
See new #define options in "Setup29_ILI9341_STM32.h"
2020-06-13 21:05:47 +01:00
Bodmer 960ff6c7b9 Ensure ESP32_PARALLEL defined 2020-05-14 15:33:03 +01:00
Bodmer 232330d5cd
Correct typo 2020-05-13 22:32:54 +01:00
Bodmer cd10a92f11 Allow ESP32 SPI pins to be undefined
See #618
2020-05-13 18:28:44 +01:00
Bodmer cc3a1084fb Fix #617 2020-05-09 19:51:03 +01:00
Bodmer cc4f35f8c1 ESP32 DMA update
dmaBusy() checks and is no longer blocking
pushImageDMA() faster if setAddrWindow is not built into transaction list.
2020-05-08 21:25:38 +01:00
Bodmer f6748bf906 Add ESP32 SPI DMA capability
DMA test examples now work on ESP32
2020-05-05 21:21:28 +01:00
Bodmer 1f2d4b0a75 Issue #510 part STM32F103 workaround 2020-05-01 20:57:03 +01:00
Bodmer e937a3496f Diagnostic sketch update + others
Read_User_Setup updated to be compatible with STM32 and new structure format.
Reduction in compiler warnings
Update Sprite destructor
Update version to 2.2.1
2020-04-16 14:33:42 +01:00
Bodmer 5ff03cd2e9 Support STM32F1xx
STM32F1xx processors do not have MODER direction configuration.
2020-03-29 14:18:14 +01:00