Skip to main content
MWebj
Associate III
Solved

Proper place in CubeIDE generated code to put init code for Cortex CCR register

I need to disable Cortex CCR.UNALIGN_TRP bit, but I can't find the proper place in the CubeIDE generated code where this kind of init code should be inserted.

Does anyone out there have a clue?

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru

startup.s or SystemInit() ?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru

startup.s or SystemInit() ?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MWebj
MWebjAuthor
Associate III

Thanks! SystemInit() was the place even thou there are no guards there to protect my code from being overwritten if I update system sources using CubeIDE