STM32L072 vs STM32L082 detection
This one sounds simple. Essentially STM32L082 has a AES peripheral over STM32L072. I simply want to have a way to find out whether it's there or not.
Now RCC->AHBENR does not help. I can set the corresponding bit ... and clear it. RCC->AHBSMENR same thing. Actually there it's set per default. But an access on STM32L072 will trigger a hardfault (I am assuming that from my debugger telling me it cannot access the memory location when I write to it). While that might be a possible detection way, isn't there somethimg simple, like a feature bit somewhere ...
