I'm bringing up a custom RT1176 board using a PMIC.
I have SKIP_POWER_ADJUSTMENT and SKIP_DCDC_CONFIGURATION set.
I've changed the pinmux to use our LED on pin G17 and changed the user led defines.
The LED blinks if I change use a NOP loop instead of the SysTick_handler.
void SysTick_Handler(void)
{
if (g_systickCounter != 0U)
{
//Breakpoint here is never reached
g_systickCounter--;
}
}
void SysTick_DelayTicks(uint32_t n)
{
g_systickCounter = n;
while (g_systickCounter != 0U)
{
g_systickCounter--; //My edit to get it working
}
}
I've changed also changed the code to use BOARD_BootClockRUN_800M(); and removed the FLash from the memory options.
What makes it tick and why isn't it?