2015-08-12 08:07 AM
The STM32CubeMX software generates a USB stack with a call to free() in usbd_conf.c. If you disconnect USB by calling usbd_stop() the software crashes here as there is no free from stdlib or there is no correctly defined memory section to use. As the function is documentated as 'dummy' the call of free is useless anyway. Costs us hours to find this. Please fix it in next release!
#stmcube-stmcubemx-cube-stm32cube2015-08-12 08:47 AM
Hi radiatore,
Could you please provide more explanation on your case, so that it will be easier to understand the issue?With CubeMX, there is no stdlib used, so what do you mean by ''there is no free from stdlib ''?-Syrine-