Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User7795
Level 4
Level 4
There is a bug in the headerfile, modification needed to run at C++:

Open with an editor

\resources\4.1.8\app\GLOBAL_SCU_XMC4\0\Templates\global_scu_xmc4.h

and insert at line 192 (after comment 'API PROTOTYPES'):

#ifdef __cplusplus
extern "C" {
#endif

and store the modificated file. Thats all.


Same problem at XMC1 family:

Open with an editor

\resources\4.1.6\app\GLOBAL_SCU_XMC1\0\Templates\global_scu_xmc1.h

and insert at line 197 (after comment 'API PROTOTYPES'):

#ifdef __cplusplus
extern "C" {
#endif


If the file is already loaded into your project, add the modification there too. At XMC4 family go to:
\Dave\Model\APPS\GLOBAL_SCU_XMC4\v4_1_8\Templates\

There is already a ticket open:
https://www.infineonforums.com/support/dave3/index.php?option=com_maqmahelpdesk&Itemid=0&id_workgrou...

Best Regards
Wolfgang

Remark: board software adds a space in path at 'Templates', delete this space before using path
0 Likes
1 Reply
DRubeša
Employee
Employee
First solution authored First like received
Hi Wolfgang,

thank you for your report. The newest DAVE version will come out with those issues fixed.

Regards,
Deni
0 Likes