cancel
Showing results for 
Search instead for 
Did you mean: 

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

MWebj
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions

startup.s or SystemInit() ?

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

View solution in original post

2 REPLIES 2

startup.s or SystemInit() ?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MWebj
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