cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f429 Disc1 is crashing

PabloS
Associate

I use strncpy to print some value in the wildcard but after that the board crashes and does not react anymore. Has anybody an idea what is going wrong? (the text is displayed),

Unicode::strncpy(textAreaMMethodBuffer, "Multimeter", 11);
textAreaMMethod.resizeToCurrentText();
textAreaMMethod.invalidate();

1 ACCEPTED SOLUTION

Accepted Solutions
JTP1
Lead

Hello.

Is your wildcard buffer 'textAreaMMethodBuffer' enough big to hold 11 characters ?

View solution in original post

3 REPLIES 3
JTP1
Lead

Hello.

Is your wildcard buffer 'textAreaMMethodBuffer' enough big to hold 11 characters ?

Osman SOYKURT
ST Employee

Hello @PabloS ,

How big is your wildcard buffer? Have you tried to debug and see in which function it crashes?

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
PabloS
Associate

Thank you, this was the case ;)