Skip to content

smartdisplay & pioarduino core >=3.1.0 #255

Open
@KLelong

Description

@KLelong

Hi,
I would like to use smartdisplay combined with another library. That library needs arduino core >= 3.1.0.
When I compile a smartdisplay-project with that core, it generates errors :

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-8048S043C.html
PLATFORM: Espressif 32 (53.3.13) > esp32-8048S043C
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 @ 3.1.3 
 - framework-arduinoespressif32-libs @ 5.3.0+sha.489d7a2b3a 
 - tool-esptoolpy @ 4.8.6 
 - tool-mklittlefs @ 3.2.0 
 - tool-riscv32-esp-elf-gdb @ 14.2.0+20240403 
 - tool-xtensa-esp-elf-gdb @ 14.2.0+20240403 
 - toolchain-riscv32-esp @ 13.2.0+20240530 
 - toolchain-xtensa-esp-elf @ 13.2.0+20240530
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 43 compatible libraries
Scanning dependencies...
Dependency Graph
|-- esp32_smartdisplay @ 2.1.0+sha.a49bf44
|-- WiFi @ 3.1.3
|-- lvgl @ 9.2.2
Building in release mode
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp32_smartdisplay.c.o
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp_panel_st7701.c.o
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp_panel_st7796.c.o
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp_touch_cst816s.c.o
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp_touch_gt911.c.o
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp_touch_xpt2046.c.o
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/lvgl_panel_gc9a01_spi.c.o
In file included from .pio/libdeps/esp32-8048S043C/esp32_smartdisplay/src/esp32_smartdisplay.c:1:
.pio/libdeps/esp32-8048S043C/esp32_smartdisplay/include/esp32_smartdisplay.h:44:91: error: unknown type name 'uint'; did you mean 'int'?
   44 |     void smartdisplay_lcd_set_brightness_cb(smartdisplay_lcd_adaptive_brightness_cb_t cb, uint interval);
      |                                                                                           ^~~~
      |                                                                                           int
.pio/libdeps/esp32-8048S043C/esp32_smartdisplay/src/esp32_smartdisplay.c:92:87: error: unknown type name 'uint'; did you mean 'int'?
   92 | void smartdisplay_lcd_set_brightness_cb(smartdisplay_lcd_adaptive_brightness_cb_t cb, uint interval)
      |                                                                                       ^~~~
      |                                                                                       int
Compiling .pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/lvgl_panel_ili9341_spi.c.o
*** [.pio/build/esp32-8048S043C/libcff/esp32_smartdisplay/esp32_smartdisplay.c.o] Error 1
=============================================================================================================================================== [FAILED] Took 5.37 seconds ===============================================================================================================================================

Environment      Status    Duration
---------------  --------  ------------
esp32-8048S043C  FAILED    00:00:05.372

Any idea how to solve this ? Using the "standard" core, the project compiles and runs fine.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions