diff options
| author | Bernard Xiong <[email protected]> | 2018-06-11 10:39:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-06-11 10:39:53 +0800 |
| commit | dd88c6aa20a1663f0cf559a1f38b337ea35f0567 (patch) | |
| tree | b1af2f7677bb1dc2aafe934409f364ac89c6b6c5 /bsp/ck802/libraries/SConscript | |
| parent | e1a57f053a4b77cabaf988779c107c54c7995e77 (diff) | |
| parent | b085393cde20f073121446543b79fe2da949740c (diff) | |
Merge pull request #1515 from TanekLiang/ch802-fpga
[bsp] add ck802 bsp support
Diffstat (limited to 'bsp/ck802/libraries/SConscript')
| -rw-r--r-- | bsp/ck802/libraries/SConscript | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/bsp/ck802/libraries/SConscript b/bsp/ck802/libraries/SConscript new file mode 100644 index 0000000000..862d3c70c3 --- /dev/null +++ b/bsp/ck802/libraries/SConscript @@ -0,0 +1,48 @@ +import rtconfig +Import('RTT_ROOT') +from building import * + +# get current directory +cwd = GetCurrentDir() + +# The set of source files associated with this SConscript file. +src = Split(""" +startup_gcc.S +common/aes/ck_aes.c +common/crc/ck_crc.c +common/dmac/ck_dmac.c +common/eflash/ck_eflash.c +common/pwm/ck_pwm.c +common/rsa/ck_rsa.c +common/sha/ck_sha.c +common/trng/ck_trng.c +common/timer/dw_timer.c +common/gpio/dw_gpio.c +common/spi/dw_spi.c +common/iic/dw_iic.c +common/usart/dw_usart.c +common/wdt/dw_wdt.c +""") + +path = [cwd + '/include', + cwd + '/common/aes', + cwd + '/common/aes', + cwd + '/common/crc', + cwd + '/common/dmac', + cwd + '/common/eflash', + cwd + '/common/gpio', + cwd + '/common/iic', + cwd + '/common/pwm', + cwd + '/common/rsa', + cwd + '/common/rtc', + cwd + '/common/sha', + cwd + '/common/spi', + cwd + '/common/timer', + cwd + '/common/trng', + cwd + '/common/usart', + cwd + '/common/wdt' +] + +group = DefineGroup('libraries', src, depend = [''], CPPPATH = path) + +Return('group') |
