xref: /nrf52832-nimble/rt-thread/components/drivers/i2c/SConscript (revision 042d53a763ad75cb1465103098bb88c245d95138)
1Import('RTT_ROOT')
2from building import *
3
4cwd = GetCurrentDir()
5src = Split("""
6i2c_core.c
7i2c_dev.c
8""")
9
10if GetDepend('RT_USING_I2C_BITOPS'):
11    src = src + ['i2c-bit-ops.c']
12
13# The set of source files associated with this SConscript file.
14path = [cwd + '/../include']
15
16group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_I2C'], CPPPATH = path)
17
18Return('group')
19