Skip to main content
petr239955
Associate III
January 25, 2016
Question

STM32CubeMX 4.12.0 Bug - usbd_cdc_if.c

  • January 25, 2016
  • 2 replies
  • 536 views
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
This topic has been closed for replies.

2 replies

Nesrine M_O
Associate
January 25, 2016
Posted on January 25, 2016 at 17:02

Hi Petr,

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

 

-Syrine-

stm32cube-t
ST Employee
January 25, 2016
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.