Skip to content

Initializing a board without filesystem or a cs_device without board #19

@HokageM

Description

@HokageM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions