summaryrefslogtreecommitdiff
path: root/avr/command_tbl.c
diff options
context:
space:
mode:
authorLeo C2018-04-08 21:19:47 +0200
committerLeo C2018-07-21 13:46:13 +0200
commitb9aef06edc26e3d7560a7ab2d83fe033349ef874 (patch)
treedde10977f9347084b4049d8049ee0227d2f637f9 /avr/command_tbl.c
parent2dec14cd1dbf09755b0839859da1a942944a8376 (diff)
downloadz180-stamp-b9aef06edc26e3d7560a7ab2d83fe033349ef874.zip
New debug command: dump heap
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r--avr/command_tbl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c
index 07c9684..eb63d68 100644
--- a/avr/command_tbl.c
+++ b/avr/command_tbl.c
@@ -64,9 +64,14 @@ CMD_TBL_ITEM(
"address"
),
CMD_TBL_ITEM(
- !prfree, 2, 1, do_pr_free_avr,
+ !prfree, 1, 1, do_pr_free_avr,
"print avr heap free list",
- "address"
+ ""
+),
+CMD_TBL_ITEM(
+ !prheap, 1, 1, do_pr_heap_avr,
+ "dump avr heap",
+ ""
),
#endif
CMD_TBL_ITEM(