Skip to content
Open
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
31 changes: 31 additions & 0 deletions peripherals/ADS1146/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

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

if PKG_USING_ADS1146

config PKG_ADS1146_PATH
string
default "/packages/peripherals/ADS1146"

choice
prompt "Version"
help
Select the package version

config PKG_USING_ADS1146_V25924
bool "v25.9.24"

config PKG_USING_ADS1146_LATEST_VERSION
bool "latest"
endchoice

config PKG_ADS1146_VER
string
default "v25.9.24" if PKG_USING_ADS1146_V25924
default "latest" if PKG_USING_ADS1146_LATEST_VERSION

endif

33 changes: 33 additions & 0 deletions peripherals/ADS1146/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "ADS1146",
"description": "Please add description of ADS1146 in English.",
"description_zh": "����һ������ADS1146�������ļ�",
"enable": "PKG_USING_ADS1146",
"keywords": [
"ADS1146"
],
"category": "peripherals",
"author": {
"name": "232398825",
"email": "hekang200112@163.com",
"github": "232398825"
},
"license": "MIT",
"repository": "https://github.com/Pai-schoolmate/RTthread_package/tree/main/ADS1146",
"icon": "unknown",
"homepage": "https://github.com/Pai-schoolmate/RTthread_package/tree/main/ADS1146#readme",
"doc": "unknown",
"site": [
{
"version": "v25.9.24",
"URL": "https://ADS1146-25.9.24.zip",
"filename": "ADS1146-25.9.24.zip"
},
{
"version": "latest",
"URL": "https://github.com/Pai-schoolmate/RTthread_package/tree/main/ADS1146.git",
"filename": "",
"VER_SHA": "master"
}
]
}