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

SWO.h

Committer:
wim
Date:
2014-03-28
Revision:
0:0fd55660fc26
Child:
1:bae4cff278f6

File content as of revision 0:0fd55660fc26:

/*----------------------------------------------------------------------
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