changeset 515:455c394c014d

target-utils/helloapp: added basic set of commands
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 29 May 2019 05:05:25 +0000
parents 5f66dd6e676b
children 8bdbae4c0e53
files target-utils/helloapp/cmdtab.c
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/helloapp/cmdtab.c	Tue May 28 18:12:47 2019 +0000
+++ b/target-utils/helloapp/cmdtab.c	Wed May 29 05:05:25 2019 +0000
@@ -1,5 +1,8 @@
 #include "cmdtab.h"
 
+extern void cmd_abbr();
+extern void cmd_abbw();
+extern void cmd_jump();
 extern void cmd_r8();
 extern void cmd_r16();
 extern void cmd_r32();
@@ -7,7 +10,20 @@
 extern void cmd_w16();
 extern void cmd_w32();
 
+extern void cmd_memdump_human();
+
+extern void abb_init();
+extern void abb_power_off();
+extern void abb_unlock_page2();
+
 const struct cmdtab cmdtab[] = {
+	{"abbinit", abb_init},
+	{"abbpage2", abb_unlock_page2},
+	{"abbr", cmd_abbr},
+	{"abbw", cmd_abbw},
+	{"dump", cmd_memdump_human},
+	{"jump", cmd_jump},
+	{"poweroff", abb_power_off},
 	{"r8", cmd_r8},
 	{"r16", cmd_r16},
 	{"r32", cmd_r32},