Implemented 'hw status' and 'hw ping', put back client-side cacheing of 'hw version'

This commit is contained in:
Martin Holst Swende 2015-07-21 23:18:51 +02:00
commit e2012d1bd3
11 changed files with 96 additions and 19 deletions

View file

@ -88,6 +88,16 @@ void BigBuf_free_keep_EM(void)
}
}
void BigBuf_print_status(void)
{
Dbprintf("Memory");
Dbprintf(" BIGBUF_SIZE.............%d", BIGBUF_SIZE);
Dbprintf(" BigBuf_hi .............%d", BigBuf_hi);
Dbprintf("Tracing");
Dbprintf(" tracing ................%d", tracing);
Dbprintf(" traceLen ...............%d", traceLen);
}
// return the maximum trace length (i.e. the unallocated size of BigBuf)
uint16_t BigBuf_max_traceLen(void)