AnsweredAssumed Answered

sprintf causing hardfault

Question asked by Edriano Araujo on Jun 7, 2018
Latest reply on Jun 12, 2018 by LPCX presso support

Hi,

I am trying to use sprintf with.

K64 freedom board.

REDLIB nohost.

every time i try to use sprintf i see a hard fault.

I did not find a place to change the heap, do i have to change it? increase?

I get no error when compiling the project and everything else is working so far.

(void)sprintf(distance,"%s\r\n",_distance); 

Outcomes