diff options
| author | sp-cai <[email protected]> | 2023-10-17 23:24:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-17 11:24:32 -0400 |
| commit | 7f6f086601a5e3f964dc6d3bf958d1eb250b7d0e (patch) | |
| tree | 41242510b540085149a1e048c26292d0b4b19e5a /components/drivers/i2c/SConscript | |
| parent | 33fe6b320d645d48b912dd73981f9668dbec49b2 (diff) | |
[components][i2c]增加通用的软件模拟 I2C (#7850)
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 5e85a645a7..aef9f5be9b 100644 --- a/components/drivers/i2c/SConscript +++ b/components/drivers/i2c/SConscript @@ -9,6 +9,8 @@ i2c_dev.c if GetDepend('RT_USING_I2C_BITOPS'): src = src + ['i2c-bit-ops.c'] +if GetDepend('RT_USING_SOFT_I2C'): + src = src + ['soft_i2c.c'] # The set of source files associated with this SConscript file. path = [cwd + '/../include'] |
