cancel
Showing results for 
Search instead for 
Did you mean: 

Suggestion: #define DEVICE_IDx

mduffy
Associate II
Posted on February 20, 2015 at 03:04

The usbd_desc.h file in STM32CubeF4 contains

&sharpdefine         DEVICE_ID1          (0x1FFF7A10)

&sharpdefine         DEVICE_ID2          (0x1FFF7A14)

&sharpdefine         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.

#unique-device-id-register""
0 REPLIES 0