Rather than busy-wait the CPU, the delay implementation should set the systick to generate an interrupt on overflow, and sleep with a wfi. This would reduce power consumption.
You might need to put it behind a flag because you'd have to replace DefaultHandler_ for systick with something that didn't loop forever...
Rather than busy-wait the CPU, the delay implementation should set the systick to generate an interrupt on overflow, and sleep with a
wfi. This would reduce power consumption.You might need to put it behind a flag because you'd have to replace DefaultHandler_ for systick with something that didn't loop forever...