SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Functions | Variables
main.c File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <types.h>
#include <log.h>
#include <common.h>
#include <cli.h>
#include <cli_shell.h>
#include <cli_termesc.h>
Include dependency graph for main.c:

Functions

 msh_declare_command (helloworld)
 
 msh_define_help (helloworld, "display helloworld", "Usage: helloworld\n")
 
int cmd_helloworld (int argc, const char **argv)
 
int main (void)
 

Variables

sunxi_serial_t uart_dbg
 
const msh_command_entry commands []
 

Function Documentation

◆ cmd_helloworld()

int cmd_helloworld ( int  argc,
const char **  argv 
)

◆ main()

int main ( void  )

◆ msh_declare_command()

msh_declare_command ( helloworld  )

◆ msh_define_help()

msh_define_help ( helloworld  ,
"display helloworld"  ,
"Usage: helloworld\n"   
)

Variable Documentation

◆ commands

const msh_command_entry commands[]
Initial value:
= {
msh_define_command(helloworld),
}
#define msh_command_end
Definition cli.h:21
#define msh_define_command(name)
Definition cli.h:33

◆ uart_dbg

sunxi_serial_t uart_dbg
extern