2017-01-20 07:50 PM
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?
2017-01-21 01:21 AM
A board is going to be very hard to detect without external strapping.
For F4 chips I use DBGMCU DEVID to auto set clocking.
2017-01-23 02:25 AM
Hello
doe.john.016
,You may refer to the 'Debug support (DBG)' section in your reference manual for more clarification, exactlyin the 'MCU device ID code' paragraph.
Hope this helps you.
Regards
Imen