Make read_memory debug output use ccdbg_debug.
[fw/altos] / lib / ccdbg.h
index 4d4a648d41ccf61c8d6c0729bf43bb1d21ddf678..e0e58104049ba1826e45c0b2043310020adf6063 100644 (file)
@@ -160,6 +160,7 @@ struct hex_image {
 #define CC_DEBUG_INSTRUCTIONS  0x00000004
 #define CC_DEBUG_EXECUTE       0x00000008
 #define CC_DEBUG_FLASH         0x00000010
+#define CC_DEBUG_MEMORY                0x00000020
 
 /* ccdbg-command.c */
 void
@@ -223,6 +224,9 @@ ccdbg_add_debug(int level);
 void
 ccdbg_clear_debug(int level);
 
+void
+ccdbg_flush(void);
+
 /* ccdbg-flash.c */
 uint8_t
 ccdbg_flash_hex_image(struct ccdbg *dbg, struct hex_image *image);