diff options
| author | zms123456 <[email protected]> | 2024-04-07 21:57:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-07 09:57:38 -0400 |
| commit | 4ffcbfef2a05ac7f7962f8a7d718ea4c2a9b2a99 (patch) | |
| tree | dbad864661cc50da8fd799bda490d23fdec65a81 /components/drivers/i2c/SConscript | |
| parent | 9c938e51a68a87a0be5fce014b4718f22db90803 (diff) | |
[components][drivers]add ofw support i2c
Diffstat (limited to 'components/drivers/i2c/SConscript')
| -rw-r--r-- | components/drivers/i2c/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/drivers/i2c/SConscript b/components/drivers/i2c/SConscript index aef9f5be9b..3685e44e2d 100644 --- a/components/drivers/i2c/SConscript +++ b/components/drivers/i2c/SConscript @@ -11,6 +11,8 @@ if GetDepend('RT_USING_I2C_BITOPS'): src = src + ['i2c-bit-ops.c'] if GetDepend('RT_USING_SOFT_I2C'): src = src + ['soft_i2c.c'] +if GetDepend(['RT_USING_DM']): + src += ['i2c_bus.c', 'i2c_dm.c'] # The set of source files associated with this SConscript file. path = [cwd + '/../include'] |
