Open HonestQiao opened 3 months ago
Have you faced any problem?
Hello
I am trying to compile for c6 but I get the several errors.
" oc/esp32c6/include/soc/soc.h:112:54: error: invalid operands of types 'void' and 'long unsigned int' to binary 'operator|' 112 | WRITE_PERI_REG((reg), (READ_PERI_REG(reg)|(mask))); \
esp32c6/include/soc/soc.h:112:54: error: invalid operands of types 'void' and 'long unsigned int' to binary 'operator|' 112 | WRITE_PERI_REG((reg), (READ_PERI_REG(reg)|(mask))); \
TFT_eSPI_ESP32.h:75:22: error: 'VSPI' was not declared in this scope; did you mean 'SPI'? 75 | #define SPI_PORT VSPI TFT_eSPI_ESP32.c:409:48: error: invalid operands of types 'void' and 'long unsigned int' to binary 'operator&' 409 | while (READ_PERI_REG(SPI_CMD_REG(SPI_PORT))&SPI_USR);
TFT_eSPI_ESP32.h:189:50: error: no match for 'operator=' (operand types are 'volatile gpio_out_w1tc_reg_t' and 'int') 189 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
TFT_eSPI_ESP32.h:235:50: error: no match for 'operator=' (operand types are 'volatile gpio_out_w1ts_reg_t' and 'int') 235 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
If I compile for c2 or s3 I have no error
Has anyone else experienced the same problem?
I'm having the same problem, it looks like the TFT library is no longer supported since esp-arduino updated to 3.0.x.
ESP32C6 is not supported. Can someone submit a PR (pull request) for it
I finished the PR about ESP32C6 and TFT_eSPI :https://github.com/Bodmer/TFT_eSPI/pull/3399
datasheet of ESP32C6: https://www.espressif.com.cn/sites/default/files/documentation/esp32-c6_datasheet_en.pdf