From 340a013f53be4c9081ab2079b3734f79447fc766 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 2 Sep 2015 11:24:41 +0800 Subject: [PATCH] [finsh] export system symbol --- components/finsh/msh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/finsh/msh.c b/components/finsh/msh.c index 02cbeea19..6d747b40d 100644 --- a/components/finsh/msh.c +++ b/components/finsh/msh.c @@ -253,6 +253,7 @@ int system(const char *command) { return msh_exec_module(command, rt_strlen(command)); } +RTM_EXPORT(system); #endif static int _msh_exec_cmd(char* cmd, rt_size_t length, int *retp) -- GitLab