how to use the MFS shell function directly?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to use the MFS shell function directly?

882件の閲覧回数
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 返信

755件の閲覧回数
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 件の賞賛
返信