Closed carlo-dev-git closed 4 months ago
Hello @carlo-dev-git,
Thank you for your contribution. Your observation about the missing device revision ID for 0x480
is indeed correct. An internal tracker has been logged to add these definitions. However, we will not adopt the changes you have suggested, as our aim is to maintain HAL device driver compatibility across all silicon versions: To achieve this, the HAL_GetREVID()
API shall be used within the peripherals HAL drivers in order to verify the silicon version and act accordingly.
I hope this answer made it clearer. Thank you again for your contribution. We are looking forward to reading from you again.
With regards,
ST Internal Reference: 184118
Fixed in commit 21b29aa338c68333bb5e489b03a04553f8fc2c12
In file
stm32h7xx_hal.h
the device revision ID definitions are not correct for STM32H7A3xx (STM32H7_DEV_ID == 0x480UL). According to RM0455 par.64.5.7 I tried this code:but the compilation fails in
HAL_RCCEx_CRSConfig()
where the unknown REV_ID_Y is tested also for STM32H7A3xx:If I haven't missed something, it's worth checking these definitions.