Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[touch][cst816x]add: driver of cst816x #1616

Merged
merged 2 commits into from
May 24, 2023
Merged
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
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"
}
]
}