add get touch coordinate function to xidatong-riscv64.

This commit is contained in:
TXuian
2022-07-15 01:08:18 -07:00
11 changed files with 864 additions and 217 deletions
@@ -21,6 +21,15 @@ if BSP_USING_I2C
source "$BSP_DIR/third_party_driver/i2c/Kconfig"
endif
menuconfig BSP_USING_TOUCH
bool "Using TOUCH device"
default n
select RESOURCES_TOUCH
select BSP_USING_I2C
if BSP_USING_TOUCH
source "$BSP_DIR/third_party_driver/touch/Kconfig"
endif
menuconfig BSP_USING_PLIC
bool "Using PLIC device"
default y