diff --git a/peripherals/ADS1146/Kconfig b/peripherals/ADS1146/Kconfig new file mode 100644 index 0000000000..ad785b8187 --- /dev/null +++ b/peripherals/ADS1146/Kconfig @@ -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 + diff --git a/peripherals/ADS1146/package.json b/peripherals/ADS1146/package.json new file mode 100644 index 0000000000..6319be0391 --- /dev/null +++ b/peripherals/ADS1146/package.json @@ -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" + } + ] +}