git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@558 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2008-12-29 12:12:53 +00:00
parent 796f13d4fa
commit aa2eb80fdb
5 changed files with 48 additions and 6 deletions

View File

@ -362,6 +362,24 @@
*/
/** @} */
/**
* @defgroup AVRCONF Configuration Options
* @{
* <p>
* The AVR port allows some architecture-specific configurations settings
* that can be specified externally, as example on the compiler command line:
* <ul>
* <li>@p INT_REQUIRED_STACK, this value represent the amount of stack space
* used by the interrupt handlers.<br>
* The default for this value is @p 32, this space is allocated for each
* thread so be careful in order to not waste precious RAM space.<br>
* The default value is set into <b>./ports/AVR/chcore.h</b>.</li>
* </ul>
* </p>
* @ingroup AVR
*/
/** @} */
/**
* @defgroup MSP430 MSP430
* @{
@ -378,6 +396,24 @@
*/
/** @} */
/**
* @defgroup MSP430CONF Configuration Options
* @{
* <p>
* The MSP430 port allows some architecture-specific configurations settings
* that can be specified externally, as example on the compiler command line:
* <ul>
* <li>@p INT_REQUIRED_STACK, this value represent the amount of stack space
* used by the interrupt handlers.<br>
* The default for this value is @p 32, this space is allocated for each
* thread so be careful in order to not waste precious RAM space.<br>
* The default value is set into <b>./ports/MSP430/chcore.h</b>.</li>
* </ul>
* </p>
* @ingroup MSP430
*/
/** @} */
/**
* @defgroup Kernel Kernel
* @{

View File

@ -104,7 +104,9 @@ typedef struct {
tp->p_ctx.sp->pch = (int)threadstart; \
}
#define INT_REQUIRED_STACK 8
#ifndef INT_REQUIRED_STACK
#define INT_REQUIRED_STACK 32
#endif
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)

View File

@ -81,7 +81,9 @@ typedef struct {
#define IDLE_THREAD_STACK_SIZE 0
#ifndef INT_REQUIRED_STACK
#define INT_REQUIRED_STACK 32
#endif
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)

View File

@ -73,10 +73,12 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
*** Releases ***
*****************************************************************************
*** 1.0.0 RC1 ***
- NEW: Added new macros CH_KERNEL_VERSION set to "1.0.0 RC1", CH_KERNEL_MAJOR
*** 1.0.0rc1 ***
- NEW: Added new macros CH_KERNEL_VERSION set to "1.0.0rc1", CH_KERNEL_MAJOR
set to 1, CH_KERNEL_MINOR set to 0, CH_KERNEL_PATCH set to 0.
The macros will be updated to reflect the actual kernel version number.
- NEW: Made all the port-specific configuration settings externally
configurable, see the documentation.
- FIX: Disabled the configuration option CH_USE_MESSAGES_PRIORITY from the
MSP430 demo, the default for this option should be off.
- FIX: Fixed a bug that prevented the THREAD_EXT_FIELDS to be compiled into
@ -84,8 +86,8 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
- FIX: Removed some references to deprecated APIs from the test suite.
- FIX: Set the INT_REQUIRED_STACK configuration value for the ARM7 and ARMCM3
ports to a safer 0x10, it was previously 0 (correct but trimmed to specific
compiler settings). Now it is possible to redefine that value externally
without have to edit ./port/ARM7/chcore.h.
compiler settings).
- FIX: Set the INT_REQUIRED_STACK configuration value for the AVR port to 32.
- Removed deprecated threads APIs: chThdCreate() and chThdCreateFast().
- Removed deprecated events APIs: chEvtWait(), chEvtWaitTimeout(), chEvtSend(),
chEvtSendI(), EventMask().

View File

@ -25,7 +25,7 @@
#define DELAY_BETWEEN_TESTS 200
#if defined(CH_ARCHITECTURE_AVR) || defined(CH_ARCHITECTURE_MSP430)
#define THREADS_STACK_SIZE 64
#define THREADS_STACK_SIZE 48
#elif defined(CH_ARCHITECTURE_WIN32SIM)
#define THREADS_STACK_SIZE 512
#else