-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ESP32C6? #3255
Comments
Have you faced any problem? |
Hello I am trying to compile for c6 but I get the several errors. " esp32c6/include/soc/soc.h:112:54: error: invalid operands of types 'void' and 'long unsigned int' to binary 'operator|' TFT_eSPI_ESP32.h:75:22: error: 'VSPI' was not declared in this scope; did you mean 'SPI'? TFT_eSPI_ESP32.h:189:50: error: no match for 'operator=' (operand types are 'volatile gpio_out_w1tc_reg_t' and 'int') TFT_eSPI_ESP32.h:235:50: error: no match for 'operator=' (operand types are 'volatile gpio_out_w1ts_reg_t' and 'int') 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 :#3399 |
Same issue, waiting for the Cincinnatu's PR #3399. /Users/yuangezhizao/Documents/Arduino/libraries/TFT_eSPI/Processors/TFT_eSPI_ESP32.h:190:50: error: no match for 'operator=' (operand types are 'volatile gpio_out_w1ts_reg_t' and 'int')
190 | #define DC_D GPIO.out_w1ts = (1 << TFT_DC)//;GPIO.out_w1ts = (1 << TFT_DC)
| ^
/Users/yuangezhizao/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.cpp:3779:5: note: in expansion of macro 'DC_D'
3779 | DC_D; tft_Write_16N(color);
| ^~~~
/Users/yuangezhizao/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32c6/include/soc/esp32c6/include/soc/gpio_struct.h:51:3: note: candidate: 'constexpr gpio_out_w1ts_reg_t& gpio_out_w1ts_reg_t::operator=(gpio_out_w1ts_reg_t&&)'
51 | } gpio_out_w1ts_reg_t;
| ^~~~~~~~~~~~~~~~~~~
/Users/yuangezhizao/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32c6/include/soc/esp32c6/include/soc/gpio_struct.h:51:3: note: no known conversion for argument 1 from 'int' to 'gpio_out_w1ts_reg_t&&'
/Users/yuangezhizao/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32c6/include/soc/esp32c6/include/soc/gpio_struct.h:51:3: note: candidate: 'constexpr gpio_out_w1ts_reg_t& gpio_out_w1ts_reg_t::operator=(const gpio_out_w1ts_reg_t&)'
/Users/yuangezhizao/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32c6/include/soc/esp32c6/include/soc/gpio_struct.h:51:3: note: no known conversion for argument 1 from 'int' to 'const gpio_out_w1ts_reg_t&' |
datasheet of ESP32C6:
https://www.espressif.com.cn/sites/default/files/documentation/esp32-c6_datasheet_en.pdf
The text was updated successfully, but these errors were encountered: