We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ex: finsh />help RT-Thread shell commands: js_main - JavaScript Interpreter load file js - JavaScript Interpreter CLI ... finsh />js js_main
my code: void js(void) { rt_kprintf("js\n"); } MSH_CMD_EXPORT(js, JavaScript Interpreter CLI)
int js_main(int argc, char** argv) { rt_kprintf("js_main\n"); } MSH_CMD_EXPORT(js_main, JavaScript Interpreter load file)
this example,on MSH call js,but always call js_main.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ex:
finsh />help
RT-Thread shell commands:
js_main - JavaScript Interpreter load file
js - JavaScript Interpreter CLI
...
finsh />js
js_main
my code:
void js(void)
{
rt_kprintf("js\n");
}
MSH_CMD_EXPORT(js, JavaScript Interpreter CLI)
int
js_main(int argc, char** argv)
{
rt_kprintf("js_main\n");
}
MSH_CMD_EXPORT(js_main, JavaScript Interpreter load file)
this example,on MSH call js,but always call js_main.
The text was updated successfully, but these errors were encountered: