Hi,
Generation of the file clock_config.c has a bug when main clock is selected for SCTimer/PWMCLK.
The line: CLOCK_AttachClk(kMCLK_to_SCT_CLK); /*!< Switch SCT_CLK to MAIN_CLK */
Should be: CLOCK_AttachClk(kMAIN_CLK_to_SCT_CLK); /*!< Switch SCT_CLK to MAIN_CLK */
As: kMCLK_to_SCT_CLK is not defined in fsl_clock.h
Regards
Viggo