From 4480075a6226a41a35ac0f583b28e8b559b43485 Mon Sep 17 00:00:00 2001 From: hydevcode Date: Mon, 9 Sep 2024 21:10:50 +0800 Subject: [PATCH 1/2] [sensor_v1] mlx90392 pkg adapt sensor_v1 frame --- peripherals/sensors/mlx90392/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/peripherals/sensors/mlx90392/Kconfig b/peripherals/sensors/mlx90392/Kconfig index b2f9962922..94d23c69bc 100644 --- a/peripherals/sensors/mlx90392/Kconfig +++ b/peripherals/sensors/mlx90392/Kconfig @@ -10,6 +10,11 @@ if PKG_USING_MLX90392 string default "/packages/peripherals/sensors/mlx90392" + config PKG_MLX90392_USING_SENSOR_V1 + bool "Enable sensor_v1 device framework" + select RT_USING_SENSOR + default n + choice prompt "Version" default PKG_USING_MLX90392_LATEST_VERSION From 82c9fa26cfa0d00947007cc6ffeab0fd786fbbfc Mon Sep 17 00:00:00 2001 From: hydevcode Date: Thu, 12 Sep 2024 21:54:22 +0800 Subject: [PATCH 2/2] [sensor_v1] mlx90392 pkg adapt sensor_v1 frame modify --- peripherals/sensors/mlx90392/Kconfig | 4 ++++ peripherals/sensors/mlx90392/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/peripherals/sensors/mlx90392/Kconfig b/peripherals/sensors/mlx90392/Kconfig index 94d23c69bc..ed09bfcc8c 100644 --- a/peripherals/sensors/mlx90392/Kconfig +++ b/peripherals/sensors/mlx90392/Kconfig @@ -15,6 +15,10 @@ if PKG_USING_MLX90392 select RT_USING_SENSOR default n + config PKG_USING_MLX90392_SAMPLE + bool "Enable mlx90392 Sample" + default n + choice prompt "Version" default PKG_USING_MLX90392_LATEST_VERSION diff --git a/peripherals/sensors/mlx90392/package.json b/peripherals/sensors/mlx90392/package.json index 03b8d8360e..3d4452ffcf 100644 --- a/peripherals/sensors/mlx90392/package.json +++ b/peripherals/sensors/mlx90392/package.json @@ -22,7 +22,7 @@ "version": "latest", "URL": "https://github.com/lgnq/mlx90392.git", "filename": "mlx90392.zip", - "VER_SHA": "master" + "VER_SHA": "main" } ] }