Skip to main content
MWebj
Associate III
Jun 16, 2019 9:48 PM UTC
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
Jun 17, 2019 12:14 AM UTC

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
Jun 17, 2019 12:14 AM UTC

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
Jun 18, 2019 7:01 PM UTC

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