Skip to content

Commit

Permalink
[touch][cst816x]add: driver of cst816x (#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
Z8MAN8 authored May 24, 2023
1 parent 49d0158 commit 8d41627
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
27 changes: 27 additions & 0 deletions peripherals/touch/cst816x/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Kconfig file for package cst816x
menuconfig PKG_USING_CST816X
bool "Please add description of cst816x in English."
default n

if PKG_USING_CST816X

config PKG_CST816X_PATH
string
default "/packages/peripherals/cst816x"

choice
prompt "Version"
help
Select the package version

config PKG_USING_CST816X_LATEST_VERSION
bool "latest"
endchoice

config PKG_CST816X_VER
string
default "latest" if PKG_USING_CST816X_LATEST_VERSION

endif

29 changes: 29 additions & 0 deletions peripherals/touch/cst816x/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "cst816x",
"description": "cst816x drivers for RT-Thread",
"description_zh": "cst816x 触摸芯片的驱动包。",
"enable": "PKG_USING_CST816X",
"keywords": [
"cst816x",
"touch"
],
"category": "peripherals",
"author": {
"name": "Z8MAN8",
"email": "1468559561@qq.com",
"github": "Z8MAN8"
},
"license": "Apache-2.0",
"repository": "https://github.com/Z8MAN8/cst816x",
"icon": "unknown",
"homepage": "https://github.com/Z8MAN8/cst816x#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/Z8MAN8/cst816x.git",
"filename": "",
"VER_SHA": "master"
}
]
}

0 comments on commit 8d41627

Please sign in to comment.