AnsweredAssumed Answered

Suggestion: #define DEVICE_IDx

Question asked by Mike Duffy on Feb 20, 2015
The usbd_desc.h file in STM32CubeF4 contains

#define         DEVICE_ID1          (0x1FFF7A10)
#define         DEVICE_ID2          (0x1FFF7A14)
#define         DEVICE_ID3          (0x1FFF7A18)

Since the "Unique device ID register" is common to all STM32F4xx processors (possibly all STM32 devices), it should be defined in stm32f4xx_hal.h, not in the USBD library.

This would standardize references to this register.