Skip to content

TFT_eSPI library doesn't work with the latest Pioarduino based on 3.3.0 Arduino core when used as Arduino as component #11645

@cniedzi

Description

@cniedzi

Board

ESP32-S3 Dev Module

Device Description

ESP32-S3 N16R8

Hardware Configuration

ILI9341

Version

v3.3.0

IDE Name

Platformio

Operating System

Windows 11

Flash frequency

80 MHz

PSRAM enabled

yes

Upload speed

115200

Description

I'm not sure where the issue lies, maybe someone here will be able to guide me. The TFT_eSPI library doesn't work in Platformio with the latest Pioarduino based on 3.3.0 Arduino core when used as Arduino as component.
It works correctly as pure Arduinio (framework = arduino). It also works pretty fine with Pioarduino based on 3.2.1 (54.03.21).

I also reported the issue in the Pioarduino repository and TFT_eSPI:
https://github.com/pioarduino/platform-espressif32/issues/232

Sketch

#include "SPI.h"
#include "TFT_eSPI.h"

TFT_eSPI tft = TFT_eSPI();

 void setup() {
  Serial.begin(115200);
  delay(5000);

  Serial.println(""); Serial.println("");
  Serial.printf("Arduino ver.: %d.%d.%d\n", ESP_ARDUINO_VERSION_MAJOR, ESP_ARDUINO_VERSION_MINOR, ESP_ARDUINO_VERSION_PATCH);
  Serial.printf("ESP-IDF ver.: %d.%d.%d\n", ESP_IDF_VERSION_MAJOR, ESP_IDF_VERSION_MINOR, ESP_IDF_VERSION_PATCH);
 
  tft.init();
  tft.fillScreen(TFT_BLACK);
  tft.println("TEST !!!");
}

void loop(void) {
  delay(1000);
}

Debug Message

no errors

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions