diff options
| author | weety <[email protected]> | 2015-09-04 12:30:20 +0800 |
|---|---|---|
| committer | weety <[email protected]> | 2015-09-04 12:30:20 +0800 |
| commit | b71cb4c09da7037038bec47151333acc9fdfdf7b (patch) | |
| tree | 2c64bc54021d0a19007e9713375f39476c257496 /bsp/dm365/drivers/SConscript | |
| parent | cb51bdb245a4b8336533a01fdaaba017bf93b15a (diff) | |
Add dm365 porting.
Diffstat (limited to 'bsp/dm365/drivers/SConscript')
| -rw-r--r-- | bsp/dm365/drivers/SConscript | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/bsp/dm365/drivers/SConscript b/bsp/dm365/drivers/SConscript new file mode 100644 index 0000000000..19f4c5c77c --- /dev/null +++ b/bsp/dm365/drivers/SConscript @@ -0,0 +1,31 @@ +Import('RTT_ROOT') +from building import * + +cwd = GetCurrentDir() +#src_drv = [''] + +# The set of source files associated with this SConscript file. +path = [cwd] + +src = Split(""" +davinci_serial.c +""") + +if GetDepend('RT_USING_GPIO'): + src += ['gpio.c'] + +if GetDepend('RT_USING_I2C'): + src += ['i2c-davinci.c'] + +if GetDepend('RT_USING_SDIO'): + src += ['mmcsd.c'] + +if GetDepend('RT_USING_SPI'): + src += ['spi-davinci.c'] + +if GetDepend('RT_USING_LWIP'): + src += ['davinci_emac.c'] + +group = DefineGroup('Startup', src, depend = [''], CPPPATH = path) + +Return('group') |
