diff options
author | Leo C | 2015-04-22 21:59:58 +0200 |
---|---|---|
committer | Leo C | 2015-04-22 21:59:58 +0200 |
commit | 5480dc651411edc6fdeca04ce38749a6d04245a5 (patch) | |
tree | 1cb714f4422424b20b83537e3ffbcdfb07578745 /avr/command_tbl.c | |
parent | ae017d4ce71be2ca45891ff6709f74f4fc963644 (diff) | |
download | z180-stamp-5480dc651411edc6fdeca04ce38749a6d04245a5.zip |
New memory test commands, loadi updates. Needs testing
- rename loop to mloop
- + mloopw
- + mtest
- + mdc
- + mwc
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r-- | avr/command_tbl.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 2163526..6c1c10d 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -212,23 +212,21 @@ CMD_TBL_ITEM( " - set address offset for memory commands to 'offset'" ), CMD_TBL_ITEM( - loop, 3, 1, do_mem_loop, + mloop, 3, 1, do_mem_loop, "infinite loop on address range", "address number_of_bytes" ), -#ifdef CONFIG_LOOPW CMD_TBL_ITEM( - loopw, 4, 1, do_mem_loopw, + mloopw, 4, 1, do_mem_loopw, "infinite write loop on address range", "address number_of_bytes data_to_write" ), -#endif /* CONFIG_LOOPW */ #ifdef CONFIG_CMD_MEMTEST CMD_TBL_ITEM( - mtest, 5, 1, do_mem_mtest, + mtest, 4, 1, do_mem_mtest, "simple RAM read/write test", - "[start [end [pattern [iterations]]]]" + "[start [end [iterations]]]" ), #endif /* CONFIG_CMD_MEMTEST */ @@ -239,7 +237,7 @@ CMD_TBL_ITEM( "address count delay(ms)" ), CMD_TBL_ITEM( - mwc, 4, 1, do_mem_mwc, + mwc, 4, 1, do_mem_mdc, "memory write cyclic", "address value delay(ms)" ), |