diff --git a/components/drivers/i2c/SConscript b/components/drivers/i2c/SConscript index 7a1d5dfe01b522b704a064552703e54f18fae812..0607250da4f22c4084f2528c221d382af541cefb 100644 --- a/components/drivers/i2c/SConscript +++ b/components/drivers/i2c/SConscript @@ -11,7 +11,7 @@ if GetDepend('RT_USING_I2C_BITOPS'): src = src + ['i2c-bit-ops.c'] # The set of source files associated with this SConscript file. -path = [cwd] +path = [cwd + '/../include'] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_I2C'], CPPPATH = path)