From 56614a4cb94018a9dee257be4dfd9b69fd18cc46 Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Tue, 26 Nov 2024 13:32:30 +0800 Subject: [DM/FEATURE] Support regulator 1. Add the regulator driver framework. 2. Add the generic voltage and current regulator API support for drivers. Signed-off-by: GuEe-GUI <2991707448@qq.com> --- components/drivers/regulator/SConscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 components/drivers/regulator/SConscript (limited to 'components/drivers/regulator/SConscript') diff --git a/components/drivers/regulator/SConscript b/components/drivers/regulator/SConscript new file mode 100755 index 0000000000..b5ae8e9fdc --- /dev/null +++ b/components/drivers/regulator/SConscript @@ -0,0 +1,15 @@ +from building import * + +group = [] + +if not GetDepend(['RT_USING_REGULATOR']): + Return('group') + +cwd = GetCurrentDir() +CPPPATH = [cwd + '/../include'] + +src = ['regulator.c', 'regulator_dm.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') -- cgit v1.3.1