From 64373e1f79a015b0c95355b5f6f0d9f09292b5a3 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 7 Aug 2010 11:06:32 +0000 Subject: Fixed bug 3041117. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2117 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCMx/chcore_v6m.h | 6 ++---- os/ports/GCC/ARMCMx/chcore_v7m.h | 6 ++---- readme.txt | 2 ++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.h b/os/ports/GCC/ARMCMx/chcore_v6m.h index 1a086b2bf..c2d9cb618 100644 --- a/os/ports/GCC/ARMCMx/chcore_v6m.h +++ b/os/ports/GCC/ARMCMx/chcore_v6m.h @@ -159,16 +159,14 @@ struct intctx { * @note @p id can be a function name or a vector number depending on the * port implementation. */ -#define PORT_IRQ_HANDLER(id) \ - __attribute__((interrupt("IRQ"))) void id(void) +#define PORT_IRQ_HANDLER(id) void id(void) /** * @brief Fast IRQ handler function declaration. * @note @p id can be a function name or a vector number depending on the * port implementation. */ -#define PORT_FAST_IRQ_HANDLER(id) \ - __attribute__((interrupt("IRQ"))) void id(void) +#define PORT_FAST_IRQ_HANDLER(id) void id(void) /** * @brief Port-related initialization code. diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h index 8b52152bd..10e076b4f 100644 --- a/os/ports/GCC/ARMCMx/chcore_v7m.h +++ b/os/ports/GCC/ARMCMx/chcore_v7m.h @@ -133,16 +133,14 @@ struct intctx { * @note @p id can be a function name or a vector number depending on the * port implementation. */ -#define PORT_IRQ_HANDLER(id) \ - __attribute__((interrupt("IRQ"))) void id(void) +#define PORT_IRQ_HANDLER(id) void id(void) /** * @brief Fast IRQ handler function declaration. * @note @p id can be a function name or a vector number depending on the * port implementation. */ -#define PORT_FAST_IRQ_HANDLER(id) \ - __attribute__((interrupt("IRQ"))) void id(void) +#define PORT_FAST_IRQ_HANDLER(id) void id(void) /** * @brief Port-related initialization code. diff --git a/readme.txt b/readme.txt index eef15c675..ea28c9a99 100644 --- a/readme.txt +++ b/readme.txt @@ -62,6 +62,8 @@ ***************************************************************************** *** 2.1.2 *** +- FIX: Corrupted IRQ stack in Cortex-Mx port (bug 3041117)(backported to + 2.0.3). - FIX: Fixed a documentation error regarding the ADC driver function adcStartConversion() (bug 3039890)(backported to 2.0.3). - NEW: Added a simple STM32 ADC demo under ./testhal/STM32/ADC. -- cgit v1.2.3