diff options
author | Leo C | 2018-07-21 12:15:44 +0200 |
---|---|---|
committer | Leo C | 2018-07-21 12:15:44 +0200 |
commit | fb9b17a9518501c3de8eb6858e887b40328364c6 (patch) | |
tree | 1d5c153c8ff3ceba9d846d32805fd64508a888c9 /avr/command_tbl.c | |
parent | b5251896f0f5eab98408808848b6236d234b370e (diff) | |
download | z180-stamp-fb9b17a9518501c3de8eb6858e887b40328364c6.zip |
Set __malloc_margin, Print free heap command
# Conflicts:
# include/config.h
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r-- | avr/command_tbl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 7e7ccee..7f75397 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -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, |