Some utilities functions.
The most notable ones are the utilities for memory profiling, grouped in the MemoryProfiling class.
const char * miosix::getMiosixVersion |
( |
| ) |
|
Allows to know the version of the kernel at runtime.
- Returns
- a string with the kernel version. The format is "Miosix vX.XX (board, builddate, compiler)" where vX.XX is the kernel version number, like "v2.0" board is the board name, like "stm32f103ze_stm3210e-eval" builddate is the date the kernel was built, like "Oct 30 2011 00:58:10" compiler is the compiler version, like "gcc 4.7.3"
void miosix::memDump |
( |
const void * |
start, |
|
|
int |
len |
|
) |
| |
Dump a memory area in this format 0x00000000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
- Parameters
-
start | pointer to beginning of memory block to dump |
len | length of memory block to dump |