Hi Peter,
A simple way to have default clocking to the FreeRTOS example code is just to comment out the BOARD_BootClockRUN(); function call like below:
int main(void)
{
BOARD_InitPins();
//DES test BOARD_BootClockRUN();
BOARD_InitDebugConsole();
If you look into the BOARD_BootClockRUN() function it will safely increase the clock and lastly call following:
SystemCoreClock = g_defaultClockConfigRun.coreClock;
When "SystemCoreClock" is used by FreeRTOS and peripheral init routines. So if you have a UART or SysTick running, it will set according to the "SystemCoreClock" setting.
If commenting BOARD_BootClockRUN() makes things work Ok, then something in the KEx Tool might not have been configured right (or it is wrong).
Regards,
David