STMicroelectronics / x-cube-azrtos-h7

X-CUBE-AZRTOS-H7 (Azure RTOS Software Expansion for STM32Cube) provides a full integration of Microsoft Azure RTOS in the STM32Cube environment for the STM32H7 series of microcontrollers.

Home Page:https://www.st.com/en/embedded-software/x-cube-azrtos-h7.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return value type error in ux_dcd_stm32.h

Neilh93 opened this issue · comments

While working on a project, i have ran into the following error when building the STMicroelectronics package via STCubeMX.

Error[Pe120]: return value type ("void *") does not match the function type ("UX_DCD_STM32_ED_STRUCT *") ..\Middlewares\ST\usbx\common\usbx_stm32_device_controllers\ux_dcd_stm32.h, Line 142

The Fix for which is for me to cast the following: return(struct UX_DCD_STM32_ED_STRUCT *)(UX_NULL);

Hi @Neilh93

Could you send me more info: IDE, IDE version, pack version ?

regards,
Mohamed