diff options
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r-- | avr/command_tbl.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 31566b4..69f6273 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -13,25 +13,37 @@ extern int do_env_save(cmd_tbl_t *, int, int, char * const []); extern int do_loadf(cmd_tbl_t *, int, int, char * const []); extern int do_go(cmd_tbl_t *, int, int, char * const []); extern int do_restart(cmd_tbl_t *, int, int, char * const []); -extern int do_dump_eep(cmd_tbl_t *, int, int, char * const []); +extern int do_dump_mem(cmd_tbl_t *, int, int, char * const []); extern int do_eep_cp(cmd_tbl_t *, int, int, char * const []); +extern int do_busreq_pulse(cmd_tbl_t *, int, int, char * const []); cmd_tbl_t cmd_tbl[] = { #ifdef DEBUG CMD_TBL_ITEM( - !emd, 3, 0, do_dump_eep, + !mdr, 3, 1, do_dump_mem, + "RAM dump", + "address [count]" +), +CMD_TBL_ITEM( + !mde, 3, 1, do_dump_mem, "EEPROM dump", "address [count]" ), CMD_TBL_ITEM( - !ecp, 4, 1, do_eep_cp, + !cpe, 4, 0, do_eep_cp, "EEPROM copy", "source target count" ), #endif CMD_TBL_ITEM( + mstep, 2, 1, do_busreq_pulse, + "execute one M cycle", + "[count]\n" + " - repeat count times" +), +CMD_TBL_ITEM( echo, CONFIG_SYS_MAXARGS, 1, do_echo, "echo args to console", "[args..]\n" |