Exception handler code for STM32F0
I did a search in this forum and in the Internet but did not find anything specific. I have found some references and online articles but I would like to avoid reinventing the wheel or at least reinventing it from scratch.
I am thinking of a handler (C or C++ or even Assembly) that could retrieve information such as exception number, stack pointer value and other relevant flags and registers and save this info to the RAM.
I could use the saved data to debug exceptions and further to generate logs (should the exception occurr in the deployed system) that would help me to debug in the field issues.
