From aafcac7b9d7c209b1856edd0805a1f0487ca4c20 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 9 Apr 2020 08:07:01 +0000 Subject: [PATCH] Fixed bug #1081. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13518 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/common/ports/ARMCMx/chcore_v7m.c | 3 +-- readme.txt | 10 ++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/os/common/ports/ARMCMx/chcore_v7m.c b/os/common/ports/ARMCMx/chcore_v7m.c index 186736df7..24c94a25f 100644 --- a/os/common/ports/ARMCMx/chcore_v7m.c +++ b/os/common/ports/ARMCMx/chcore_v7m.c @@ -250,8 +250,7 @@ void PendSV_Handler(void) { void port_init(void) { /* Starting in a known IRQ configuration.*/ - __set_BASEPRI(CORTEX_BASEPRI_DISABLED); - __enable_irq(); + port_suspend(); /* Initializing priority grouping.*/ NVIC_SetPriorityGrouping(CORTEX_PRIGROUP_INIT); diff --git a/readme.txt b/readme.txt index 69f78a622..a85d8ebcc 100644 --- a/readme.txt +++ b/readme.txt @@ -74,16 +74,18 @@ ***************************************************************************** *** Next *** -- FIX: Fixed I2CD4 interrupt vectors are swapped versus I2CD1-I2CD3 (bug #1080) - (backported to 20.3.1). -- FIX: Fixed incorrect clock check when using PLLSAI1R in ADCv3 (bug #1079) - (backported to 20.3.1). - RT: Relocated the "ctx" field in the thread structure in order to save some RAM, it caused unused space in the "ch" variable. - EX: Added support for ADXL355 Low Noise, Low Drift, Low Power, 3-Axis MEMS Accelerometers. - NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1). - NEW: Added latency measurement test application. +- FIX: Fixed early interrupts enable in ARMv7-M port (bug #1081) + (backported to 20.3.1). +- FIX: Fixed I2CD4 interrupt vectors are swapped versus I2CD1-I2CD3 (bug #1080) + (backported to 20.3.1). +- FIX: Fixed incorrect clock check when using PLLSAI1R in ADCv3 (bug #1079) + (backported to 20.3.1). - FIX: Fixed missing checks in TIM6 and TIM7 STM32 mini drivers (bug #1078) (backported to 20.3.1). - FIX: Fixed error in EXTIv1 ISRs (bug #1077)