Serial Wire Output (SWO) viewer for tracing purposes. Tested on F401 and ST-LINK Utility as well as for F103 and Segger J-Link SWO viewer.
Dependents: WiFi_Scanner mbed_nucleo_swo DISCO-F429ZI_LCDTS_demo_richard TEST_SM_SPEED
Diff: SWO.h
- Revision:
- 0:0fd55660fc26
- Child:
- 1:bae4cff278f6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SWO.h Fri Mar 28 19:32:13 2014 +0000 @@ -0,0 +1,18 @@ +/*---------------------------------------------------------------------- +File : SWO.h +Purpose : Simple implementation for output via SWO for Cortex-M processors. + It can be used with any IDE. This sample implementation ensures that + output via SWO is enabled in order to guarantee that the application + does not hang. + +*/ +#ifndef _SWO_H +#define _SWO_H + +/** Prototypes +*/ +void SWO_PrintChar (char c); +void SWO_PrintString(const char *s); + + +#endif \ No newline at end of file