X-CUBE-CLASSB on STM32F072, STL_StartUpCPUTest causes hard fauilt
Hi, we've got the class B self test library running on our F072RB, with one exception. If we include the call to STL_StartUpCPUTest() inside STL_StartUp(), then a following call specifically __CRC_CLK_ENABLE(), will cause a hard fault.
We did some debugging, and looked at what the startup test is doing, but can't nail down why this test is causing our system to hardfault before we get into main().
We did notice that the T bit in the EPSR is 0 after the call to STL_StartUpCPUTest, but have no idea if this a problem or not.
Thoughts?
