Debugging with printstrln()

New to XMOS and XCore? Get started here.
Treczoks
Active Member
Posts: 38
Joined: Thu Mar 21, 2013 11:18 am

Debugging with printstrln()

Post by Treczoks »

Hi!

Andrew from XMOS suggested that I should use printstrln() and printhexln() for debugging.

Sadly, they don't work out of the box (linker fails to find themCompiler complains about missing prototype) and finding documentation leads nowhere.

What would I need to #include or link to use these functions, and where does the output end up?

Any recommended documentation about these debug-print-functions?

Yours, Christian


User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

#include <print.h>