int lua_init(void)
Registers ‘lua’ command with shell. This function should be called while initializing the project, preferably after shell itself has been initialized.
N/A
Returns
Calling this is meaningful only if you include the shell package in your project.
int main(int argc, char **argv) { ... shell_task_init(SHELL_TASK_PRIO, shell_stack, SHELL_TASK_STACK_SIZE, SHELL_MAX_INPUT_LEN); ... lua_init(); ... }