Apr 08, 2015
05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 08, 2015
05:52 AM
Hi,
I would like to enable the XMC_DEBUG feature in my DAVE v4 program for an XMC1200 target. I added a preprocessor define to my project for XMC_DEBUG_ENABLE.
When I build the project, I get the following error:
Description Resource Path Location Type
incompatible type for argument 1 of 'printf' xmc_common.h /myTestMike/Libraries/XMCLib/inc line 74 C/C++ Problem
I spent some time looking into DAVE v4 documentation, and searched this forum, but am unable to resolve this error. I also tried using the standard run time library, but it didn't help.
Any suggestions on how to get he XMC_DEBUG macro working, would be greatly appreciated. This information would be useful for debugging.
Thanks,
Rick Nardone
I would like to enable the XMC_DEBUG feature in my DAVE v4 program for an XMC1200 target. I added a preprocessor define to my project for XMC_DEBUG_ENABLE.
When I build the project, I get the following error:
Description Resource Path Location Type
incompatible type for argument 1 of 'printf' xmc_common.h /myTestMike/Libraries/XMCLib/inc line 74 C/C++ Problem
I spent some time looking into DAVE v4 documentation, and searched this forum, but am unable to resolve this error. I also tried using the standard run time library, but it didn't help.
Any suggestions on how to get he XMC_DEBUG macro working, would be greatly appreciated. This information would be useful for debugging.
Thanks,
Rick Nardone
Labels
- Tags:
- IFX
2 Replies
Not applicable
Apr 09, 2015
03:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 09, 2015
03:13 AM
Hi Richard,
Are you referring to the semihosting feature? I'm afraid that it is not supported yet.
BR,
Zain
Are you referring to the semihosting feature? I'm afraid that it is not supported yet.
BR,
Zain
Jul 25, 2018
10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 25, 2018
10:51 AM
Hi Rick!
You are in the wrong preprocessor window! If you add in ARM-GCC Assembler ->Preprocessor XMC_DEBUG_ENABLE , the XMC_DEBUG("HELLO WORLD\n"); would work. But pls. be adviced to enable semihosting (https://www.infineonforums.com/threads/3489-DAVE-TIP-of-the-day-Semihosting-in-DAVEv4).
best regards Matthias
You are in the wrong preprocessor window! If you add in ARM-GCC Assembler ->Preprocessor XMC_DEBUG_ENABLE , the XMC_DEBUG("HELLO WORLD\n"); would work. But pls. be adviced to enable semihosting (https://www.infineonforums.com/threads/3489-DAVE-TIP-of-the-day-Semihosting-in-DAVEv4).
best regards Matthias