diff options
| author | chenzx <[email protected]> | 2020-09-11 10:11:25 +0800 |
|---|---|---|
| committer | chenzx <[email protected]> | 2020-09-11 10:18:24 +0800 |
| commit | 60287b69fdff377ea9fdfd2f06b4ea3f6f34e32a (patch) | |
| tree | aee13ea5d32938c39ef669160d8be6e008fb75cc /bsp/thead-smart/applications | |
| parent | 5a6a7e391ea4ec01d9f33ca5302e71196261bcaf (diff) | |
add t-head smart-evb bsp, and risc-v cpu e906
Diffstat (limited to 'bsp/thead-smart/applications')
| -rw-r--r-- | bsp/thead-smart/applications/SConscript | 13 | ||||
| -rw-r--r-- | bsp/thead-smart/applications/main.c | 19 |
2 files changed, 32 insertions, 0 deletions
diff --git a/bsp/thead-smart/applications/SConscript b/bsp/thead-smart/applications/SConscript new file mode 100644 index 0000000000..b95023ca41 --- /dev/null +++ b/bsp/thead-smart/applications/SConscript @@ -0,0 +1,13 @@ +Import('RTT_ROOT') +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') +CPPPATH = GetCurrentDir() + +CCFLAGS = ' -c -ffunction-sections' + +group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CCFLAGS=CCFLAGS) + +Return('group') diff --git a/bsp/thead-smart/applications/main.c b/bsp/thead-smart/applications/main.c new file mode 100644 index 0000000000..61046f4a4b --- /dev/null +++ b/bsp/thead-smart/applications/main.c @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2017-2019 Alibaba Group Holding Limited + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2020-08-20 zx.chen first version + */ + +#include <rtthread.h> + +int main(void) +{ + + return 0; +} + +/*@}*/ |
