Mohamed Ayman commented on a discussion on bsps/arm/stm32f4/include/bsp/stm32f4xxxx_otgfs.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1134#note_146115 > #define EP0_MPSIZ_16 2 > #define EP0_MPSIZ_32 1 > #define EP0_MPSIZ_64 0 > +#define STM32F4_OTGFS_DIEPCTL_MPSIZ(val) BSP_FLD32(val, 0, 10) // Maximum > packet size (bytes) > #define STM32F4_OTGFS_DIEPCTL_EP0_MPSIZ_8 > STM32F4_OTGFS_DIEPCTL_MPSIZ(EP0_MPSIZ_8) > #define STM32F4_OTGFS_DIEPCTL_EP0_MPSIZ_16 > STM32F4_OTGFS_DIEPCTL_MPSIZ(EP0_MPSIZ_16) > #define STM32F4_OTGFS_DIEPCTL_EP0_MPSIZ_32 > STM32F4_OTGFS_DIEPCTL_MPSIZ(EP0_MPSIZ_32) > #define STM32F4_OTGFS_DIEPCTL_EP0_MPSIZ_64 > STM32F4_OTGFS_DIEPCTL_MPSIZ(EP0_MPSIZ_64) > -#define STM32F4_OTGFS_DIEPCTL_MPSIZ(val) BSP_FLD32(val, 0, 10) // Maximum > packet size (bytes) macro usualy must be defined before the macros that depend on it, it’s not a functional change just an organizational one to make the dependency clearer -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1134#note_146115 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
