struct hl_interface_param_s {
/** */
- char *device_desc;
+ const char *device_desc;
/** */
- char *serial;
+ const char *serial;
/** */
uint16_t vid;
/** */
/** */
enum hl_transports transport;
/** */
- int max_buffer;
- /** */
bool connect_under_reset;
+ /** Output file for trace data (if any) */
+ FILE *trace_f;
+ /** Trace module source clock rate */
+ uint32_t trace_source_hz;
};
struct hl_interface_s {
/** */
const struct hl_layout *layout;
/** */
- void *fd;
+ void *handle;
};
/** */
int hl_interface_init_target(struct target *t);
int hl_interface_init_reset(void);
+int hl_interface_override_target(const char **targetname);
#endif /* _HL_INTERFACE */