cancel
Showing results for 
Search instead for 
Did you mean: 

problem executing printf

jmartin9
Associate II
Posted on March 06, 2006 at 06:23

problem executing printf

2 REPLIES 2
jmartin9
Associate II
Posted on March 01, 2006 at 05:20

hello,

for the toolsuite IAR + WinIdea i can not use sample program with retarget :

/* infinite loop */

while(1)

{

printf (''HELLO WORD'');

......

.....

}

the program can not find printf and need to break the execution.

Might it be a problem with the lib conf?

Thanks,

jm

jmartin9
Associate II
Posted on March 02, 2006 at 10:17

hi !!!!

Yes it's retarget file from STR71x library.

if i don't use retarget what is the stdout for printf?(EMI, JTAG.....)

when i use printf what are the subfunctions used? (putc, ...........)

do you have a sample program to retarget printf to UART?

thanks :D ???????

________________

Attachments :

retarget.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtOT&d=%2Fa%2F0X0000000aPN%2Fv8q8S5.too0EFmUC9mJV3yR6KkoVLkZ1.Aa.OBsja9Q&asPdf=false