Unless you're writing assembly, its easiest to work in the sim and use DEBUGF.
I figured (it's also 100 times quicker to test changes), but when I try to build for the simulator I get an error:
/home/user/rockbox/sim-fuzev2/apps/codecs/libcodec.a(fixedpoint.o)(.text.fp_sqrt+0x24): In function `isqrt':
/home/user/rockbox/apps/fixedpoint.c:112: undefined reference to `__builtin_clzl'
Looks like I can fake out make to get past the plugins and codecs that won't compile (they're not relevant to this test).
I also tried logging text with LOGF (configured my build with logf enabled) but I am not getting anything showing up in the log (debug menu) so I'm not sure if I am missing something else there. I'd prefer to see it in realtime though.
Additionally theres a define you have to add to each file where logf should be enabled, otherwise you'd get swamped with a thousand irrelevent logf messages from all over rockbox. IIRC its pretty clear if you look at logf.h
[/quote]
Yeah, I #defined LOGF_ENABLE in my source file. Perhaps it doesn't work properly on the fuze v2. I'll concentrate on getting the sim working for now.