Skip to main content
MWebj
Associate III
June 16, 2019
Solved

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

  • June 16, 2019
  • 2 replies
  • 1025 views

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.
Best answer by Tesla DeLorean

startup.s or SystemInit() ?

2 replies

Tesla DeLorean
Guru
June 17, 2019

startup.s or SystemInit() ?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MWebj
MWebjAuthor
Associate III
June 18, 2019

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