As I understand you use a custom board that you managed to create out of tree and you’d like to change clock configuration.
The functions used in
So, you need to change soc.c to accommodate your board’s changes and use either Kconfig or Device Tree to differentiate between configurations.
You can use Kconfig to make cpu/board specific changes like, e.g. CONFIG_OSC_LOW_POWER.
Device tree can be used to tell the clock source for a specific peripheral, but I’m not sure about main clock source.
From: users@... <users@...>
On Behalf Of antoker via lists.zephyrproject.org
Caution: EXT Email
I'm new to zephyr and am not sure if this is a correct place to ask questions. But here is my challenge. I've been playing with zephyr for some time now being able to both compile and run sample apps for frdm-k22f board and make my own apps. The next step
was to make an out of tree board, which is based on k2x, to my suprise, after digging through