Skip to content

Commit

Permalink
Merge pull request #62 from Spooks4576/Development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Spooks4576 authored Nov 5, 2024
2 parents 4a3799f + 8244737 commit 9ee79d0
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 63 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ if(DEFINED ENV{BLUE_RGB_PIN})
add_compile_definitions(BLUE_RGB_PIN=$ENV{BLUE_RGB_PIN})
endif()

if(DEFINED ENV{USE_BIT_BANG_TOUCH})
add_compile_definitions(USE_BIT_BANG_TOUCH=$ENV{USE_BIT_BANG_TOUCH})
endif()

add_compile_definitions(HOLD_LIMIT=1000) # For joystick hold duration
add_compile_definitions(LED_ORDER=0) # 2 for RGB, 0 for GRB
add_compile_definitions(DNS_SERVER_MAX_ITEMS=1)
Expand Down
4 changes: 0 additions & 4 deletions components/lvgl_esp32_drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ idf_component_register(SRCS ${SOURCES}

target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLV_LVGL_H_INCLUDE_SIMPLE")

if(DEFINED ENV{USE_BIT_BANG_TOUCH})
add_compile_definitions(USE_BIT_BANG_TOUCH=$ENV{USE_BIT_BANG_TOUCH})
endif()

else()
message(FATAL_ERROR "LVGL ESP32 drivers: ESP_PLATFORM is not defined. Try reinstalling ESP-IDF.")
endif()
4 changes: 2 additions & 2 deletions components/lvgl_esp32_drivers/lvgl_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void lvgl_driver_init(void)

#if defined (SHARED_SPI_BUS)
#ifndef USE_7_INCHER
#ifndef USE_BIT_BANG_TOUCH
#ifndef CONFIG_USE_BIT_BANG_TOUCH
ESP_LOGI(TAG, "Initializing shared SPI master");

lvgl_spi_driver_init(TFT_SPI_HOST,
Expand Down Expand Up @@ -126,7 +126,7 @@ void lvgl_driver_init(void)
#if defined (CONFIG_LV_TOUCH_DRIVER_PROTOCOL_SPI)
ESP_LOGI(TAG, "Initializing SPI master for touch");

#ifndef USE_BIT_BANG_TOUCH
#ifndef CONFIG_USE_BIT_BANG_TOUCH

lvgl_spi_driver_init(TOUCH_SPI_HOST,
TP_SPI_MISO, TP_SPI_MOSI, TP_SPI_CLK,
Expand Down
5 changes: 5 additions & 0 deletions components/lvgl_esp32_drivers/lvgl_touch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ menu "LVGL Touch controller"
prompt "Invert Y coordinate value."
default y

config USE_BIT_BANG_TOUCH
bool
prompt "Should Bit Bash Touch"
default n

choice
prompt "Select touch detection method."
default LV_TOUCH_DETECT_IRQ
Expand Down
6 changes: 3 additions & 3 deletions components/lvgl_esp32_drivers/lvgl_touch/xpt2046.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void xpt2046_init(void)

esp_err_t ret = gpio_config(&irq_config);
assert(ret == ESP_OK);
#elif USE_BIT_BANG_TOUCH
#elif CONFIG_USE_BIT_BANG_TOUCH

gpio_set_direction(CONFIG_LV_TOUCH_SPI_MOSI, GPIO_MODE_OUTPUT);
gpio_set_direction(CONFIG_LV_TOUCH_SPI_MISO, GPIO_MODE_INPUT);
Expand Down Expand Up @@ -107,7 +107,7 @@ bool xpt2046_read(lv_indev_drv_t * drv, lv_indev_data_t * data)
y = xpt2046_cmd(CMD_Y_READ);
ESP_LOGV(TAG, "P(%d,%d)", x, y);

#ifndef USE_BIT_BANG_TOUCH
#ifndef CONFIG_USE_BIT_BANG_TOUCH
/*Normalize Data back to 12-bits*/
x = x >> 4;
y = y >> 4;
Expand Down Expand Up @@ -167,7 +167,7 @@ static xpt2046_touch_detect_t xpt2048_is_touch_detected()

static int16_t xpt2046_cmd(uint8_t cmd)
{
#ifdef USE_BIT_BANG_TOUCH
#ifdef CONFIG_USE_BIT_BANG_TOUCH
int16_t val = xpt2046_read_spi(cmd);
return val;
#else
Expand Down
1 change: 1 addition & 0 deletions configs/sdkconfig.CYDDualUSB
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,7 @@ CONFIG_LV_TOUCH_Y_MAX=1900
CONFIG_LV_TOUCH_XY_SWAP=y
CONFIG_LV_TOUCH_INVERT_X=y
# CONFIG_LV_TOUCH_INVERT_Y is not set
CONFIG_USE_BIT_BANG_TOUCH=y
# CONFIG_LV_TOUCH_DETECT_IRQ is not set
CONFIG_LV_TOUCH_DETECT_IRQ_PRESSURE=y
# CONFIG_LV_TOUCH_DETECT_PRESSURE is not set
Expand Down
3 changes: 2 additions & 1 deletion configs/sdkconfig.CYDMicroUSB
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,7 @@ CONFIG_LV_TOUCH_Y_MAX=1900
CONFIG_LV_TOUCH_XY_SWAP=y
CONFIG_LV_TOUCH_INVERT_X=y
# CONFIG_LV_TOUCH_INVERT_Y is not set
CONFIG_USE_BIT_BANG_TOUCH=y
# CONFIG_LV_TOUCH_DETECT_IRQ is not set
CONFIG_LV_TOUCH_DETECT_IRQ_PRESSURE=y
# CONFIG_LV_TOUCH_DETECT_PRESSURE is not set
Expand Down Expand Up @@ -2732,4 +2733,4 @@ CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y
CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1
# End of deprecated options
# End of deprecated options
66 changes: 47 additions & 19 deletions sdkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2302,10 +2302,10 @@ CONFIG_LV_PREDEFINED_DISPLAY_NONE=y
# CONFIG_LV_PREDEFINED_DISPLAY_TTGO is not set
# CONFIG_LV_PREDEFINED_DISPLAY_TTGO_CAMERA_PLUS is not set
# CONFIG_LV_PREDEFINED_DISPLAY_WT32_SC01 is not set
CONFIG_LV_TFT_DISPLAY_CONTROLLER_ST7735S=y
CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9341=y
CONFIG_LV_TFT_DISPLAY_PROTOCOL_SPI=y
CONFIG_LV_HOR_RES_MAX=128
CONFIG_LV_VER_RES_MAX=128
CONFIG_LV_HOR_RES_MAX=320
CONFIG_LV_VER_RES_MAX=240
CONFIG_LV_DISPLAY_ORIENTATION_PORTRAIT=y
# CONFIG_LV_DISPLAY_ORIENTATION_PORTRAIT_INVERTED is not set
# CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE is not set
Expand All @@ -2316,14 +2316,14 @@ CONFIG_LV_PREDEFINED_PINS_NONE=y
# CONFIG_LV_PREDEFINED_PINS_30 is not set
# CONFIG_LV_PREDEFINED_PINS_38V1 is not set
# CONFIG_LV_PREDEFINED_PINS_TKOALA is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9341 is not set
CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9341=y
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9481 is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9486 is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9488 is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ST7789 is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ST7796S is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_GC9A01 is not set
CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ST7735S=y
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ST7735S is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_HX8357 is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_SH1107 is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_SSD1306 is not set
Expand Down Expand Up @@ -2362,46 +2362,74 @@ CONFIG_LV_TFT_SPI_CLK_DIVIDER_2=y
# CONFIG_LV_TFT_SPI_CLK_DIVIDER_48 is not set
# CONFIG_LV_TFT_SPI_CLK_DIVIDER_80 is not set
CONFIG_LV_TFT_CUSTOM_SPI_CLK_DIVIDER=2
# CONFIG_LV_M5STICKC_HANDLE_AXP192 is not set
# CONFIG_LV_INVERT_COLORS is not set
CONFIG_LV_INVERT_COLORS=y

#
# Display Pin Assignments
#
CONFIG_LV_DISP_SPI_MOSI=23
CONFIG_LV_DISP_SPI_MOSI=13
CONFIG_LV_DISPLAY_USE_SPI_MISO=y
CONFIG_LV_DISP_SPI_MISO=19
CONFIG_LV_DISP_SPI_MISO=12
CONFIG_LV_DISP_SPI_INPUT_DELAY_NS=0
CONFIG_LV_DISP_SPI_CLK=18
CONFIG_LV_DISP_SPI_CLK=14
CONFIG_LV_DISPLAY_USE_SPI_CS=y
CONFIG_LV_DISP_SPI_CS=17
CONFIG_LV_DISP_SPI_CS=15
CONFIG_LV_DISPLAY_USE_DC=y
CONFIG_LV_DISP_PIN_DC=16
CONFIG_LV_DISP_USE_RST=y
CONFIG_LV_DISP_PIN_RST=5
CONFIG_LV_DISP_PIN_DC=2
# CONFIG_LV_DISP_USE_RST is not set
CONFIG_LV_DISP_PIN_BUSY=35
# end of Display Pin Assignments

# CONFIG_LV_DISP_BACKLIGHT_OFF is not set
CONFIG_LV_DISP_BACKLIGHT_SWITCH=y
# CONFIG_LV_DISP_BACKLIGHT_PWM is not set
CONFIG_LV_BACKLIGHT_ACTIVE_LVL=y
CONFIG_LV_DISP_PIN_BCKL=32
CONFIG_LV_DISP_PIN_BCKL=21
CONFIG_LV_I2C_DISPLAY_PORT=0
# end of LVGL TFT Display controller

#
# LVGL Touch controller
#
CONFIG_LV_TOUCH_CONTROLLER=0
CONFIG_LV_TOUCH_CONTROLLER_NONE=y
# CONFIG_LV_TOUCH_CONTROLLER_XPT2046 is not set
CONFIG_LV_TOUCH_CONTROLLER=1
# CONFIG_LV_TOUCH_CONTROLLER_NONE is not set
CONFIG_LV_TOUCH_CONTROLLER_XPT2046=y
# CONFIG_LV_TOUCH_CONTROLLER_FT6X06 is not set
# CONFIG_LV_TOUCH_CONTROLLER_STMPE610 is not set
# CONFIG_LV_TOUCH_CONTROLLER_ADCRAW is not set
# CONFIG_LV_TOUCH_CONTROLLER_FT81X is not set
# CONFIG_LV_TOUCH_CONTROLLER_RA8875 is not set
# CONFIG_LV_TOUCH_CONTROLLER_GT911 is not set
CONFIG_LV_TOUCH_DRIVER_PROTOCOL_SPI=y
# CONFIG_LV_TOUCH_CONTROLLER_SPI2_HOST is not set
CONFIG_LV_TOUCH_CONTROLLER_SPI3_HOST=y

#
# Touchpanel (XPT2046) Pin Assignments
#
CONFIG_LV_TOUCH_SPI_MISO=39
CONFIG_LV_TOUCH_SPI_MOSI=32
CONFIG_LV_TOUCH_SPI_CLK=25
CONFIG_LV_TOUCH_SPI_CS=33
CONFIG_LV_TOUCH_PIN_IRQ=36
# end of Touchpanel (XPT2046) Pin Assignments

#
# Touchpanel Configuration (XPT2046)
#
CONFIG_LV_TOUCH_X_MIN=200
CONFIG_LV_TOUCH_Y_MIN=120
CONFIG_LV_TOUCH_X_MAX=1900
CONFIG_LV_TOUCH_Y_MAX=1900
CONFIG_LV_TOUCH_XY_SWAP=y
CONFIG_LV_TOUCH_INVERT_X=y
# CONFIG_LV_TOUCH_INVERT_Y is not set
CONFIG_USE_BIT_BANG_TOUCH=y
# CONFIG_LV_TOUCH_DETECT_IRQ is not set
CONFIG_LV_TOUCH_DETECT_IRQ_PRESSURE=y
# CONFIG_LV_TOUCH_DETECT_PRESSURE is not set
# end of Touchpanel Configuration (XPT2046)

CONFIG_LV_I2C_TOUCH_PORT=0
# end of LVGL Touch controller
# end of LVGL ESP Drivers
Expand Down Expand Up @@ -2705,4 +2733,4 @@ CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y
CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1
# End of deprecated options
# End of deprecated options
62 changes: 32 additions & 30 deletions sdkconfig.old
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL=y
CONFIG_BT_NIMBLE_LOG_LEVEL_INFO=y
# CONFIG_BT_NIMBLE_LOG_LEVEL_DEBUG is not set
CONFIG_BT_NIMBLE_LOG_LEVEL=1
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=3
CONFIG_BT_NIMBLE_MAX_BONDS=3
CONFIG_BT_NIMBLE_MAX_CCCDS=8
CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM=0
Expand Down Expand Up @@ -478,8 +478,8 @@ CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0
#
# Memory Settings
#
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT=24
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_SIZE=128
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT=12
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_SIZE=256
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_COUNT=24
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_SIZE=320
CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=24
Expand All @@ -491,14 +491,16 @@ CONFIG_BT_NIMBLE_L2CAP_COC_SDU_BUFF_COUNT=1
# end of Memory Settings

CONFIG_BT_NIMBLE_GATT_MAX_PROCS=4
# CONFIG_BT_NIMBLE_HS_FLOW_CTRL is not set
CONFIG_BT_NIMBLE_HS_FLOW_CTRL=y
CONFIG_BT_NIMBLE_HS_FLOW_CTRL_ITVL=1000
CONFIG_BT_NIMBLE_HS_FLOW_CTRL_THRESH=2
CONFIG_BT_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT=y
CONFIG_BT_NIMBLE_RPA_TIMEOUT=900
# CONFIG_BT_NIMBLE_MESH is not set
CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS=y
CONFIG_BT_NIMBLE_HS_STOP_TIMEOUT_MS=2000
# CONFIG_BT_NIMBLE_HOST_BASED_PRIVACY is not set
CONFIG_BT_NIMBLE_ENABLE_CONN_REATTEMPT=y
CONFIG_BT_NIMBLE_MAX_CONN_REATTEMPT=3
# CONFIG_BT_NIMBLE_ENABLE_CONN_REATTEMPT is not set
CONFIG_BT_NIMBLE_WHITELIST_SIZE=12
# CONFIG_BT_NIMBLE_TEST_THROUGHPUT_TEST is not set
# CONFIG_BT_NIMBLE_BLUFI_ENABLE is not set
Expand Down Expand Up @@ -2006,7 +2008,7 @@ CONFIG_LV_MEM_BUF_MAX_NUM=16
#
# HAL Settings
#
CONFIG_LV_DISP_DEF_REFR_PERIOD=30
CONFIG_LV_DISP_DEF_REFR_PERIOD=5
CONFIG_LV_INDEV_DEF_READ_PERIOD=30
# CONFIG_LV_TICK_CUSTOM is not set
CONFIG_LV_DPI_DEF=130
Expand Down Expand Up @@ -2241,7 +2243,7 @@ CONFIG_LV_USE_GRID=y
# CONFIG_LV_USE_PNG is not set
# CONFIG_LV_USE_BMP is not set
# CONFIG_LV_USE_SJPG is not set
# CONFIG_LV_USE_GIF is not set
CONFIG_LV_USE_GIF=y
# CONFIG_LV_USE_QRCODE is not set
# CONFIG_LV_USE_FREETYPE is not set
# CONFIG_LV_USE_TINY_TTF is not set
Expand Down Expand Up @@ -2302,8 +2304,8 @@ CONFIG_LV_PREDEFINED_DISPLAY_NONE=y
# CONFIG_LV_PREDEFINED_DISPLAY_WT32_SC01 is not set
CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9341=y
CONFIG_LV_TFT_DISPLAY_PROTOCOL_SPI=y
CONFIG_LV_HOR_RES_MAX=240
CONFIG_LV_VER_RES_MAX=320
CONFIG_LV_HOR_RES_MAX=320
CONFIG_LV_VER_RES_MAX=240
CONFIG_LV_DISPLAY_ORIENTATION_PORTRAIT=y
# CONFIG_LV_DISPLAY_ORIENTATION_PORTRAIT_INVERTED is not set
# CONFIG_LV_DISPLAY_ORIENTATION_LANDSCAPE is not set
Expand Down Expand Up @@ -2333,8 +2335,8 @@ CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9341=y
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_ILI9163C is not set
# CONFIG_LV_TFT_DISPLAY_USER_CONTROLLER_PCD8544 is not set
# CONFIG_CUSTOM_DISPLAY_BUFFER_SIZE is not set
# CONFIG_LV_TFT_DISPLAY_SPI2_HOST is not set
CONFIG_LV_TFT_DISPLAY_SPI3_HOST=y
CONFIG_LV_TFT_DISPLAY_SPI2_HOST=y
# CONFIG_LV_TFT_DISPLAY_SPI3_HOST is not set
CONFIG_LV_TFT_DISPLAY_SPI_TRANS_MODE_SIO=y
# CONFIG_LV_TFT_DISPLAY_SPI_TRANS_MODE_DIO is not set
# CONFIG_LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO is not set
Expand All @@ -2360,30 +2362,29 @@ CONFIG_LV_TFT_SPI_CLK_DIVIDER_2=y
# CONFIG_LV_TFT_SPI_CLK_DIVIDER_48 is not set
# CONFIG_LV_TFT_SPI_CLK_DIVIDER_80 is not set
CONFIG_LV_TFT_CUSTOM_SPI_CLK_DIVIDER=2
# CONFIG_LV_INVERT_COLORS is not set
CONFIG_LV_INVERT_COLORS=y

#
# Display Pin Assignments
#
CONFIG_LV_DISP_SPI_MOSI=23
CONFIG_LV_DISP_SPI_MOSI=13
CONFIG_LV_DISPLAY_USE_SPI_MISO=y
CONFIG_LV_DISP_SPI_MISO=19
CONFIG_LV_DISP_SPI_MISO=12
CONFIG_LV_DISP_SPI_INPUT_DELAY_NS=0
CONFIG_LV_DISP_SPI_CLK=18
CONFIG_LV_DISP_SPI_CLK=14
CONFIG_LV_DISPLAY_USE_SPI_CS=y
CONFIG_LV_DISP_SPI_CS=17
CONFIG_LV_DISP_SPI_CS=15
CONFIG_LV_DISPLAY_USE_DC=y
CONFIG_LV_DISP_PIN_DC=16
CONFIG_LV_DISP_USE_RST=y
CONFIG_LV_DISP_PIN_RST=5
CONFIG_LV_DISP_PIN_DC=2
# CONFIG_LV_DISP_USE_RST is not set
CONFIG_LV_DISP_PIN_BUSY=35
# end of Display Pin Assignments

# CONFIG_LV_DISP_BACKLIGHT_OFF is not set
CONFIG_LV_DISP_BACKLIGHT_SWITCH=y
# CONFIG_LV_DISP_BACKLIGHT_PWM is not set
CONFIG_LV_BACKLIGHT_ACTIVE_LVL=y
CONFIG_LV_DISP_PIN_BCKL=32
CONFIG_LV_DISP_PIN_BCKL=21
CONFIG_LV_I2C_DISPLAY_PORT=0
# end of LVGL TFT Display controller

Expand All @@ -2400,17 +2401,17 @@ CONFIG_LV_TOUCH_CONTROLLER_XPT2046=y
# CONFIG_LV_TOUCH_CONTROLLER_RA8875 is not set
# CONFIG_LV_TOUCH_CONTROLLER_GT911 is not set
CONFIG_LV_TOUCH_DRIVER_PROTOCOL_SPI=y
CONFIG_LV_TOUCH_CONTROLLER_SPI2_HOST=y
# CONFIG_LV_TOUCH_CONTROLLER_SPI3_HOST is not set
# CONFIG_LV_TOUCH_CONTROLLER_SPI2_HOST is not set
CONFIG_LV_TOUCH_CONTROLLER_SPI3_HOST=y

#
# Touchpanel (XPT2046) Pin Assignments
#
CONFIG_LV_TOUCH_SPI_MISO=19
CONFIG_LV_TOUCH_SPI_MOSI=23
CONFIG_LV_TOUCH_SPI_CLK=18
CONFIG_LV_TOUCH_SPI_CS=5
CONFIG_LV_TOUCH_PIN_IRQ=25
CONFIG_LV_TOUCH_SPI_MISO=39
CONFIG_LV_TOUCH_SPI_MOSI=32
CONFIG_LV_TOUCH_SPI_CLK=25
CONFIG_LV_TOUCH_SPI_CS=33
CONFIG_LV_TOUCH_PIN_IRQ=36
# end of Touchpanel (XPT2046) Pin Assignments

#
Expand All @@ -2423,9 +2424,10 @@ CONFIG_LV_TOUCH_Y_MAX=1900
CONFIG_LV_TOUCH_XY_SWAP=y
CONFIG_LV_TOUCH_INVERT_X=y
# CONFIG_LV_TOUCH_INVERT_Y is not set
# CONFIG_USE_BIT_BANG_TOUCH is not set
# CONFIG_LV_TOUCH_DETECT_IRQ is not set
# CONFIG_LV_TOUCH_DETECT_IRQ_PRESSURE is not set
CONFIG_LV_TOUCH_DETECT_PRESSURE=y
CONFIG_LV_TOUCH_DETECT_IRQ_PRESSURE=y
# CONFIG_LV_TOUCH_DETECT_PRESSURE is not set
# end of Touchpanel Configuration (XPT2046)

CONFIG_LV_I2C_TOUCH_PORT=0
Expand Down

0 comments on commit 9ee79d0

Please sign in to comment.