Raise version to 2.4.60

This commit is contained in:
Bodmer
2022-04-25 02:29:08 +01:00
parent d655e1383a
commit e09230c9ac
7 changed files with 19 additions and 11 deletions

View File

@@ -2,6 +2,8 @@
// TFT_eSPI driver functions for ESP32 processors // // TFT_eSPI driver functions for ESP32 processors //
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
// Temporarily a separate file to TFT_eSPI_ESP32.c until board package low level API stabilises
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
// Global variables // Global variables
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////

View File

@@ -5,6 +5,8 @@
#ifndef _TFT_eSPI_ESP32H_ #ifndef _TFT_eSPI_ESP32H_
#define _TFT_eSPI_ESP32H_ #define _TFT_eSPI_ESP32H_
#warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment
// Processor ID reported by getSetup() // Processor ID reported by getSetup()
#define PROCESSOR_ID 0x32 #define PROCESSOR_ID 0x32

View File

@@ -2,6 +2,8 @@
// TFT_eSPI driver functions for ESP32 processors // // TFT_eSPI driver functions for ESP32 processors //
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
// Temporarily a separate file to TFT_eSPI_ESP32.c until board package low level API stabilises
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
// Global variables // Global variables
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////

View File

@@ -2,9 +2,13 @@
// TFT_eSPI driver functions for ESP32 processors // // TFT_eSPI driver functions for ESP32 processors //
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
// Temporarily a separate file to TFT_eSPI_ESP32.h until board package low level API stabilises
#ifndef _TFT_eSPI_ESP32H_ #ifndef _TFT_eSPI_ESP32H_
#define _TFT_eSPI_ESP32H_ #define _TFT_eSPI_ESP32H_
#warning >>>>------>> DMA is not supported on the ESP32 S3 (possible future update)
// Processor ID reported by getSetup() // Processor ID reported by getSetup()
#define PROCESSOR_ID 0x32 #define PROCESSOR_ID 0x32
@@ -20,10 +24,11 @@
#define VSPI FSPI #define VSPI FSPI
#endif #endif
// Fix IDF problems with ESP32S3 VSPI=FSPI_HOST=SPI2_HOST=1 HSPI_HOST=SPI3_HOST=2 // Fix IDF problems with ESP32S3
// Note illogical enumerations: FSPI_HOST=SPI2_HOST=1 HSPI_HOST=SPI3_HOST=2
#if CONFIG_IDF_TARGET_ESP32S3 #if CONFIG_IDF_TARGET_ESP32S3
// Fix ESP32C3 IDF bug for missing definition (VSPI/FSPI only tested at the moment) // Fix ESP32C3 IDF bug for missing definition (FSPI only tested at the moment)
#ifndef REG_SPI_BASE #ifndef REG_SPI_BASE // HSPI FSPI/VSPI
#define REG_SPI_BASE(i) (((i)>1) ? (DR_REG_SPI3_BASE) : (DR_REG_SPI2_BASE)) #define REG_SPI_BASE(i) (((i)>1) ? (DR_REG_SPI3_BASE) : (DR_REG_SPI2_BASE))
#endif #endif
@@ -32,9 +37,6 @@
#define SPI_MOSI_DLEN_REG(x) SPI_MS_DLEN_REG(x) #define SPI_MOSI_DLEN_REG(x) SPI_MS_DLEN_REG(x)
#endif #endif
// Fix ESP32C3 specific register reference
//#define out_w1tc out_w1tc.val
//#define out_w1ts out_w1ts.val
#endif #endif
// SUPPORT_TRANSACTIONS is mandatory for ESP32 so the hal mutex is toggled // SUPPORT_TRANSACTIONS is mandatory for ESP32 so the hal mutex is toggled
@@ -58,7 +60,7 @@ FSPI = 0, uses SPI2 ???? To be checked
HSPI = 1, uses SPI3 ???? To be checked HSPI = 1, uses SPI3 ???? To be checked
VSPI not defined VSPI not defined
For ESP32/S2/C3: For ESP32/S2/C3/S3:
SPI1_HOST = 0 SPI1_HOST = 0
SPI2_HOST = 1 SPI2_HOST = 1
SPI3_HOST = 2 SPI3_HOST = 2

View File

@@ -16,7 +16,7 @@
#ifndef _TFT_eSPIH_ #ifndef _TFT_eSPIH_
#define _TFT_eSPIH_ #define _TFT_eSPIH_
#define TFT_ESPI_VERSION "2.4.51" #define TFT_ESPI_VERSION "2.4.60"
// Bit level feature flags // Bit level feature flags
// Bit 0 set: viewport capability // Bit 0 set: viewport capability

View File

@@ -1,6 +1,6 @@
{ {
"name": "TFT_eSPI", "name": "TFT_eSPI",
"version": "2.4.51", "version": "2.4.60",
"keywords": "Arduino, tft, display, ttgo, LilyPi, WT32-SC01, ePaper, display, Pico, RP2040 Nano Connect, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, ST7796, RM68140, SSD1351, SSD1963, ILI9225, HX8357D, GC9A01, R61581", "keywords": "Arduino, tft, display, ttgo, LilyPi, WT32-SC01, ePaper, display, Pico, RP2040 Nano Connect, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, ST7796, RM68140, SSD1351, SSD1963, ILI9225, HX8357D, GC9A01, R61581",
"description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, RP2040, ESP8266, ESP32 and STM32", "description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, RP2040, ESP8266, ESP32 and STM32",
"repository": "repository":

View File

@@ -1,5 +1,5 @@
name=TFT_eSPI name=TFT_eSPI
version=2.4.51 version=2.4.60
author=Bodmer author=Bodmer
maintainer=Bodmer maintainer=Bodmer
sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32 sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32