dejwk / roo_display

Arduino-compliant library, targeted at ESP32 and related boards, for driving display devices and touch panels, e.g. ILI9486, ILI9341, or ST7789. Powerful and fast.
Other
8 stars 1 forks source link

ESP32-S3 #6

Closed Boyeen closed 1 year ago

Boyeen commented 1 year ago

Hiya, Sorry for delay testing the new driver, I am out sick.

So far no joy but I will keep looking when I can.

Latest error: .pio/libdeps/esp32dev/roo_display/roo_display/products/lilygo/t_display_s3.h:40:31: error: 'esp32s3' was not declared in this scope roo_display::St7789_Generic<esp32s3::ParallelLcd8Bit, 170, 320, 35, 0, 35, 0>

Could it be related to. CONFIG_IDF_TARGET_ESP32S3

dejwk commented 1 year ago

Yes, indeed, I think this must be because this file doesn't see the macro definitions for ESP32S3:

https://github.com/dejwk/roo_display/blob/master/roo_display/transport/esp32s3/parallel_lcd_8bit.h

The inclusion of Arduino.h should define these macros if you're compiling on ESP32S3.

But did you configure your build environment for ESP32S3? If you're using PlatformIO, for example, you need to put something like this in the platformio.ini:

[env:ESP32-S3-DevKitC-1]

platform = espressif32 board = esp32-s3-devkitc-1 framework = arduino

('board' is the important part).

Boyeen commented 1 year ago

Yeah, user error, you are 100% correct. I apologize....

It works and is super fast... I'll keep testing.

Nice job