mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 20:57:20 +08:00
[DM/FEATURE] Support MFD syscon
MFD (Multifunction device) with System Controller Register Read/Write. Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
from building import *
|
||||
|
||||
group = []
|
||||
|
||||
if not GetDepend(['RT_USING_MFD']):
|
||||
Return('group')
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
CPPPATH = [cwd + '/../include']
|
||||
src = []
|
||||
|
||||
if GetDepend(['RT_MFD_SYSCON']):
|
||||
src += ['mfd-syscon.c']
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user