Skip to content

Commit bcf9376

Browse files
committed
Do not disable SysTick before jump to app.
It screws up ST's SysTickConfig() routine if using stock libs Signed-off-by: Andrew 'Necromant' Andrianov <[email protected]>
1 parent cbcfae4 commit bcf9376

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/common/hardware.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ void nvicDisableInterrupts() {
166166
rNVIC->ICER[1] = 0xFFFFFFFF;
167167
rNVIC->ICPR[0] = 0xFFFFFFFF;
168168
rNVIC->ICPR[1] = 0xFFFFFFFF;
169-
170-
SET_REG(STK_CTRL,0x04); /* disable the systick, which operates separately from nvic */
171169
}
172170

173171
void systemHardReset(void) {

0 commit comments

Comments
 (0)