Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

exclude: '(libraries/ui/)'
exclude: |
(?x)(
.*libraries/ui/.*
| .*.pio/.*
)
repos:
- repo: https://github.com/igrr/astyle_py.git
rev: v1.0.5
Expand Down
26 changes: 11 additions & 15 deletions esp_panel_board_custom_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -390,20 +390,18 @@
/* For general */
#define ESP_PANEL_BOARD_TOUCH_I2C_HOST_ID (0) // Typically set to 0
#if !ESP_PANEL_BOARD_TOUCH_BUS_SKIP_INIT_HOST
/* For host */
#define ESP_PANEL_BOARD_TOUCH_I2C_CLK_HZ (400 * 1000)
// Typically set to 400K
#define ESP_PANEL_BOARD_TOUCH_I2C_SCL_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_TOUCH_I2C_SDA_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_TOUCH_I2C_IO_SCL (18)
#define ESP_PANEL_BOARD_TOUCH_I2C_IO_SDA (8)
/* For host */
# define ESP_PANEL_BOARD_TOUCH_I2C_INTERNAL_PULLUP (1) // 0/1. Typically set to 1
# define ESP_PANEL_BOARD_TOUCH_I2C_IO_SCL (18) // SCL pin number
# define ESP_PANEL_BOARD_TOUCH_I2C_IO_SDA (8) // SDA pin number
#endif
/* For panel */
#define ESP_PANEL_BOARD_TOUCH_I2C_ADDRESS (0) // Typically set to 0 to use the default address.
// - For touchs with only one address, set to 0
// - For touchs with multiple addresses, set to 0 or
// the address. Like GT911, there are two addresses:
// 0x5D(default) and 0x14
# define ESP_PANEL_BOARD_TOUCH_I2C_CLK_HZ (400 * 1000) // Typically set to 400K

#elif ESP_PANEL_BOARD_TOUCH_BUS_TYPE == ESP_PANEL_BUS_TYPE_SPI

Expand Down Expand Up @@ -557,17 +555,15 @@
#define ESP_PANEL_BOARD_EXPANDER_I2C_HOST_ID (0) // Typically set to 0
/* For host */
#if !ESP_PANEL_BOARD_EXPANDER_SKIP_INIT_HOST
#define ESP_PANEL_BOARD_EXPANDER_I2C_CLK_HZ (400 * 1000)
// Typically set to 400K
#define ESP_PANEL_BOARD_EXPANDER_I2C_SCL_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_EXPANDER_I2C_SDA_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SCL (18)
#define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SDA (8)
# define ESP_PANEL_BOARD_EXPANDER_I2C_INTERNAL_PULLUP (1) // 0/1. Typically set to 1
# define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SCL (18) // SCL pin number
# define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SDA (8) // SDA pin number
#endif // ESP_PANEL_BOARD_EXPANDER_SKIP_INIT_HOST
/* For device */
#define ESP_PANEL_BOARD_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
// the I2C address may be different, and confirmation based on
// the actual hardware connection is required
#define ESP_PANEL_BOARD_EXPANDER_I2C_CLK_HZ (400 * 1000) // Typically set to 400K
#endif // ESP_PANEL_BOARD_USE_EXPANDER

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -751,8 +747,8 @@
* 2. Minor version mismatch: May be missing new configurations, recommended to update
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR 1
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 2
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR 2
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 0
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_PATCH 0

#endif // ESP_PANEL_BOARD_DEFAULT_USE_CUSTOM
Expand Down
15 changes: 14 additions & 1 deletion esp_panel_drivers_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -390,20 +390,18 @@
/* For general */
#define ESP_PANEL_BOARD_TOUCH_I2C_HOST_ID (0) // Typically set to 0
#if !ESP_PANEL_BOARD_TOUCH_BUS_SKIP_INIT_HOST
/* For host */
#define ESP_PANEL_BOARD_TOUCH_I2C_CLK_HZ (400 * 1000)
// Typically set to 400K
#define ESP_PANEL_BOARD_TOUCH_I2C_SCL_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_TOUCH_I2C_SDA_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_TOUCH_I2C_IO_SCL (18)
#define ESP_PANEL_BOARD_TOUCH_I2C_IO_SDA (8)
/* For host */
# define ESP_PANEL_BOARD_TOUCH_I2C_INTERNAL_PULLUP (1) // 0/1. Typically set to 1
# define ESP_PANEL_BOARD_TOUCH_I2C_IO_SCL (18) // SCL pin number
# define ESP_PANEL_BOARD_TOUCH_I2C_IO_SDA (8) // SDA pin number
#endif
/* For panel */
#define ESP_PANEL_BOARD_TOUCH_I2C_ADDRESS (0) // Typically set to 0 to use the default address.
// - For touchs with only one address, set to 0
// - For touchs with multiple addresses, set to 0 or
// the address. Like GT911, there are two addresses:
// 0x5D(default) and 0x14
# define ESP_PANEL_BOARD_TOUCH_I2C_CLK_HZ (400 * 1000) // Typically set to 400K

#elif ESP_PANEL_BOARD_TOUCH_BUS_TYPE == ESP_PANEL_BUS_TYPE_SPI

Expand Down Expand Up @@ -557,17 +555,15 @@
#define ESP_PANEL_BOARD_EXPANDER_I2C_HOST_ID (0) // Typically set to 0
/* For host */
#if !ESP_PANEL_BOARD_EXPANDER_SKIP_INIT_HOST
#define ESP_PANEL_BOARD_EXPANDER_I2C_CLK_HZ (400 * 1000)
// Typically set to 400K
#define ESP_PANEL_BOARD_EXPANDER_I2C_SCL_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_EXPANDER_I2C_SDA_PULLUP (1) // 0/1. Typically set to 1
#define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SCL (18)
#define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SDA (8)
# define ESP_PANEL_BOARD_EXPANDER_I2C_INTERNAL_PULLUP (1) // 0/1. Typically set to 1
# define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SCL (18) // SCL pin number
# define ESP_PANEL_BOARD_EXPANDER_I2C_IO_SDA (8) // SDA pin number
#endif // ESP_PANEL_BOARD_EXPANDER_SKIP_INIT_HOST
/* For device */
#define ESP_PANEL_BOARD_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
// the I2C address may be different, and confirmation based on
// the actual hardware connection is required
#define ESP_PANEL_BOARD_EXPANDER_I2C_CLK_HZ (400 * 1000) // Typically set to 400K
#endif // ESP_PANEL_BOARD_USE_EXPANDER

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -751,8 +747,8 @@
* 2. Minor version mismatch: May be missing new configurations, recommended to update
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR 1
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 2
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MAJOR 2
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_MINOR 0
#define ESP_PANEL_BOARD_CUSTOM_FILE_VERSION_PATCH 0

#endif // ESP_PANEL_BOARD_DEFAULT_USE_CUSTOM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
15 changes: 14 additions & 1 deletion examples/arduino/drivers/lcd/lcd_qspi/esp_panel_drivers_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
15 changes: 14 additions & 1 deletion examples/arduino/drivers/lcd/lcd_spi/esp_panel_drivers_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,19 @@
#define ESP_PANEL_DRIVERS_TOUCH_XPT2046_ENABLE_LOCKING (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_XPT2046 || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

/**
* @brief CST816S specific configurations
*/
#if ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS
/**
* @brief Disable read ID
*
* When enabled, CST816S will not read the ID in the initialization process. This is useful for some cases that the
* failure of reading ID is occurred.
*/
#define ESP_PANEL_DRIVERS_TOUCH_CST816S_DISABLE_READ_ID (0)
#endif // ESP_PANEL_DRIVERS_TOUCH_USE_CST816S || ESP_PANEL_DRIVERS_TOUCH_COMPILE_UNUSED_DRIVERS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////// IO Expander Configurations //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -261,7 +274,7 @@
* 3. Patch version mismatch: No impact on functionality
*/
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MAJOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 1
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_MINOR 2
#define ESP_PANEL_DRIVERS_CONF_FILE_VERSION_PATCH 0

// *INDENT-ON*
Loading
Loading