A long time ago I posted an example that used the SysTick timer in the STM32F0Discovery board. This had a bug! A reader (Dale Wheat) kindly pointed out that it had a problem with the way the bits were set in the STK_CSR register. Anyway, I’ve corrected the bug and posted revised code which can be found here. Thanks Dale!