I'm curious, where/when do the clocks get initialized? #1644
-
Context: Due to #415 and #1544 (reply in thread) I got curious about clocks, and I'm trying to better understand how this core works under the hood. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The OTA does init the clocks. The If you change things in the |
Beta Was this translation helpful? Give feedback.
The OTA does init the clocks. The
__wrap*
fcns wrap functions in the base SDK (i.e. instead of building a new SDK blob, the linker just will call the __wrap versions). This is because the SDK ones pull in a lot of extra code (floating point math, IIRC) which makes the OTA bootloader much larger than it needs to be.If you change things in the
ota
dir, you need to rerun themake-ota.sh
script to make the OTA blob. OTW, your changes won't ecer be used. You also need to make sure that the generated OTA blob still fits in the 12K allocated for it, of course.