cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 4.12.0 Bug - usbd_cdc_if.c

petr239955
Associate III
Posted on January 25, 2016 at 16:02

Hello,

my private variables in usbd_cdc_if.c are deleted after the new code generation:

/* USER CODE BEGIN PRIVATE_VARIABLES  */

uint8_t    u8_cdc_initialized = 0;

uint8_t    u8_cdc_connected = 0;

uint8_t    u8_rx_len;

uint8_t    u8_received;

/* USER CODE END  PRIVATE VARIABLES */

Please check another

user

sections as PRIVATE_MACRO, PRIVATE TYPES, EXPORTED_VARIABLES, PRIVATE DEFINES and more.

Other

sections are

also

deleted

.

I use STM32CubeMX 4.12.0, STM32CubeF4 1.10.1.

Petr

#user-code #usbd_cdc_if #deleted
2 REPLIES 2
Nesrine M_O
Lead II
Posted on January 25, 2016 at 17:02

Hi Petr,

Thank you for your feedback. The issue has been reported internally.

 

-Syrine-

stm32cube-t
Senior III
Posted on January 25, 2016 at 19:00

Thank you for reporting this issue.

It will be fixed in next release 4.13 coming out soon.