From 7d3d01ed56aa1938b3851101e17de5c27f25578f Mon Sep 17 00:00:00 2001 From: cxs <19511928573@163.com> Date: Sat, 5 Oct 2024 02:40:54 +0800 Subject: [PATCH] [sensor_v1] adapt tsl4531 --- peripherals/sensors/tsl4531/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/peripherals/sensors/tsl4531/Kconfig b/peripherals/sensors/tsl4531/Kconfig index da151bdc9f..aea59aa67d 100644 --- a/peripherals/sensors/tsl4531/Kconfig +++ b/peripherals/sensors/tsl4531/Kconfig @@ -6,6 +6,11 @@ menuconfig PKG_USING_TSL4531 if PKG_USING_TSL4531 + config PKG_TSL4531_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default y + config PKG_TSL4531_PATH string default "/packages/peripherals/sensors/tsl4531"