From 7d3a7a399d69df64090f8977bce4859abcc138f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A4=9A=E4=BB=95=E6=88=90?= <1468559561@qq.com> Date: Mon, 31 Oct 2022 16:30:33 +0800 Subject: [PATCH] =?UTF-8?q?[arduino][seeed]=20=E6=B7=BB=E5=8A=A0paj7620?= =?UTF-8?q?=E9=A9=B1=E5=8A=A8=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arduino/sensors/Kconfig | 1 + arduino/sensors/Seeed-PAJ7620/Kconfig | 30 ++++++++++++++++++++ arduino/sensors/Seeed-PAJ7620/package.json | 33 ++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 arduino/sensors/Seeed-PAJ7620/Kconfig create mode 100644 arduino/sensors/Seeed-PAJ7620/package.json diff --git a/arduino/sensors/Kconfig b/arduino/sensors/Kconfig index db56cbb07c..35a8ca1284 100644 --- a/arduino/sensors/Kconfig +++ b/arduino/sensors/Kconfig @@ -107,5 +107,6 @@ source "$PKGS_DIR/packages/arduino/sensors/Seeed-BME280/Kconfig" source "$PKGS_DIR/packages/arduino/sensors/Seeed-BMP280/Kconfig" source "$PKGS_DIR/packages/arduino/sensors/Seeed-H3LIS331DL/Kconfig" source "$PKGS_DIR/packages/arduino/sensors/Seeed-MMA7660/Kconfig" +source "$PKGS_DIR/packages/arduino/sensors/Seeed-PAJ7620/Kconfig" endmenu diff --git a/arduino/sensors/Seeed-PAJ7620/Kconfig b/arduino/sensors/Seeed-PAJ7620/Kconfig new file mode 100644 index 0000000000..0df91e05bd --- /dev/null +++ b/arduino/sensors/Seeed-PAJ7620/Kconfig @@ -0,0 +1,30 @@ + +# Kconfig file for package Seeed-PAJ7620 +menuconfig PKG_USING_ARDUINO_SEEED_PAJ7620 + bool "Seeed PAJ7620: gesture recognition function sensor" + select PKG_USING_RTDUINO + select RTDUINO_USING_WIRE + default n + +if PKG_USING_ARDUINO_SEEED_PAJ7620 + + config PKG_ARDUINO_SEEED_PAJ7620_PATH + string + default "/packages/arduino/sensors/Seeed-PAJ7620" + + choice + prompt "Version" + default PKG_USING_ARDUINO_SEEED_PAJ7620_LATEST_VERSION + help + Select the package version + + config PKG_USING_ARDUINO_SEEED_PAJ7620_LATEST_VERSION + bool "latest" + endchoice + + config PKG_ARDUINO_SEEED_PAJ7620_VER + string + default "latest" if PKG_USING_ARDUINO_SEEED_PAJ7620_LATEST_VERSION + +endif + diff --git a/arduino/sensors/Seeed-PAJ7620/package.json b/arduino/sensors/Seeed-PAJ7620/package.json new file mode 100644 index 0000000000..dbd93f34ae --- /dev/null +++ b/arduino/sensors/Seeed-PAJ7620/package.json @@ -0,0 +1,33 @@ +{ + "name": "Seeed-PAJ7620", + "description": "Seeed PAJ7620 gesture recognition function sensor", + "description_zh": "Seeed PAJ7620 手势识别传感器驱动", + "enable": "PKG_USING_ARDUINO_SEEED_PAJ7620", + "keywords": [ + "Seeed-PAJ7620", + "Sensors", + "Seeed", + "Arduino", + "PAJ7620", + "gesture" + ], + "category": "arduino/sensors", + "author": { + "name": "Seeed-Studio", + "email": "techsupport@seeed.cc", + "github": "Seeed-Studio" + }, + "license": "MIT", + "repository": "https://github.com/Seeed-Studio/Gesture_PAJ7620", + "icon": "unknown", + "homepage": "https://github.com/Seeed-Studio/Gesture_PAJ7620#readme", + "doc": "unknown", + "site": [ + { + "version": "latest", + "URL": "https://github.com/Seeed-Studio/Gesture_PAJ7620.git", + "filename": "", + "VER_SHA": "master" + } + ] +}