2017-10-04 02:52 AM
Hi,
Currently the defaults set for STM32F042 in STM32CubeMX v4.22.1, FW 1.9.0 for USB CDC will not compile after generation.
This is because the USB CDC Rx and Tx Buffers are set to 2048B each by default, which is too much considering the micro has 6kB RAM. In previous versions this was set to the minimum 4B and caused no problems (at least for me).
Can you please update the defaults to be compilable by default?
Thanks
P.S. It took me quite a long time to figure this out, and it was only thanks to having a project I created with cube before.
#stm32cubemx #stm32f042 #usb-cdc #defaultsSolved! Go to Solution.
2018-03-05 05:19 AM
Hello
svitil.tomas
,
This issue is fixed in the current release of CubeMX (4.24).
Please upgrade your CubeMX release with the latest one.
BR. Jeanne
2017-10-04 06:14 AM
Hello,
Thank you
svitil.tomas
for your reported issue. I will share this issueinternally to the appropriate team.Best Regards
Imen
2018-03-05 05:19 AM
Hello
svitil.tomas
,
This issue is fixed in the current release of CubeMX (4.24).
Please upgrade your CubeMX release with the latest one.
BR. Jeanne