]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/command_tbl.c
Set __malloc_margin, Print free heap command
[z180-stamp.git] / avr / command_tbl.c
index 95b6a5919084f004822e10fe68230c7c4abab20a..ce991343c0ffd9a73643ff62064d74e3ce48b67e 100644 (file)
@@ -37,6 +37,7 @@ extern command_ret_t do_fat(cmd_tbl_t *, int, int, char * const []);
 extern command_ret_t do_run(cmd_tbl_t *, int, int, char * const []);
 extern command_ret_t do_source(cmd_tbl_t *, int, int, char * const []);
 extern command_ret_t do_attach(cmd_tbl_t *, int, int, char * const []);
+extern command_ret_t do_pr_free_avr(cmd_tbl_t *, int, int, char * const []);
 
 #ifdef CONFIG_SYS_LONGHELP
 const FLASH char sd_help_text[] =
@@ -87,6 +88,11 @@ CMD_TBL_ITEM(
        "avr memory modify (constant address)",
        "address"
 ),
+CMD_TBL_ITEM(
+       !prfree,        2,      1,      do_pr_free_avr,
+       "print avr heap free list",
+       "address"
+),
 #endif
 CMD_TBL_ITEM(
        mstep,  2,      1,      do_busreq_pulse,