Commit Graph

172 Commits

Author SHA1 Message Date
Bodmer
fae22f785f
Update TFT_eSPI_RP2040.c
Fix #3233
2024-03-19 11:27:56 +00:00
Bodmer
df24f1bbf7 Fix byte swap in pushPixels for STM32
See #3093
2024-01-13 00:43:06 +00:00
Bodmer
cbf06d7a21 Fix #3036
Remove SPI  LL HAL functions that seem to be broken in latest STM32duino board package.

Replace with low level register access writes and reads.

This change also has significant performance benefits for SPI display update speed!
2023-12-22 01:07:33 +00:00
Bodmer
0c30cb7872 ESP32 board package compatibility update 2023-12-15 20:29:40 +00:00
Bodmer
d506a3c49d Update for spelling etc. in comments! 2023-12-07 20:35:59 +00:00
Bodmer
a79d6f14e2
Fix #3009 2023-12-05 07:40:17 +00:00
Bodmer
01483a1043
Support latest board package
Add header to gain access to low level GPIO driver.
2023-11-10 01:12:00 +00:00
Bodmer
968c84fd0a
Support latest board package
Latest board package does not expose low level GPIO driver. Call up header directly.
2023-11-10 01:10:51 +00:00
Bodmer
bc9a855e63
Fix #2963
Latest ESP32 board package does not expose low level driver. Add header to gain access.
2023-11-10 01:08:56 +00:00
Bodmer
317ce97e59
Fix #2942 2023-10-30 23:56:20 +00:00
Bodmer
52384e420a Fix #2725
Bug: pushPixels will swap bytes, so bytes got swapped twice.
2023-07-03 19:44:07 +01:00
Bodmer
5eca04671e
Fix missing brackets! 2023-05-17 20:46:56 +01:00
Bodmer
2af435e7e3 Update TFT_eSPI_RP2040.c 2023-05-16 23:46:14 +01:00
Bodmer
d846daca8b Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2023-05-16 23:43:36 +01:00
Bodmer
d32cc1c0ca Fix #2659 2023-05-16 23:43:21 +01:00
Bodmer
b8b45b0b04
Fix #2645 (#2648) 2023-05-10 19:15:49 +01:00
Bodmer
bee1d41f07 Add RPi interface support for ESP32 S3 2023-02-25 20:50:32 +00:00
Bodmer
f76ed73a3f Fix read for high (>31) GPIO 2023-02-25 00:47:56 +00:00
Bodmer
12f5918211
Improve compatibility with old ESP32 board packages 2023-02-22 17:30:37 +00:00
Bodmer
b2d43abc56
Fix #2438 2023-02-22 11:50:00 +00:00
Bodmer
34850973a0 Various updates
RM68120 support for RP2040 added
Various other updates and typo corrections
2023-02-20 19:03:44 +00:00
Bodmer
5ff4c2f1f4 Add #1970 update 2023-02-04 01:00:31 +00:00
Bodmer
8c83eb84bd Add half duplex SDA read to ESP32 S2
Add half duplex SDA read to ESP32 S2 (tested)
Add new setup example for S2 and ST7735 with SDA pin
Remove commented out code
Raise version
2023-01-31 18:57:30 +00:00
Bodmer
3670949658 Update TFT_eSPI_ESP32_S3.h 2023-01-30 20:13:57 +00:00
Bodmer
5f5fef5419 Add DMA capability to ESP32 S3
DMA examples all tested and run as expected.
2023-01-23 14:32:01 +00:00
Bodmer
c6d600b4a1 Fix #2297
The SSD1963 requires 18 bit colour in 3 bytes when an 8 bit parallel interface is used.

Added new PIO parallel code
2023-01-16 12:37:32 +00:00
Bodmer
90c3511913 Update for high GPIO 2023-01-13 16:20:11 +00:00
Bodmer
f33836faac
T display s3 (#2317)
* Added T-DISPLAY-S3 i8080 support for more than 33 data pins (#2296)

* Modified the ESP32-S3 I8080 interface's support for data pins above 33 pins.

* Added T-DISPLAY-S3 support

* Update Setup206_LilyGo_T_Display_S3.h

* Eliminate need for TFT_DATA_PIN_OFFSET_EN in setup file

* Update TFT_eSPI_ESP32_S3.h

* Update User_Setup_Select.h

* Add new init sequence for LilyGo T Display S3

Co-authored-by: Micky <513673326@qq.com>
2023-01-13 01:33:57 +00:00
Bodmer
d37f202b94
Arc test (#2316)
* Add smooth arc drawing function

Update ESP8266 architecture reference
Add pushMaskedImage() to render 16bpp images with a 1bpp mask (used for transparent PNG images plus with sprites)

New functions added using drawArc:
drawSmoothArc
drawSmoothCircle
drawSmoothRoundRect
New sqrt_fraction() added to improve smooth graphics performance on processors without a FPU (e.g. RP2040)

Faster alphaBlend() function added which retains 6bpp for green

Rename swap_coord() to transpose()

* Update TFT_eSPI.cpp

* Add arc examples
2023-01-13 01:31:57 +00:00
Bodmer
31a5ccd02e Make ESP32 family handle SPIFFS and LittleFS consistently 2022-11-29 21:55:53 +00:00
Bodmer
3c6dab0a52 Add ability to set the RP2040 parallel interface speed
// For RP2040 processor and 8 or 16 bit parallel displays:
// The parallel interface write cycle period is derived from a division of the CPU clock
// speed so scales with the processor clock. This means that the divider ratio may need
// to be increased when overclocking. I may also need to be adjusted dependant on the
// display controller type (ILI94341, HX8357C etc). If RP2040_PIO_CLK_DIV is not defined
// the library will set default values which may not suit your display.
// The display controller data sheet will specify the minimum write cycle period. The
// controllers often work reliably for shorter periods, however if the period is too short
// the display may not initialise or graphics will become corrupted.
// PIO write cycle frequency = (CPU clock/(4 * RP2040_PIO_CLK_DIV))
//#define RP2040_PIO_CLK_DIV 1 // 32ns write cycle at 125MHz CPU clock
#define RP2040_PIO_CLK_DIV 2 // 64ns write cycle at 125MHz CPU clock
//#define RP2040_PIO_CLK_DIV 3 // 96ns write cycle at 125MHz CPU clock
2022-11-05 18:12:28 +00:00
Bodmer
67e41c75f2 Allow ESP32 DC pin to be >31 2022-10-19 23:05:25 +01:00
Bodmer
f94fb28737 Fix #1893
Problem has not been reproduced but names changes anyway.
2022-10-13 01:21:21 +01:00
Bodmer
a3015f0090
Update pio_SPI_18bit.pio.h 2022-10-12 22:04:12 +01:00
Bodmer
7b529eef06
Update pio_SPI.pio.h 2022-10-12 22:03:14 +01:00
Bodmer
1e8eb39135
Update pio_SPI.pio.h 2022-10-12 22:02:49 +01:00
Bodmer
33be3070bf
Update pio_SPI.pio.h 2022-10-12 22:02:18 +01:00
Bodmer
fc8228acae
Update pio_8bit_parallel.pio.h 2022-10-12 22:00:58 +01:00
Bodmer
f1bae721c8
Update pio_16bit_parallel.pio.h 2022-10-12 22:00:19 +01:00
Bodmer
8b454bc19d
Delete pio_SPI_18bit.pio 2022-10-12 21:58:57 +01:00
Bodmer
b2e0bd855c
Delete pio_16bit_parallel.pio 2022-10-12 21:58:42 +01:00
Bodmer
48499856ac
Delete pio_8bit_parallel.pio 2022-10-12 21:58:31 +01:00
Bodmer
eea916d221
Delete pio_SPI.pio 2022-10-12 21:58:18 +01:00
Bodmer
d1bb18bdde Various tweaks and bug fixes 2022-10-10 19:02:05 +01:00
Bodmer
7bf48bb179 Add 16 bit parallel for RP2040 processor
Correct legacy comments
Add ESP32 S3 parallel setup 70d
Add setups 105-107 for RP2040 with 16 bit display
Add file conversion notes to PNG array example
2022-05-16 19:58:05 +01:00
Bodmer
79b41bc833 Add #define to disable warnings (#1788)
// Define in setup to disable all #warnings in library (can be put in User_Setup_Select.h)
#define DISABLE_ALL_LIBRARY_WARNINGS
2022-04-27 22:28:52 +01:00
Bodmer
f0ec6d22b3 Add ESP32 C3 support
Tested with Stamp C3
2022-04-27 21:57:11 +01:00
Bodmer
e09230c9ac Raise version to 2.4.60 2022-04-25 02:29:08 +01:00
Bodmer
d655e1383a
Merge pull request #1789 from Bodmer/ESP32_S3
ESP32 S3 (tested) plus ESP32 C3 (untested but compiles!) support added
2022-04-24 21:36:22 +01:00
Bodmer
cfb4689c85 Patch for ESP32 C3 - may or may not work!
I do NOT have and ESP32 C3 to test with!
2022-04-24 04:00:36 +01:00