Skip to content

GSL3680 not implemented? #257

@jho59

Description

@jho59
  1. I see files esp_panel_touch_gsl3680.hpp/.cpp in path /src/drivers/touch/
  2. And I see in esp_panel_drives_conf.h a line
    #define ESP_PANEL_DRIVERS_TOUCH_USE_GSL3680 which I set to 1

In esp_panel_board_custom_conf.h is a block, where GSL3680 is not in the list. Nevertheless I try it this way

/**
 * @brief Touch controller selection
 *
 * Supported controllers:
 * - `AXS15231B`
 * - `CHSC6540`
 * - `CST816S`
 * - `CST820`
 * - `FT5x06`
 * - `GT911`, `GT1151`
 * - `SPD2010`
 * - `ST1633`, `ST7123`
 * - `STMPE610`
 * - `TT21100`
 * - `XPT2046`
 */
#define ESP_PANEL_BOARD_TOUCH_CONTROLLER   GSL3680

and got a long error list:

d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:212:38: error: expected primary-expression before '{' token
  212 |     .touch = BoardConfig::TouchConfig{
      |                                      ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:212:38: error: expected '}' before '{' token
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:30:52: note: to match this '{'
   30 | const BoardConfig ESP_PANEL_BOARD_DEFAULT_CONFIG = {
      |                                                    ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:212:38: error: expected ',' or ';' before '{' token
  212 |     .touch = BoardConfig::TouchConfig{
      |                                      ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:278:6: error: expected unqualified-id before ',' token
  278 |     },
      |      ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:283:5: error: expected unqualified-id before '.' token
  283 |     .backlight = BoardConfig::BacklightConfig{
      |     ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:315:6: error: expected unqualified-id before ',' token
  315 |     },
      |      ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:343:5: error: expected unqualified-id before '.' token
  343 |     .stage_callbacks = {
      |     ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:404:6: error: expected unqualified-id before ',' token
  404 |     },
      |      ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:405:1: error: expected unqualified-id before '}' token
  405 | };
      | ^
d:\EigeneDateien\Dokumente\Arduino\libraries\ESP32_Display_Panel\src\board\esp_panel_board_default_config.cpp:405:1: error: expected declaration before '}' token

So is touch controller GSL3680 not implemented yet?
Or how can I get my display (Guition 10.1inch with JD9365 and ESP32-P4) running?
If I set #define ESP_PANEL_BOARD_USE_TOUCH to 0, board_static_config.ino is running. Of course without touch
BTW: Win10 with ArduinoIDE 2.3.6 and ESP Package 3.3.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions