From e3a8a58582dc07b33a75a5fc2fb4993fb715c114 Mon Sep 17 00:00:00 2001 From: Terraneo Federico <fede.tft@miosix.org> Date: Wed, 11 May 2016 10:23:25 +0200 Subject: [PATCH] Added IRQportableFinishKernelStartup() to efm32 arch --- .../cortexM3_efm32gg/common/interfaces-impl/portability.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/miosix/arch/cortexM3_efm32gg/common/interfaces-impl/portability.cpp b/miosix/arch/cortexM3_efm32gg/common/interfaces-impl/portability.cpp index 48f8e4d2..fe82af9e 100644 --- a/miosix/arch/cortexM3_efm32gg/common/interfaces-impl/portability.cpp +++ b/miosix/arch/cortexM3_efm32gg/common/interfaces-impl/portability.cpp @@ -215,6 +215,10 @@ void IRQportableStartKernel() //since there's no way to stop the sheduler, but we need to save it anyway. unsigned int s_ctxsave[miosix::CTXSAVE_SIZE]; ctxsave=s_ctxsave;//make global ctxsave point to it +} + +void IRQportableFinishKernelStartup() +{ //Note, we can't use enableInterrupts() now since the call is not mathced //by a call to disableInterrupts() __enable_fault_irq(); -- GitLab