Kinetis Microcontrollers
Hello, I am using the MKS20FN128VLL12 micro controller for a new project. I have not added any source code yet to the project, I have only configured the pins and clocks.
When I attempt to configure the clock in MCG Mode: PEE and then update the generated code I receive the following errors:
../board/clock_config.c:140:10: error: 'sim_clock_config_t' {aka 'const struct _sim_clock_config'} has no member named 'pllFllFrac'
140 | .pllFllFrac = 0, /* PLLFLLSEL clock divider fraction: multiplied by 1 */
| ^~~~~~~~~~
and,
../board/clock_config.c:139:10: error: 'sim_clock_config_t' {aka 'const struct _sim_clock_config'} has no member named 'pllFllDiv'; did you mean 'pllFllSel'?
139 | .pllFllDiv = 0, /* PLLFLLSEL clock divider divisor: divided by 1 */
| ^~~~~~~~~
| pllFllSel
The only work around was to manually delete the lines of code to avoid any errors when building the code. Is there anyway to manually set these settings on the SIM clock?
Thanks,
Nicholas