Open Neilh93 opened 2 years ago
Hi @Neilh93
Could you send me more info: IDE, IDE version, pack version ?
regards, Mohamed
Hi Mohamed,
IDE: IAR embedded workbench IDE version: 9.20.4
MCU: STM32H753XI MCU CFG: STMCubeMx Version: 6.5.0
SW Pack version: STMicroelectronics.X-CUBE-AZRTOS-H7.2.1.0
THREADX version: 6.1.10 USBX version: 6.1.10
On Thu 2 Jun 2022, 14:19 AYEDMSTM, @.***> wrote:
Hi @Neilh93 https://github.com/Neilh93
Could you send me more info: IDE, IDE version, pack version ?
regards, Mohamed
Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics/x-cube-azrtos-h7/issues/25#issuecomment-1144855778, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNXZKR4R2FM4TJNL47RH4DVNCYFFANCNFSM5XJ2NBOA . You are receiving this because you were mentioned.Message ID: @.***>
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
https://github.com/STMicroelectronics/x-cube-azrtos-h7/blob/91525b13cf40a2e8fbc1d7271881c623bbfda067/Middlewares/ST/usbx/common/usbx_stm32_device_controllers/ux_dcd_stm32.h#L142
The Fix for which is for me to cast the following:
return(struct UX_DCD_STM32_ED_STRUCT *)(UX_NULL);