main: add commands

master
S.J.R. van Schaik 7 years ago
parent 914b168727
commit 89605d6da0
  1. 6
      source/main.c

@ -13,9 +13,11 @@
#include <rtc.h>
#include <shell.h>
#include <shell/alarm.h>
#include <shell/boot.h>
#include <shell/buzzer.h>
#include <shell/echo.h>
#include <shell/led.h>
#include <shell/mufs.h>
#include <shell/rtc.h>
#include <shell/version.h>
@ -31,6 +33,8 @@ extern size_t nbuzzers;
struct cmd user_cmds[] = {
{ "hi", "", shell_version },
{ "buzzer", "", shell_buzzer },
{ "led", "", shell_led },
{ "reset", "", shell_alarm },
{ "cat", "", shell_cat },
{ "ls", "", shell_ls },
{ "date", "", shell_date },
@ -42,6 +46,8 @@ struct cmd user_cmds[] = {
struct cmd admin_cmds[] = {
{ "echo", "", shell_echo },
{ "buzzer", "", shell_buzzer },
{ "led", "", shell_led },
{ "reset", "", shell_alarm },
{ "flash", "", do_flash_cmd },
{ "ftl", "", do_ftl_cmd },
{ "mufs", "", do_mufs_cmd },

Loading…
Cancel
Save