FreeRTOS / iot-reference-stm32u5

MIT License
46 stars 29 forks source link

Initialize the dynamically-allocated transport context #85

Closed grdSTM closed 1 year ago

grdSTM commented 1 year ago

Initialize the dynamically-allocated transport context.

If not done, the pxNotifyThreadCtx field happens to be invalid (depending on past heap usage). For instance it can result in a hardfault (jumping to address 0xffffffff) in the MQTT_Connect_LWT test case if the MQTT test group is run after the transport test group.