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

cross mob
User5581
Level 3
Level 3
After running Apps migration on my project in DAVE 3.1.10 I find that it has updated the ERU001 App to ver 1.0.10 from 1.0.6.
However, the code generator seems to have lost the reference to macros defined in DBG002.h. The compilation errors from
ERU001.c are:
../Dave/Generated/src/ERU001/ERU001.c: In function 'ERU001_Init':
../Dave/Generated/src/ERU001/ERU001.c:248:3: warning: implicit declaration of function 'DBG002_FUNCTION_ENTRY' [-Wimplicit-function-declaration]
../Dave/Generated/src/ERU001/ERU001.c:248:25: error: 'DBG002_GID_ERU001' undeclared (first use in this function)
../Dave/Generated/src/ERU001/ERU001.c:248:25: note: each undeclared identifier is reported only once for each function it appears in
../Dave/Generated/src/ERU001/ERU001.c:273:3: warning: implicit declaration of function 'DBG002_FUNCTION_EXIT' [-Wimplicit-function-declaration]


I do have the DBG002 app in my project.

I have looked back through the chain of included files for ERU001.c and I cannot find an inclusion of or DBG002.h - but there is a small chance that I missed it.

It may also be that the code generator for ERU001 has a bug where it leaves out this reference.

If I manually add #include near the start of ERU001.c, I get a successful compile.

The project targets the XMC4500F144K1024 step AB.

Has anyone else experienced this issue?
0 Likes
1 Reply
Not applicable
Hi Kurt,

Thank you very much for the feedback. The reason is because the latest DBG002[1.0.22] is still using old style for include files whereas ERU001/2[1.0.14] has the latest update. This will be fixed in the next coming release. Pls follow up with eTicket 971657950 with similar report.

Best regards,
Sophia
0 Likes