I have a Cortex-M7 microcontroller (STM32H7), which does not have a filesystem.
For tracing the ETB data with cs_get_trace_data, a cs_device_t object is needed, which needs to be registered on a board object.
A board object contains the board name in hardware, which needs "to be matched to a read from /proc/cpuinfo ".
struct board {
[..]
const char *hardware; /**< Name of the hardware - to be matched to a read from `/proc/cpuinfo` */
}
How can I initialize the board and cs_device_t without a filesystem