SPI with ESP32-C6 (Supermini) working? #686
dapostol73
started this conversation in
General
Replies: 4 comments 5 replies
-
I was able to get it working using |
Beta Was this translation helpful? Give feedback.
0 replies
-
please use Arduino IDE try again |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same Error in ArduinoIDE.
|
Beta Was this translation helpful? Give feedback.
5 replies
-
INO Code Snippet
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, has anyone been able to to get ESP-C6 (SuperMini) working with this library? I get a few errors when I add #define CONFIG_IDF_TARGET_ESP32C6 and try and use Arduino_ESP32SPI
I'm not sure if I should be using that SPI class or another with it.
error: expected type-specifier before 'Arduino_ESP32SPI' 18 | Arduino_DataBus *bus = new Arduino_ESP32SPI(TFT_DC, TFT_CS, TFT_RST, TFT_MOSI);
From what I can see
Arduino_ESP32SPI
is not enable properly with CONFIG_IDF_TARGET_ESP32C6If I do add it to the list of || defines to at the top of
Arduino_ESP32SPI.h
&Arduino_ESP32SPI.cpp
I get these errors..pio/libdeps/esp32-c6-supermini/GFX Library for Arduino/src/databus/Arduino_ESP32SPI.cpp:144:13: error: 'spi_dev_t' {aka 'struct spi_dev_t'} has no member named 'pin' 144 | spi->dev->pin.val = 0; | ^~~ .pio/libdeps/esp32-c6-supermini/GFX Library for Arduino/src/databus/Arduino_ESP32SPI.cpp: In member function 'virtual bool Arduino_ESP32SPI::begin(int32_t, int8_t)': .pio/libdeps/esp32-c6-supermini/GFX Library for Arduino/src/databus/Arduino_ESP32SPI.cpp:308:30: error: no match for 'operator=' (operand types are 'volatile spi_wn_reg_t' and 'int') 308 | _spi->dev->data_buf[i] = 0x00000000; | ^~~~~~~~~~
Not sure what to try next....thanks
Beta Was this translation helpful? Give feedback.
All reactions