summaryrefslogtreecommitdiff
path: root/components/finsh/shell.c
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-05-29 23:37:43 +0800
committerGrissiom <[email protected]>2013-05-29 23:37:43 +0800
commit27ee5b627b59aaf2fcf08267c368998bc15971c6 (patch)
tree5596ab60499c1fc08facfee20f51531e1993b1df /components/finsh/shell.c
parent810311b624534fcc7b8becddd2125a36a89fe926 (diff)
finsh: add CCS support
Diffstat (limited to 'components/finsh/shell.c')
-rw-r--r--components/finsh/shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c
index de6132c1ab..08dfc2b21a 100644
--- a/components/finsh/shell.c
+++ b/components/finsh/shell.c
@@ -528,7 +528,8 @@ void finsh_system_init(void)
__section_end("FSymTab"));
finsh_system_var_init(__section_begin("VSymTab"),
__section_end("VSymTab"));
-#elif defined (__GNUC__) /* GNU GCC Compiler */
+#elif defined (__GNUC__) || defined(__TI_COMPILER_VERSION__)
+ /* GNU GCC Compiler and TI CCS */
extern const int __fsymtab_start;
extern const int __fsymtab_end;
extern const int __vsymtab_start;