• sales

    +86-0755-88291180

esp32c3-1.44 Problems With Upload

2024-07-25 11:03:01 Ask

Ive tried everything i followed step by step and exported lib files into library inside Arduino IDE and also lv_conf.h has been added I still dont understand why is not working. I would love to receive help fast in fixing this.


In file included from c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.h:98,

                from c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:16:

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.c: In function 'void dc_callback(spi_transaction_t*)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:180:22: error: 'GPIO' was not declared in this scope

 180 |         #define DC_D GPIO.out_w1ts.val = (1 << TFT_DC)//;GPIO.out_w1ts.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.c:793:28: note: in expansion of macro 'DC_D'

 793 |   if ((bool)spi_tx->user) {DC_D;}

     |                            ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.c:794:9: note: in expansion of macro 'DC_C'

 794 |   else {DC_C;}

     |         ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::begin_tft_write()':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:224:22: error: 'GPIO' was not declared in this scope

 224 |         #define CS_L GPIO.out_w1tc.val = (1 << TFT_CS); GPIO.out_w1tc.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:80:5: note: in expansion of macro 'CS_L'

  80 |     CS_L;

     |     ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'virtual void TFT_eSPI::begin_nin_write()':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:224:22: error: 'GPIO' was not declared in this scope

 224 |         #define CS_L GPIO.out_w1tc.val = (1 << TFT_CS); GPIO.out_w1tc.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:92:5: note: in expansion of macro 'CS_L'

  92 |     CS_L;

     |     ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::end_tft_write()':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:225:22: error: 'GPIO' was not declared in this scope

 225 |         #define CS_H GPIO.out_w1ts.val = (1 << TFT_CS)//;GPIO.out_w1ts.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:106:7: note: in expansion of macro 'CS_H'

 106 |       CS_H;

     |       ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'virtual void TFT_eSPI::end_nin_write()':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:225:22: error: 'GPIO' was not declared in this scope

 225 |         #define CS_H GPIO.out_w1ts.val = (1 << TFT_CS)//;GPIO.out_w1ts.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:121:7: note: in expansion of macro 'CS_H'

 121 |       CS_H;

     |       ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::begin_tft_read()':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:224:22: error: 'GPIO' was not declared in this scope

 224 |         #define CS_L GPIO.out_w1tc.val = (1 << TFT_CS); GPIO.out_w1tc.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:141:5: note: in expansion of macro 'CS_L'

 141 |     CS_L;

     |     ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::end_tft_read()':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:225:22: error: 'GPIO' was not declared in this scope

 225 |         #define CS_H GPIO.out_w1ts.val = (1 << TFT_CS)//;GPIO.out_w1ts.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:161:7: note: in expansion of macro 'CS_H'

 161 |       CS_H;

     |       ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::writecommand(uint8_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:964:3: note: in expansion of macro 'DC_C'

 964 |   DC_C;

     |   ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::writedata(uint8_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:180:22: error: 'GPIO' was not declared in this scope

 180 |         #define DC_D GPIO.out_w1ts.val = (1 << TFT_DC)//;GPIO.out_w1ts.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:1012:3: note: in expansion of macro 'DC_D'

1012 |   DC_D;        // Play safe, but should already be in data mode

     |   ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'uint8_t TFT_eSPI::readcommand8(uint8_t, uint8_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:1049:3: note: in expansion of macro 'DC_C'

1049 |   DC_C; tft_Write_8(0xD9);

     |   ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'virtual uint16_t TFT_eSPI::readPixel(int32_t, int32_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:225:22: error: 'GPIO' was not declared in this scope

 225 |         #define CS_H GPIO.out_w1ts.val = (1 << TFT_CS)//;GPIO.out_w1ts.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:1205:3: note: in expansion of macro 'CS_H'

1205 |   CS_H;

     |   ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::readRectRGB(int32_t, int32_t, int32_t, int32_t, uint8_t*)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:225:22: error: 'GPIO' was not declared in this scope

 225 |         #define CS_H GPIO.out_w1ts.val = (1 << TFT_CS)//;GPIO.out_w1ts.val = (1 << TFT_CS)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:2209:3: note: in expansion of macro 'CS_H'

2209 |   CS_H;

     |   ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'virtual void TFT_eSPI::setWindow(int32_t, int32_t, int32_t, int32_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:3419:5: note: in expansion of macro 'DC_C'

3419 |     DC_C; tft_Write_8(TFT_CASET);

     |     ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'void TFT_eSPI::readAddrWindow(int32_t, int32_t, int32_t, int32_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:3495:3: note: in expansion of macro 'DC_C'

3495 |   DC_C; tft_Write_8(TFT_CASET);

     |   ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp: In member function 'virtual void TFT_eSPI::drawPixel(int32_t, int32_t, uint32_t)':

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:3677:7: note: in expansion of macro 'DC_C'

3677 |       DC_C; tft_Write_8(TFT_CASET);

     |       ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:3684:7: note: in expansion of macro 'DC_C'

3684 |       DC_C; tft_Write_8(TFT_PASET);

     |       ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32_C3.h:179:22: error: 'GPIO' was not declared in this scope

 179 |         #define DC_C GPIO.out_w1tc.val = (1 << TFT_DC)//;GPIO.out_w1tc.val = (1 << TFT_DC)

     |                      ^~~~

c:\Users\mrobe\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:3690:3: note: in expansion of macro 'DC_C'

3690 |   DC_C; tft_Write_8(TFT_RAMWR);

     |   ^~~~

Multiple libraries were found for "SD.h"

 Used: C:\Users\mrobe\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\libraries\SD

 Not used: C:\Users\mrobe\AppData\Local\Arduino15\libraries\SD

exit status 1


Compilation error: exit status 1


esp32c3-1.44
1answers
SpotPearGuestb6838
Answer time:
2024-07-25 18:32:58

Your esp32 version is wrong, please change to version 2.0.13, follow the tutorial to configure correctly, and you can burn successfully

Like1

report

Price: $9.99
Part Number: ESP32C3-1.44
Brand: Spotpear