diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.h b/os/ports/GCC/ARMCMx/chcore_v6m.h index 1b8f54528..e26c2fddb 100644 --- a/os/ports/GCC/ARMCMx/chcore_v6m.h +++ b/os/ports/GCC/ARMCMx/chcore_v6m.h @@ -76,12 +76,12 @@ * This value can be zero on those architecture where there is a * separate interrupt stack and the stack space between @p intctx and * @p extctx is known to be zero. - * @note In this port it is conservatively set to 16 because the function + * @note In this port it is conservatively set to 32 because the function * @p chSchDoReschedule() can have a stack frame, especially with * compiler optimizations disabled. */ #if !defined(PORT_INT_REQUIRED_STACK) -#define PORT_INT_REQUIRED_STACK 16 +#define PORT_INT_REQUIRED_STACK 32 #endif /** diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h index 430d5bac0..96f91bef6 100644 --- a/os/ports/GCC/ARMCMx/chcore_v7m.h +++ b/os/ports/GCC/ARMCMx/chcore_v7m.h @@ -73,12 +73,12 @@ * This value can be zero on those architecture where there is a * separate interrupt stack and the stack space between @p intctx and * @p extctx is known to be zero. - * @note In this port it is conservatively set to 16 because the function + * @note In this port it is conservatively set to 32 because the function * @p chSchDoReschedule() can have a stack frame, especially with * compiler optimizations disabled. */ #if !defined(PORT_INT_REQUIRED_STACK) -#define PORT_INT_REQUIRED_STACK 16 +#define PORT_INT_REQUIRED_STACK 32 #endif /** diff --git a/os/ports/IAR/ARMCMx/chcore_v6m.h b/os/ports/IAR/ARMCMx/chcore_v6m.h index 4a3294ef7..7219a0e09 100644 --- a/os/ports/IAR/ARMCMx/chcore_v6m.h +++ b/os/ports/IAR/ARMCMx/chcore_v6m.h @@ -76,12 +76,12 @@ * This value can be zero on those architecture where there is a * separate interrupt stack and the stack space between @p intctx and * @p extctx is known to be zero. - * @note In this port it is conservatively set to 16 because the function + * @note In this port it is conservatively set to 32 because the function * @p chSchDoReschedule() can have a stack frame, especially with * compiler optimizations disabled. */ #if !defined(PORT_INT_REQUIRED_STACK) -#define PORT_INT_REQUIRED_STACK 16 +#define PORT_INT_REQUIRED_STACK 32 #endif /** diff --git a/os/ports/IAR/ARMCMx/chcore_v7m.h b/os/ports/IAR/ARMCMx/chcore_v7m.h index 1fb4fb10e..538ff3d04 100644 --- a/os/ports/IAR/ARMCMx/chcore_v7m.h +++ b/os/ports/IAR/ARMCMx/chcore_v7m.h @@ -73,12 +73,12 @@ * This value can be zero on those architecture where there is a * separate interrupt stack and the stack space between @p intctx and * @p extctx is known to be zero. - * @note In this port it is conservatively set to 16 because the function + * @note In this port it is conservatively set to 32 because the function * @p chSchDoReschedule() can have a stack frame, especially with * compiler optimizations disabled. */ #if !defined(PORT_INT_REQUIRED_STACK) -#define PORT_INT_REQUIRED_STACK 16 +#define PORT_INT_REQUIRED_STACK 32 #endif /** diff --git a/os/ports/RVCT/ARMCMx/chcore_v6m.h b/os/ports/RVCT/ARMCMx/chcore_v6m.h index 8140022f7..45c29f3f0 100644 --- a/os/ports/RVCT/ARMCMx/chcore_v6m.h +++ b/os/ports/RVCT/ARMCMx/chcore_v6m.h @@ -76,12 +76,12 @@ * This value can be zero on those architecture where there is a * separate interrupt stack and the stack space between @p intctx and * @p extctx is known to be zero. - * @note In this port it is conservatively set to 16 because the function + * @note In this port it is conservatively set to 32 because the function * @p chSchDoReschedule() can have a stack frame, especially with * compiler optimizations disabled. */ #if !defined(PORT_INT_REQUIRED_STACK) -#define PORT_INT_REQUIRED_STACK 16 +#define PORT_INT_REQUIRED_STACK 32 #endif /** diff --git a/os/ports/RVCT/ARMCMx/chcore_v7m.h b/os/ports/RVCT/ARMCMx/chcore_v7m.h index 3a75d9d22..9c71eab67 100644 --- a/os/ports/RVCT/ARMCMx/chcore_v7m.h +++ b/os/ports/RVCT/ARMCMx/chcore_v7m.h @@ -73,12 +73,12 @@ * This value can be zero on those architecture where there is a * separate interrupt stack and the stack space between @p intctx and * @p extctx is known to be zero. - * @note In this port it is conservatively set to 16 because the function + * @note In this port it is conservatively set to 32 because the function * @p chSchDoReschedule() can have a stack frame, especially with * compiler optimizations disabled. */ #if !defined(PORT_INT_REQUIRED_STACK) -#define PORT_INT_REQUIRED_STACK 16 +#define PORT_INT_REQUIRED_STACK 32 #endif /** diff --git a/readme.txt b/readme.txt index 95707436c..78bdb7f4f 100644 --- a/readme.txt +++ b/readme.txt @@ -113,6 +113,12 @@ duplicate the code in each application or demo. - NEW: Updated the MSP port to work with the latest MSPGCC compiler (4.6.3 LTS 20120406 unpatched), now the old MSPGCC 3.2.3 is no more supported. +- CHANGE: The PORT_INT_REQUIRED_STACK parameter for the Cortex-Mx ports has + been increased to 32 from 16 because the stack frame sizes are increased + when compiling with optimizations disabled, which is common during + debugging. In order to save RAM trim back this value when compiling with + optimizations enabled. +- CHANGE: Renamed Ethernet driver in AT91 HAL ETHD1. *** 2.4.0 *** - NEW: Implemented new makefile system for ARM GCC ports, now objects,