AnsweredAssumed Answered

[OTG + CMSIS-mandated device headers] duplicate definitions

Question asked by waclawek.jan on Sep 3, 2017
Latest reply on Nov 21, 2017 by Khouloud G

In stm32f407xx.h  V2.6.1  14-February-2017 as seen in CubeF4 1.15 and 1.16, the definition section under

/********************  Bit definition for OTG register  ********************/

repeats twice (around 2x42 lines).


Moreover, these definitions are duplicating the USB_OTG_GRXSTSP definitions and contrary to the latter they don't appear to be used anywhere else in Cube at all, so IMO both copies can be removed with no consequences whatsoever.





PS. My ever-repeating request for adding non-single-bit bitfield values definitions into the CMSIS-mandated device headers still stands.