OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [boot-loader-ethmac/] [serial.h] - Diff between revs 78 and 81

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 78 Rev 81
Line 39... Line 39...
// Public License along with this source; if not, download it   //
// Public License along with this source; if not, download it   //
// from http://www.opencores.org/lgpl.shtml                     //
// from http://www.opencores.org/lgpl.shtml                     //
//                                                              //
//                                                              //
----------------------------------------------------------------*/
----------------------------------------------------------------*/
 
 
 
//#define DEBUG 1
 
 
 
#ifdef DEBUG
 
    #define trace(fmt, ...) print_serial("%s:%s:%d: "fmt"\n\r", __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__)
 
#else
 
    #define trace(fmt, ...)
 
#endif
 
 
 
 
/* Function prototypes */
/* Function prototypes */
void init_serial();
void init_serial();
void print_serial(const char *fmt, ...);
void print_serial(const char *fmt, ...);
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.