Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: stdout from threads when using GCC and Sys/BIOS on ARM?

$
0
0

Anish,

Thanks for you pointers.  Yes I can confirm that I am linking against XDC.

Again, simple to reproduce.  For example I can take the TI supplied example project "client" from nsp_gmacsw_4_09_01_02 and add the line:

fprintf(stdout, "fprintf from thread: %d\n", Task_getPri(Task_self()));

to the function "LOCAL_linkStatus" (after "#include <ti/sysbios/knl/Task.h>" of course).  The printf will work, the fprintf will not.  If I add my workaround mentioned above, everything will work.

Best Regards,

-David


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>