Hello,
I am wanting to print contents to a file using the C function "fprintf()," but it does not work.
My device is QN9080 and I run some SDKs in MCUxpresso IDE. I set library/header to semihost config (already test every setting like Redlib, Newlib, NewlibNano in semihost). Some parts of my very simple code is below (send_data is a data which I want to write in .csv)

Here, .csv file is generated well, but code makes some errors at fprintf(); The error is...


Of course I include "stdio.h", "stdlib.h", and other kinds of headers. I also try to find a solution in "MCUXpresso IDE user guide.pdf" but it failed. I already found similar questions with me in NXP community, but those are not helpful for me.
Would you please help me?
Thanks,