how to use the MFS shell function directly?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to use the MFS shell function directly?

896 次查看
botaoyang
Contributor II

I want to creat a file in a forld in sd card, I think if i can use the shell function( int32_t  Shell_create(int32_t argc, char *argv[] )), that will be very convient for me , but I don't know  how to use these functions.

标签 (1)
0 项奖励
回复
1 回复

769 次查看
DavidS
NXP Employee
NXP Employee

Hi Botao,

It has been long time since I have tried this but here is a code snippet that hopefully helps you.

char_ptr   ARGV[4];

char       CMD_LINE[40]="copy d:\\SPIWeb.shtml c:\\SPIWeb.shtml";

Shell_parse_command_line(CMD_LINE, ARGV);

Shell_copy(3, ARGV);

Regards,

David

0 项奖励
回复