-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return value type error in ux_dcd_stm32.h #25
Comments
Hi @Neilh93 Could you send me more info: IDE, IDE version, pack version ? regards, |
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
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNXZKR4R2FM4TJNL47RH4DVNCYFFANCNFSM5XJ2NBOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
x-cube-azrtos-h7/Middlewares/ST/usbx/common/usbx_stm32_device_controllers/ux_dcd_stm32.h
Line 142 in 91525b1
The Fix for which is for me to cast the following:
return(struct UX_DCD_STM32_ED_STRUCT *)(UX_NULL);
The text was updated successfully, but these errors were encountered: