This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: sprintf and stack size

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: CC3200

Hi Folks,

I'm migrating from a CC3200 to the TM4C123GH6 microcontroller.

On the CC3200 the following line works:

sprintf(cmd_cart_common5_M1, "Content-Length: %d\r\n\r\n", iContentLength);

(cmd_car_common5_M1 is a global variable defined as char[25],  iContentLength is a 2 digit integer.)

On the Tiva chip I get a ISRFault when sending the cmd_cart_common5_M1 string to the UART (probably cause I am trying to send a corrupt string.)

Other than increasing stack size is there something else I need to do?  (any particular libraries or compiler settings for sprintf I need to add for this chip?)

thanks,

Bob