//extern command_ret_t do_fat_read(cmd_tbl_t *, int, int, char * const []);
//extern command_ret_t do_fat_write(cmd_tbl_t *, int, int, char * const []);
extern command_ret_t do_fat_rw(cmd_tbl_t *, int, int, char * const []);
-extern command_ret_t do_testarg(cmd_tbl_t *, int, int, char * const []);
#ifdef CONFIG_SYS_LONGHELP
const FLASH char sd_help_text[] =
),
#ifdef DEBUG
-CMD_TBL_ITEM(
- test, CONFIG_SYS_MAXARGS, 1, do_testarg,
- "print arguments",
- ""
-),
-CMD_TBL_ITEM(
- tst1, CONFIG_SYS_MAXARGS, 1, do_testarg,
- "print arguments",
- ""
-),
-CMD_TBL_ITEM(
- tst2, CONFIG_SYS_MAXARGS, 1, do_testarg,
- "print arguments",
- ""
-),
CMD_TBL_ITEM(
!mdr, 3, 1, do_dump_mem,
/*------------------------------------------------------------------------------*/
-command_ret_t do_testarg(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
-{
- my_puts_P(cmdtp->name);
- printf_P(PSTR("\n%s\n"), argv[0]);
-
- return CMD_RET_SUCCESS;
-}
-
-/*------------------------------------------------------------------------------*/
-
-
#if 1
struct __freelist {