From 422ebeeec7ec7e1f332d73c858863b74425f70ed Mon Sep 17 00:00:00 2001 From: Yurii Soldak Date: Wed, 26 May 2021 22:16:33 +0200 Subject: [PATCH] Do not disable interrupts on abort Allows panic messages to be printed fully into serial console --- src/runtime/runtime_cortexm_abort.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/runtime/runtime_cortexm_abort.go b/src/runtime/runtime_cortexm_abort.go index d1a19bd9d..cc0d76add 100644 --- a/src/runtime/runtime_cortexm_abort.go +++ b/src/runtime/runtime_cortexm_abort.go @@ -7,9 +7,6 @@ import ( ) func abort() { - // disable all interrupts - arm.DisableInterrupts() - // lock up forever for { arm.Asm("wfi")