test functions

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

cross mob
User16900
Level 1
Level 1
Hello,

I generated a Dave Project for XMC 4700 and it works fine with the Controller.

Now I want to test some functions without the Controller. Only with the IDE. The target ist to write some test functions for the Code, to check it, before I flash the code on the controller.

How can I do this?

Thanks for your help

S.H.
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Have a look at https://gnu-mcu-eclipse.github.io/qemu/
Alternative using the hardware, http://www.throwtheswitch.org/unity

Regards,
Jesus
0 Likes
User7795
Level 4
Level 4
Hi S.H.,

if you want to test code which doesn't access any XMC hardware, install the eclipse C/C++ toolkit and run your code on the cpu of the pc:

http://www.eclipse.org/cdt/

Regards
Wolfgang
0 Likes