You want us to use the HAL, ok fine. We use the HAL. But we still often times need to know what hardware we are running on.
What is the factory approved method for determining which board/chip is running?
Where is the list of HAL Device IDs and what those ID correspond to?