diff --git a/components/finsh/msh.c b/components/finsh/msh.c index 02cbeea196c1fdf4a71599eb6d17d009956eae8b..6d747b40db1f61a9d6b30e6e0b000796994671ca 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)