]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/debug.h
fat cp: block buffer --> heap
[z180-stamp.git] / include / debug.h
index 0ee0129fa45dae5ebeeb14a71f2f7f43b7c0a881..b7b6deafb5497f58206aca825e9a2334dcc9f0ea 100644 (file)
 #ifndef DEBUG_H_
 #define DEBUG_H_
 
-#include "common.h"
+#include "command.h"
+
+command_ret_t do_dump_mem(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_mem_mm_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_mem_nm_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_eep_cp(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_pr_free_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_pr_heap_avr(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+
+void printfreelist(const char * title);
+size_t get_freemem(void);
+
 
 #ifdef DEBUG
 #define _DEBUG 1
@@ -43,8 +54,4 @@
 #endif
 #endif /* 0 */
 
-
-void printfreelist(const char * title);
-
-
 #endif /* DEBUG_H_ */