GC9A01 and Xiaio esp32

Hello. For several days now I have had a problem connecting the “GC9A01” display with the “xiaio esp32c3” board.

This problem does not occur when connecting the screen to Wemos d1 mini (with TFT libraries set)

I’ve searched the entire internet and there are only a few threads about connecting and setting the TFT library for Xiaomi i

Currently I found the pin setting:

GND ---------- GND
VCC ---------- 3.3V
SCL ---------- D8
SDA ---------- D10
RES ---------- D2
DC ---------- D1
CS ---------- D0

this is how I set them in the User Setups file for the GC9A01 display. Of course, the drivers are also set to this display.

I found the pin connection on the seeeduino forum along with a demo file, which after setting the library and uploading should work, but it doesn’t work Sad

I have my own project, but I can’t move forward because nothing is displayed on the screen…

In my opinion, the fault lies with either the library or the controller itself, because the code is only loaded on a blank screen.

Is there anyone who had a similar problem and solved it?

Below I am posting the code I found along with the library settings. If anyone had this display and board and could check it and tell me what I could have done wrong, I would be very grateful.

Regards.

//XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter
//
// creates a rainbow temperature scale using Bodmer’s example at TFT_eSPI
// with an index marker
// and numerical temperature display
// on a cirdular 240*240 TFT GC9A01A driver
// microcontroller Seeed studio Xiao_ESP32C3
//
// Floris Wouterlood
// April 2, 2024
//
// public domain
// pin layout:
// both displays Xiao_ESP32C3
// GND ---------- GND
// VCC ---------- 3.3V
// SCL ---------- D8
// SDA ---------- D10
// RES ---------- D2
// DC ---------- D1
// CS ---------- D0
//

#include <SPI.h>
#include <TFT_eSPI.h>

// do not forget to use User_Setup_xxxx.h that matches microcontroller-display combination
// here: Setup_FW_Xiao_ESP32C3_GC9A01_TFT_026.h - see

TFT_eSPI tft = TFT_eSPI();

// RGB 565 color picker at 16 bit color generator (RGB565 color picker) | Electrical engineering and programming notepad
#define WHITE 0xFFFF
#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define GREY 0x2108
#define SCALE0 0xC655 // accent color for unused scale segments
#define SCALE1 0x5DEE // accent color for unused scale segments
#define TEXT_COLOR 0xFFFF

// Meter colour schemes
#define RED2RED 0
#define GREEN2GREEN 1
#define BLUE2BLUE 2
#define BLUE2RED 3
#define GREEN2RED 4
#define RED2GREEN 5
#define DEG2RAD 0.0174532925 // conversion factor degrees to radials

int xpos = 0;
int ypos = 0;
int gap = 55;
int radius = 120;
int angle;
uint32_t runTime = -99999; // time for next update
int reading; // value to be displayed
int d = 0; // variable used for the sinewave test waveform
bool range_error = 0;
float rt_x, rt_y, rl_x, rl_y, rr_x, rr_y;
float rt_x_old, rt_y_old, rl_x_old, rl_y_old, rr_x_old, rr_y_old;
float angle_top, angle_rechts, angle_links;
float center_x = 120; // center coordinates of the radius serving the index tag
float center_y = 125;
float temp_00;

void setup(void) {

tft.begin ();
Serial.begin (9600);
tft.setRotation (0);
tft.fillScreen (BLACK);

}

void loop() {

if (millis() - runTime >= 0L) { // execute every TBD ms
runTime = millis();

temp_00 = random (00,100); // for testing purposes
reading = temp_00;
indexTag ();
ringMeter (reading, 0, 100, xpos, ypos, radius,GREEN2RED); // draw analogue meter
delay (1000);

}
}

// #########################################################################
// Draw the meter on the screen, returns x coord of righthand side #
// #########################################################################

int ringMeter(int value, int vmin, int vmax, int x, int y, int r, byte scheme) {

x += r; y += r;                                                              // calculate coords of centre of ring
int w = r / 3;                                                               // width of outer ring is 1/4 of radius
angle = 150;                                                                 // half the sweep angle of meter (300 degrees)
int v = map(value, vmin, vmax, -angle, angle);                               // map the value to an angle v
byte seg = 3;                                                                // segments are 3 degrees wide = 100 segments for 300 degrees
byte inc = 6;                                                                // draw segments every 3 degrees, increase to 6 for segmented ring
int colour = BLUE;

for (int i = -angle+inc/2; i < angle-inc/2; i += inc)
{
float sx = cos((i - 90) * DEG2RAD);
float sy = sin((i - 90) * DEG2RAD);
uint16_t x0 = sx * (r - w) + x;
uint16_t y0 = sy * (r - w) + y;
uint16_t x1 = sx * r + x;
uint16_t y1 = sy * r + y;
float sx2 = cos((i + seg - 90) * DEG2RAD); // calculate pair of coordinates for segment end
float sy2 = sin((i + seg - 90) * DEG2RAD);
int x2 = sx2 * (r - w) + x;
int y2 = sy2 * (r - w) + y;
int x3 = sx2 * r + x;
int y3 = sy2 * r + y;

  if (i < v) {                                                               // fill in colored segments with 2 triangles
    switch (scheme) {
      case 0: colour = RED; break;                                           // fixed color
      case 1: colour = GREEN; break;                                         // fixed color
      case 2: colour = BLUE; break;                                          // fixed color
      case 3: colour = rainbow(map(i, -angle, angle,  0, 127)); break;       // full spectrum blue to red
      case 4: colour = rainbow(map(i, -angle, angle, 70, 127)); break;       // green to red (high temperature etc)
      case 5: colour = rainbow(map(i, -angle, angle, 127, 63)); break;       // red to green (low battery etc)
      default: colour = BLUE; break;                                         // fixed colour
    }
    tft.fillTriangle(x0, y0, x1, y1, x2, y2, colour);
    tft.fillTriangle(x1, y1, x2, y2, x3, y3, colour);
    }
    else                                                                     // fill in blank segments
    {
    tft.fillTriangle(x0, y0, x1, y1, x2, y2, GREY);
    tft.fillTriangle(x1, y1, x2, y2, x3, y3, GREY);
    }
 }

return x + r; // calculate and return right hand side x coordinate
}

// #########################################################################
// Return a 16 bit rainbow colour
// #########################################################################

unsigned int rainbow(byte value){

byte red = 0; // value is expected to be in range 0-127 (0 = blue to 127 = red)
byte green = 0; // green is the middle 6 bits
byte blue = 0; // blue is the bottom 5 bits
byte quadrant = value / 32;

if (quadrant == 0) {
blue = 31;
green = 2 * (value % 32);
red = 0;
}
if (quadrant == 1) {
blue = 31 - (value % 32);
green = 63;
red = 0;
}
if (quadrant == 2) {
blue = 0;
green = 63;
red = value % 32;
}
if (quadrant == 3) {
blue = 0;
green = 63 - 2 * (value % 32);
red = 31;
}
return (red << 11) + (green << 5) + blue;
}

// #########################################################################
// Return a value in range -1 to +1 for a given phase angle in degrees
// #########################################################################

float sineWave(int phase) {
return sin(phase * 0.0174532925);
}

// #########################################################################################
// # create a moving index tag indicating temperature inner to the rainbbow scale #
// #########################################################################################

void indexTag (){

tft.fillTriangle (rt_x_old, rt_y_old, rl_x_old, rl_y_old, rr_x_old, rr_y_old, BLACK);

angle_top = -(240DEG2RAD)+((3temp_00)DEG2RAD); // offset plus scale dynamics = 100 degrees temp over 300 arc degrees
angle_links = (angle_top - (6
DEG2RAD));
angle_rechts = (angle_top + (6*DEG2RAD));

rt_x = (center_x + ((radius-45) * cos (angle_top)));
rt_y = (center_y + ((radius-45) * sin (angle_top)));

rl_x = (center_x + ((radius-60) * cos (angle_links)));
rl_y = (center_y + ((radius-60) * sin (angle_links)));

rr_x = (center_x + ((radius-60) * cos (angle_rechts)));
rr_y = (center_y + ((radius-60) * sin (angle_rechts)));

rt_x_old = rt_x;
rt_y_old = rt_y;

rl_x_old = rl_x;
rl_y_old = rl_y;

rr_x_old = rr_x;
rr_y_old = rr_y;

tft.fillTriangle (rt_x, rt_y, rl_x, rl_y, rr_x, rr_y, YELLOW);
}

Hi there, and Welcome here.
So it is more than likely the BSP is too new if you used the latest BSP by default, Roll it back to 2.0.14 or, 17 and try again. For the demo’s to run It’s imperative you use the specific versions of the Lib’s in use.
The latest Espressif updates remove the older API, and compatibility with older BSP.
HTH
GL :slight_smile: PJ
:v:

Is this posted code a demo, Does it compile without ERRORS?
and Could you edit to use the code tags " </> " above this way others can compile with ease and provide a cross check. :+1:

Hello. at the beginning you have to forgive me, but I am a beginner in programming. I know a little, but I don’t know everything :).

After changing the version to 2.0.14 and 2.0.17, I receive this message

exec: "/bin/riscv32-esp-elf-g++": file does not exist

And now I don’t know how to solve this problem.

I came across your project here before and I did everything according to your instructions, but it didn’t work either.

If you can help me eliminate the new problem during compilation, I would be grateful :slight_smile:

everything compiled fine, but the screen did not display.

//XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter
//
// creates a rainbow temperature scale using Bodmer's example at TFT_eSPI
// with an index marker
// and numerical temperature display
// on a cirdular 240*240 TFT GC9A01A driver
// microcontroller Seeed studio Xiao_ESP32C3
//
// Floris Wouterlood
// April 2, 2024
//
// public domain
// pin layout:
// both displays   Xiao_ESP32C3
//     GND ---------- GND
//     VCC ---------- 3.3V
//     SCL ---------- D8
//     SDA ---------- D10
//     RES ---------- D2
//     DC  ---------- D1
//     CS  ---------- D0
//

   #include <SPI.h>
   #include <TFT_eSPI.h>
   
// do not forget to use User_Setup_xxxx.h that matches microcontroller-display combination
// here: Setup_FW_Xiao_ESP32C3_GC9A01_TFT_026.h - see
     
                                         
   TFT_eSPI tft = TFT_eSPI(); 

// RGB 565 color picker at https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
   #define WHITE       0xFFFF
   #define BLACK       0x0000
   #define BLUE        0x001F
   #define RED         0xF800
   #define GREEN       0x07E0
   #define CYAN        0x07FF
   #define MAGENTA     0xF81F
   #define YELLOW      0xFFE0
   #define GREY        0x2108
   #define SCALE0      0xC655                                                    // accent color for unused scale segments                                   
   #define SCALE1      0x5DEE                                                    // accent color for unused scale segments
   #define TEXT_COLOR  0xFFFF     

// Meter colour schemes
   #define             RED2RED 0
   #define             GREEN2GREEN 1
   #define             BLUE2BLUE 2
   #define             BLUE2RED 3
   #define             GREEN2RED 4
   #define             RED2GREEN 5
   #define DEG2RAD     0.0174532925                                                  // conversion factor degrees to radials

   int xpos = 0;
   int ypos = 0;
   int gap = 55;
   int radius = 120;
   int angle;
   uint32_t runTime = -99999;                                                    // time for next update
   int reading;                                                                  // value to be displayed
   int d = 0;                                                                    // variable used for the sinewave test waveform
   bool range_error = 0;
   float rt_x, rt_y, rl_x, rl_y, rr_x, rr_y;
   float rt_x_old, rt_y_old, rl_x_old, rl_y_old, rr_x_old, rr_y_old;
   float angle_top,  angle_rechts, angle_links;
   float center_x = 120;                                                         // center coordinates of the radius serving the index tag                                         
   float center_y = 125;
   float temp_00; 

void setup(void) {
 
   tft.begin ();
   Serial.begin (9600);
   tft.setRotation (0);
   tft.fillScreen (BLACK);
   
}

void loop() {

  if (millis() - runTime >= 0L) {                                                // execute every TBD ms
    runTime = millis();

   temp_00 = random (00,100);                                                    // for testing purposes
   reading = temp_00;
   indexTag ();
   ringMeter (reading, 0, 100, xpos, ypos, radius,GREEN2RED);                    // draw analogue meter
   delay (1000);

  }
}

// #########################################################################
//  Draw the meter on the screen, returns x coord of righthand side        #
// #########################################################################

int ringMeter(int value, int vmin, int vmax, int x, int y, int r, byte scheme) {
 
    x += r; y += r;                                                              // calculate coords of centre of ring
    int w = r / 3;                                                               // width of outer ring is 1/4 of radius
    angle = 150;                                                                 // half the sweep angle of meter (300 degrees)
    int v = map(value, vmin, vmax, -angle, angle);                               // map the value to an angle v
    byte seg = 3;                                                                // segments are 3 degrees wide = 100 segments for 300 degrees
    byte inc = 6;                                                                // draw segments every 3 degrees, increase to 6 for segmented ring
    int colour = BLUE;

   for (int i = -angle+inc/2; i < angle-inc/2; i += inc)
      {
      float sx = cos((i - 90) *  DEG2RAD);
      float sy = sin((i - 90) *  DEG2RAD);
      uint16_t x0 = sx * (r - w) + x;
      uint16_t y0 = sy * (r - w) + y;
      uint16_t x1 = sx * r + x;
      uint16_t y1 = sy * r + y;
      float sx2 = cos((i + seg - 90) *  DEG2RAD);                                // calculate pair of coordinates for segment end
      float sy2 = sin((i + seg - 90) *  DEG2RAD);
      int x2 = sx2 * (r - w) + x;
      int y2 = sy2 * (r - w) + y;
      int x3 = sx2 * r + x;
      int y3 = sy2 * r + y;

      if (i < v) {                                                               // fill in colored segments with 2 triangles
        switch (scheme) {
          case 0: colour = RED; break;                                           // fixed color
          case 1: colour = GREEN; break;                                         // fixed color
          case 2: colour = BLUE; break;                                          // fixed color
          case 3: colour = rainbow(map(i, -angle, angle,  0, 127)); break;       // full spectrum blue to red
          case 4: colour = rainbow(map(i, -angle, angle, 70, 127)); break;       // green to red (high temperature etc)
          case 5: colour = rainbow(map(i, -angle, angle, 127, 63)); break;       // red to green (low battery etc)
          default: colour = BLUE; break;                                         // fixed colour
        }
        tft.fillTriangle(x0, y0, x1, y1, x2, y2, colour);
        tft.fillTriangle(x1, y1, x2, y2, x3, y3, colour);
        }
        else                                                                     // fill in blank segments
        {
        tft.fillTriangle(x0, y0, x1, y1, x2, y2, GREY);
        tft.fillTriangle(x1, y1, x2, y2, x3, y3, GREY);
        }
     }
   return x + r;                                                                 // calculate and return right hand side x coordinate
}

// #########################################################################
// Return a 16 bit rainbow colour
// #########################################################################

unsigned int rainbow(byte value){

   byte red = 0;                                                                 // value is expected to be in range 0-127 (0 = blue to 127 = red)
   byte green = 0;                                                               // green is the middle 6 bits
   byte blue = 0;                                                                // blue is the bottom 5 bits
   byte quadrant = value / 32;

   if (quadrant == 0) {
     blue = 31;
     green = 2 * (value % 32);
     red = 0;
   }
   if (quadrant == 1) {
     blue = 31 - (value % 32);
     green = 63;
     red = 0;
   }
   if (quadrant == 2) {
     blue = 0;
     green = 63;
     red = value % 32;
   }
   if (quadrant == 3) {
     blue = 0;
     green = 63 - 2 * (value % 32);
     red = 31;
   }
   return (red << 11) + (green << 5) + blue;
}

// #########################################################################
// Return a value in range -1 to +1 for a given phase angle in degrees
// #########################################################################

float sineWave(int phase) {
  return sin(phase * 0.0174532925);
}


// #########################################################################################
// #   create a moving index tag indicating temperature inner to the rainbbow scale        #
// #########################################################################################


void indexTag (){

   tft.fillTriangle (rt_x_old, rt_y_old, rl_x_old, rl_y_old, rr_x_old, rr_y_old, BLACK);
   
   angle_top = -(240*DEG2RAD)+((3*temp_00)*DEG2RAD);                             // offset plus scale dynamics = 100 degrees temp over 300 arc degrees
   angle_links  = (angle_top - (6*DEG2RAD));
   angle_rechts = (angle_top + (6*DEG2RAD));
   
   rt_x = (center_x + ((radius-45) * cos (angle_top)));
   rt_y = (center_y + ((radius-45) * sin (angle_top)));

   rl_x = (center_x + ((radius-60) * cos (angle_links)));
   rl_y = (center_y + ((radius-60) * sin (angle_links))); 
   
   rr_x = (center_x + ((radius-60) * cos (angle_rechts)));
   rr_y = (center_y + ((radius-60) * sin (angle_rechts))); 

   rt_x_old = rt_x;
   rt_y_old = rt_y;

   rl_x_old = rl_x;
   rl_y_old = rl_y;
   
   rr_x_old = rr_x;
   rr_y_old = rr_y;

tft.fillTriangle (rt_x, rt_y, rl_x, rl_y, rr_x, rr_y, YELLOW);   
}
                                             
1 Like

Hi there,
So the main issue is the BSP,
The code works as posted , the second time , first cut&paste had some errors on this end.
I reloaded this one and once BSP 2.0.11 was used it displays the meter AOK.
HTH
GL :slight_smile: PJ
:v:
Please mark as the solution so others can find it.
NOTE:
Only 2.0.11 would display properly,
the other up to 2.0.17 compile but do NOT display the images. All things be equal.

Would you be able to send me your Tft_espi folder already configured with this code? I would be very grateful, because I don’t know if my User_setup configuration is done correctly. I’m making my own design for a gear knob that displays gear numbers… I’ve been working on it since Monday and I’m really tired of checking if everything works… when I’m home, I’ll check what you wrote and download 2.0.11 :slight_smile:

1 Like

PM Him your email… Click on the Monkey Face… then click on Blue Message

1 Like

Hi there,
I can help you work through it, I’m a "teach a man to fish " kind of person. It wouldn’t benefit anyone else but you, which is counter to the spirit of a PUBLIC forum. Post up what you have and others too will make some very good suggestions. You can read , So I now that already. That’s all you need to do. When your done, it will serve you better to know how and why it works.
Start with loading the proper Board Support Package, a.k.a BSP, the manufactures… nordic, Espressif, x, y, & Z make them available for Arduino IDE. I know now you know this now , so get the correct one going first. Run your compile and be sure in your settings for the IDE it set for “verbose” (tells you a lot)
about the Ingredients mix. (not necessarily how it’s made) that’s almost last but I digress…
If everything compiles but doesn’t display, You have a Choice…

  1. run the Read_User_setup.ino and look at what comes out the serial port.
    it should look like what I posted.
  2. check the edit for what you have enabled there’s only one choice.
    Note , if you have the Round display wiki open on another tab, the stps are documented there there’s ONLY two. FYI :+1:
    NOTE: when you have it (driver recognized) you will see the display right away too.

So what you got?
HTH
GL :slight_smile: PJ
:v:

No , better he doesn’t I don’t read them.
Post the questions , so everyone benefits from the solution.
TIA
GL :slight_smile: PJ :v:

1 Like

Dont be so grumpy Monkey… We gotta help the younglings coming behind us… I understand your principles… but we need more members… not less… I agree you learn more from experimentation… but you just might make the difference between someone succeeding and failing… like i said… I was unable to replicate your results with the Arduino Uno tft for most basic sketch… but the more complicated worked just fine…

I agree some are not worth investing in… but this guy seems a glutton for punishment… he keeps coming back for more… so maybe he has no where else to turn… Obviously he doesnt need help with his homework… because school doesnot use seeed gear…

You know my principle is not to help people troubleshoot non seeed gear on the seeed forum…
Dont be an Anakin Skywalker… I understand you have limited time and I acknowledge that you dedicate far too much of your time to Seeed… but i make exceptions when they are obvious

My recomendation would be buy two Seeed XIAO Round Displays and call me in the morning!

Hi there,
So here is the compiler output from your posted code that runs fine Oh and the load video short.LOL
HTH
GL:-) PJ :v:

FQBN: esp32:esp32:XIAO_ESP32C3
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11
Using core 'esp32' from platform in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11

EDIT for brevity and really only the first 3 lines help beginners and the last 20 or so., IMO

Using library SPI at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\SPI 
Using library TFT_eSPI at version 2.5.23 in folder: D:\Arduino_projects\libraries\TFT_eSPI 
Using library FS at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\FS 
Using library SPIFFS at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\SPIFFS 
"C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\riscv32-esp-elf-gcc\\esp-2021r2-patch5-8.4.0/bin/riscv32-esp-elf-size" -A "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.elf"
Sketch uses 284844 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14004 bytes (4%) of dynamic memory, leaving 313676 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1/esptool.exe" --chip esp32c3 --port "COM6" --baud 921600  --before default_reset --after hard_reset write_flash  -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.bootloader.bin" 0x8000 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.partitions.bin" 0xe000 "C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.bin" 
esptool.py v4.5.1
Serial port COM6
Connecting...
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: a0:76:4e:3f:a3:88
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0005afff...
Compressed 13216 bytes to 9528...
Writing at 0x00000000... (100 %)
Wrote 13216 bytes (9528 compressed) at 0x00000000 in 0.3 seconds (effective 336.7 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 407.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 553.3 kbit/s)...
Hash of data verified.
Compressed 304752 bytes to 167045...
Writing at 0x00010000... (9 %)
Writing at 0x0001a396... (18 %)
Writing at 0x000243fc... (27 %)
Writing at 0x0002a070... (36 %)
Writing at 0x00031403... (45 %)
Writing at 0x0003831d... (54 %)
Writing at 0x0003e3c2... (63 %)
Writing at 0x00044603... (72 %)
Writing at 0x0004a474... (81 %)
Writing at 0x000508dc... (90 %)
Writing at 0x00059488... (100 %)
Wrote 304752 bytes (167045 compressed) at 0x00010000 in 2.7 seconds (effective 900.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

you will get some complaints about the touch screen but your not there yet. :+1:
A suggestion also would be at a minimum, place “MCUa out or reset prompt” or file name or date or time or something to let you know it’s alive and it’s the rest of the code that is Nurf’d.

1 Like

Nah, not here… LOL
It is a Round seeed display I’m using same driver for GC9A01 in TFT_eSPI.lib with other options from the ST7789 we messed with the other day. All relative, he needs the options.
All Good.
Works perfectly.
GL :slight_smile: PJ
:v:

1 Like

Thank you for all your advice and help :). This forum is really very helpful :), but the problem is still not solved. After uploading version 2.0.11 for esp32 boards, the same problem occurs…

I will probably have to change something else in the ESP32 folder, but I don’t really know what it should be :confused:

I paste the compiler error below

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_880952 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_449937 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_880952 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_449937 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
Using core 'esp32' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv" if exist "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\tools\\partitions\\default.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv"
        1 file(s) copied.
cmd /c IF EXIST "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" ( COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" ( COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32c3 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.5.1
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\build_opt.h"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\build_opt.h" type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\build_opt.h"
cmd /c type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952/file_opts"
Detecting libraries used...
/bin/riscv32-esp-elf-g++ -c "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_XIAO_ESP32C3 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"XIAO_ESP32C3\"" "-DARDUINO_VARIANT=\"XIAO_ESP32C3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/defines" "-IC:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter" -iprefix "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/include/" "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/includes" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/qio_qspi/include" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\cores\\esp32" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952/build_opt.h" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952/file_opts" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\sketch\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
exec: "/bin/riscv32-esp-elf-g++": file does not exist
Błąd kompilacji dla płytki XIAO_ESP32C3.

HI there, NO… You don NOT have the correct BSP loaded.its says so above.
So in arduinoIDE which version are you using.?
Open the Boards tab, type in ESP
You’ll see the choices, pull down the carret to 2.0.11
let it do it’s thing and run the compile AGAIN… and paste the first 3 lines from the output. back here.
These are basic concepts, so you better be able to do as instructed or it will be harder to learn how it works.
Post any questions you have about the specifics and I’ll walk you through it. It’s NOT rocket science but more a procedure of steps.
You have the ALPHA BSP loaded now which doesn’t work with anything OLD at All. FYI.
HTH
GL :slight_smile: PJ
:v:
check the red arrows first, once you have that, then the GREEN apply OPEN the EXAMPLES for the TFT_eSPI and select diagnostics from the menu, LOAD up the READ_USER_SETUP.ino and compile and run it. Paste the output from the serial port it generates Like the screen above.
GET going,

Hi there,
Where it say’s UPDATE next to a menu(3rd red arrow) pull down Carrett , pull it down and pick the 2.0.11
let it do it’s thing then, run the compile again.
HTH
GL :slight_smile: PJ

Hi… I’m using Arduino 1.8.13. I did everything related to the red arrows as you said earlier… the compiler code is the one after installing 2.0.11. But to be sure, I reinstalled it.

can you tell me what ALPHA in BSP means? because when selecting the driver it is not written anywhere that it is the ALPHA 2.0.11 version

And here is a kompilator code:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_829504 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_829504 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
Using core 'esp32' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv" if exist "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\tools\\partitions\\default.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv"
        1 file(s) copied.
cmd /c IF EXIST "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" ( COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" ( COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32c3 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.5.1
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\build_opt.h"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\build_opt.h" type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\build_opt.h"
cmd /c type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504/file_opts"
Detecting libraries used...
/bin/riscv32-esp-elf-g++ -c "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_XIAO_ESP32C3 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"XIAO_ESP32C3\"" "-DARDUINO_VARIANT=\"XIAO_ESP32C3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/defines" "-IC:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter" -iprefix "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/include/" "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/includes" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/qio_qspi/include" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\cores\\esp32" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504/build_opt.h" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504/file_opts" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\sketch\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
exec: "/bin/riscv32-esp-elf-g++": file does not exist
Błąd kompilacji dla płytki XIAO_ESP32C3.

And here is the compilation with READ_USER_SETUP

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_597923 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -verbose C:\Users\Małgorzata\Documents\Arduino\libraries\TFT_eSPI\examples\Test and diagnostics\Read_User_Setup\Read_User_Setup.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_597923 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -verbose C:\Users\Małgorzata\Documents\Arduino\libraries\TFT_eSPI\examples\Test and diagnostics\Read_User_Setup\Read_User_Setup.ino
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
Using core 'esp32' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
cmd /c if exist "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\partitions.csv" COPY /y "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv" if exist "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\tools\\partitions\\default.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv"
cmd /c IF EXIST "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\bootloader.bin" ( COPY /y "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\Read_User_Setup.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" ( COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\Read_User_Setup.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32c3 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\Read_User_Setup.ino.bootloader.bin" "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.5.1
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\build_opt.h" COPY /y "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\build_opt.h" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\build_opt.h"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\build_opt.h" type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\build_opt.h"
cmd /c type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923/file_opts"
Detecting libraries used...
/bin/riscv32-esp-elf-g++ -c "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_XIAO_ESP32C3 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"XIAO_ESP32C3\"" "-DARDUINO_VARIANT=\"XIAO_ESP32C3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/defines" "-IC:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup" -iprefix "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/include/" "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/includes" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/qio_qspi/include" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\cores\\esp32" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923/build_opt.h" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923/file_opts" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\sketch\\Read_User_Setup.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
exec: "/bin/riscv32-esp-elf-g++": file does not exist
Błąd kompilacji dla płytki XIAO_ESP32C3.

Before changing BSP to 2.0.11, the sketch was compiled and uploaded, but nothing was displayed on the screen. Now I keep getting a message at the end
“”/bin/riscv32-esp-elf-g++": file does not exist
"

I also think that the problem is not in the TFT but in the ESP32 folder, something must have changed :confused: