#nxp #k2x #nxp #k2x


Hi all,

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 /soc/arm/nxp_kinetis/k2x/soc.c i found out that clock_init() for k2x always uses external oscillator so I have a couple of questions:

  1. Is it possible to provide custom implementation of clock_init for my out of tree board which overrides /k2x/soc.c ?
  2. If yes, what is the proper way to do this?