完善app启动时的参数传递

This commit is contained in:
zhangzheng
2024-02-04 22:24:56 +08:00
parent 931bb451b9
commit 0c7ed146c6
11 changed files with 182 additions and 42 deletions

View File

@@ -6,6 +6,10 @@
#include <shell_port.h>
int main(int argc, char *args[])
{
for (int i = 0; i < argc; i++)
{
printf("args[%d]:%s\n", i, args[i]);
}
userShellInit();
return 0;
}