2026-01-13 7:25 AM - last edited on 2026-01-13 7:32 AM by Andrew Neil
Hi @TDK ,
I have just downloaded and installed the new version 2.0.0 of the IDE and the MX software (since it is no longer integrated). I was working on a project based on the STM32WB5MMG, and everything was working correctly with IDE version 1.19.0 and STM32Cube FW_WB V1.23.0.
After opening the project and regenerating the code with the new IDE version and STM32Cube FW_WB V1.24.0, I noticed some issues:
/* USER CODE BEGIN PM */
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
uint16_t SizeFw_Ver = 1;
uint16_t SizeDatetime = 7;
uint16_t SizeStatus = 6;
uint16_t SizeMonitor = 15;
uint16_t SizeEnv_Data = 90;
uint16_t SizeFw_Ver = 1;
uint16_t SizeDatetime = 7;
uint16_t SizeStatus = 6;
uint16_t SizeMonitor = 15;
uint16_t SizeEnv_Data = 90;2. it doesn't generate any local functions in custom_app.c:
/* USER CODE END FD */
/*************************************************************
*
* LOCAL FUNCTIONS
*
*************************************************************/
/* INFORMATION */
/* ENVIRONMENTAL */
/* INFORMATION */
/* ENVIRONMENTAL */
/* USER CODE BEGIN FD_LOCAL_FUNCTIONS*/
/* USER CODE END FD_LOCAL_FUNCTIONS*/when before there were some function for characteristic notification (I leave here an example):
/*************************************************************
*
* LOCAL FUNCTIONS
*
*************************************************************/
/* INFORMATION */
/* ENVIRONMENTAL */
__USED void Custom_Env_data_Update_Char(void) /* Property Read */
{
uint8_t updateflag = 0;
/* USER CODE BEGIN Env_data_UC_1*/
/* USER CODE END Env_data_UC_1*/
if (updateflag != 0)
{
Custom_STM_App_Update_Char(CUSTOM_STM_ENV_DATA, (uint8_t *)UpdateCharData);
}
/* USER CODE BEGIN Env_data_UC_Last*/
/* USER CODE END Env_data_UC_Last*/
return;
}How I can fix the problem?
Thanks.