Skip to content

Commit dfdfbc4

Browse files
committed
mimxrt10xx: teach compiler that reset_cpu does not return
1 parent 13e7725 commit dfdfbc4

File tree

1 file changed

+2
-0
lines changed
  • ports/mimxrt10xx/supervisor

1 file changed

+2
-0
lines changed

ports/mimxrt10xx/supervisor/port.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ void reset_to_bootloader(void) {
320320

321321
void reset_cpu(void) {
322322
reset();
323+
for (;;) {
324+
}
323325
}
324326

325327
supervisor_allocation* port_fixed_stack(void) {

0 commit comments

Comments
 (0)