AnsweredAssumed Answered

Problem With BF506F EZ-KIT "Power On Self Test" Example

Question asked by Dano on Aug 21, 2011
Latest reply on Sep 27, 2011 by CraigG

I'm Using BF506F EZ-KIT LITE And Tried To Use The POST Example.

I've Connected The EZ-KIT Board To My Computer, And I'm Running The HYPERTERMINAL APPLET For Windows 7.

 

I've Seen On The README File That I Need To Enable The UART Debugging In The "Post Debug.h" File.

This Is How The File "Post Debug.h" First Looked Like:

 

/**************************************************************

* defining one of these methods will enabling debug printing *

**************************************************************/

#define __DEBUG_FILE__ /* prints are directed to file __DEBUG_FILE_NAME__ */

//#define __DEBUG_UART__ /* prints are directed to the UART */

//#define __DEBUG_VDSP__ /* prints are directed to the VDSP console window (MUCH SLOWER!!!) */

/**************************************************************/

 

And This Is What I Did:

 

/**************************************************************

* defining one of these methods will enabling debug printing *

**************************************************************/

//#define __DEBUG_FILE__ /* prints are directed to file __DEBUG_FILE_NAME__ */

#define __DEBUG_UART__ /* prints are directed to the UART */

//#define __DEBUG_VDSP__ /* prints are directed to the VDSP console window (MUCH SLOWER!!!) */

/**************************************************************/

 

And Now, When I'm Trying To Rebuild The Project, I Get A Lot Of Warnings That Looks Likes This:

 

".\post_debug.h", line 18: cc0047: {D} warning: incompatible redefinition of
          macro "__DEBUG_UART__"
  #define __DEBUG_UART__/* prints are directed to the UART */
Any Thoughts?

Outcomes