diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript index f9fc82a77..1047b8839 100644 --- a/components/drivers/spi/SConscript +++ b/components/drivers/spi/SConscript @@ -2,7 +2,7 @@ from building import * cwd = GetCurrentDir() src = ['spi_core.c', 'spi_dev.c'] -CPPPATH = [cwd + '/../include'] +CPPPATH = [cwd, cwd + '/../include'] src_device = []