sprintf stops execution
Thank you bugmenot
To test it I made a new project with only these lines
- include “stm32f4xx.h”
- include “stm32f4_discovery.h”
char s200;
int i;
int main(void)
{
i=0;
sprintf(s,”Text :”);
sprintf(s,”Text :%d”,i);
sprintf(s,”Text :”);
for(;;);
}
the first sprintf is executed but the second stops forever.
In the bigger project in which i face the problem the s and i was into the function body and i have change the linker script with heap and stack in 0x2000 but nothing.