git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@558 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
796f13d4fa
commit
aa2eb80fdb
36
docs/ch.txt
36
docs/ch.txt
|
@ -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
|
* @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
|
* @defgroup Kernel Kernel
|
||||||
* @{
|
* @{
|
||||||
|
|
|
@ -104,7 +104,9 @@ typedef struct {
|
||||||
tp->p_ctx.sp->pch = (int)threadstart; \
|
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)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,9 @@ typedef struct {
|
||||||
|
|
||||||
#define IDLE_THREAD_STACK_SIZE 0
|
#define IDLE_THREAD_STACK_SIZE 0
|
||||||
|
|
||||||
|
#ifndef INT_REQUIRED_STACK
|
||||||
#define INT_REQUIRED_STACK 32
|
#define INT_REQUIRED_STACK 32
|
||||||
|
#endif
|
||||||
|
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
|
|
10
readme.txt
10
readme.txt
|
@ -73,10 +73,12 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
|
||||||
*** Releases ***
|
*** Releases ***
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 1.0.0 RC1 ***
|
*** 1.0.0rc1 ***
|
||||||
- NEW: Added new macros CH_KERNEL_VERSION set to "1.0.0 RC1", CH_KERNEL_MAJOR
|
- 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.
|
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.
|
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
|
- FIX: Disabled the configuration option CH_USE_MESSAGES_PRIORITY from the
|
||||||
MSP430 demo, the default for this option should be off.
|
MSP430 demo, the default for this option should be off.
|
||||||
- FIX: Fixed a bug that prevented the THREAD_EXT_FIELDS to be compiled into
|
- 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: Removed some references to deprecated APIs from the test suite.
|
||||||
- FIX: Set the INT_REQUIRED_STACK configuration value for the ARM7 and ARMCM3
|
- 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
|
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
|
compiler settings).
|
||||||
without have to edit ./port/ARM7/chcore.h.
|
- FIX: Set the INT_REQUIRED_STACK configuration value for the AVR port to 32.
|
||||||
- Removed deprecated threads APIs: chThdCreate() and chThdCreateFast().
|
- Removed deprecated threads APIs: chThdCreate() and chThdCreateFast().
|
||||||
- Removed deprecated events APIs: chEvtWait(), chEvtWaitTimeout(), chEvtSend(),
|
- Removed deprecated events APIs: chEvtWait(), chEvtWaitTimeout(), chEvtSend(),
|
||||||
chEvtSendI(), EventMask().
|
chEvtSendI(), EventMask().
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#define DELAY_BETWEEN_TESTS 200
|
#define DELAY_BETWEEN_TESTS 200
|
||||||
|
|
||||||
#if defined(CH_ARCHITECTURE_AVR) || defined(CH_ARCHITECTURE_MSP430)
|
#if defined(CH_ARCHITECTURE_AVR) || defined(CH_ARCHITECTURE_MSP430)
|
||||||
#define THREADS_STACK_SIZE 64
|
#define THREADS_STACK_SIZE 48
|
||||||
#elif defined(CH_ARCHITECTURE_WIN32SIM)
|
#elif defined(CH_ARCHITECTURE_WIN32SIM)
|
||||||
#define THREADS_STACK_SIZE 512
|
#define THREADS_STACK_SIZE 512
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue