/** * Driver for the ARM Instrumentation Trace Macrocell (ITM) * Used as a non-intrusive printf using serial-wire-out on SWD * * Port 0 must be enabled in openocd with: * * itm port 0 on * * tpiu config internal uart off */ #ifndef INCLUDE_DI_FW_ITM_H_ #define INCLUDE_DI_FW_ITM_H_ struct di_log_msg; /** * Log writer for DI_LOG using ITM port 0 */ void di_fw_itm_log_writer(const struct di_log_msg *msg, void *private_data); #endif /* INCLUDE_DI_FW_ITM_H_ */