diff options
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/ARM7-LPC214x-G++/chconf.h | 24 | ||||
| -rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/chconf.h | 24 | ||||
| -rw-r--r-- | demos/ARM7-LPC214x-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/ARMCM3-STM32F103-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/AVR-AT90CANx-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/AVR-ATmega128-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/MSP430-MSP430x1611-GCC/chconf.h | 24 | ||||
| -rw-r--r-- | demos/Win32-MinGW/chconf.h | 29 | 
10 files changed, 240 insertions, 5 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/chconf.h b/demos/ARM7-AT91SAM7X-GCC/chconf.h index f06a707b6..57cc9d013 100644 --- a/demos/ARM7-AT91SAM7X-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-GCC/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h index f06a707b6..57cc9d013 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/ARM7-LPC214x-G++/chconf.h b/demos/ARM7-LPC214x-G++/chconf.h index 847a62d4a..292074816 100644 --- a/demos/ARM7-LPC214x-G++/chconf.h +++ b/demos/ARM7-LPC214x-G++/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/ARM7-LPC214x-GCC-minimal/chconf.h b/demos/ARM7-LPC214x-GCC-minimal/chconf.h index 1302dac3e..206272504 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/chconf.h +++ b/demos/ARM7-LPC214x-GCC-minimal/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  //#define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/ARM7-LPC214x-GCC/chconf.h b/demos/ARM7-LPC214x-GCC/chconf.h index f06a707b6..57cc9d013 100644 --- a/demos/ARM7-LPC214x-GCC/chconf.h +++ b/demos/ARM7-LPC214x-GCC/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/ARMCM3-STM32F103-GCC/chconf.h b/demos/ARMCM3-STM32F103-GCC/chconf.h index f06a707b6..57cc9d013 100644 --- a/demos/ARMCM3-STM32F103-GCC/chconf.h +++ b/demos/ARMCM3-STM32F103-GCC/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/AVR-AT90CANx-GCC/chconf.h b/demos/AVR-AT90CANx-GCC/chconf.h index 132bc4f15..eca46b974 100644 --- a/demos/AVR-AT90CANx-GCC/chconf.h +++ b/demos/AVR-AT90CANx-GCC/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/AVR-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h index 58f0fca7e..c44cd39d5 100644 --- a/demos/AVR-ATmega128-GCC/chconf.h +++ b/demos/AVR-ATmega128-GCC/chconf.h @@ -34,6 +34,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -172,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/MSP430-MSP430x1611-GCC/chconf.h b/demos/MSP430-MSP430x1611-GCC/chconf.h index 8087f679f..0d1773a6a 100644 --- a/demos/MSP430-MSP430x1611-GCC/chconf.h +++ b/demos/MSP430-MSP430x1611-GCC/chconf.h @@ -35,6 +35,13 @@   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -173,6 +180,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
 diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h index f16918f72..71a2cf36e 100644 --- a/demos/Win32-MinGW/chconf.h +++ b/demos/Win32-MinGW/chconf.h @@ -29,16 +29,18 @@  #ifndef _CHCONF_H_
  #define _CHCONF_H_
 -/*
 - * NOTE: this is just documentation for doxigen, the real configuration file
 - * is the one into the project directories.
 - */
 -
  /** Configuration option: if specified then time efficient rather than space
   *  efficient code is used when two possible implementations exist, note
   *  that this is not related to the compiler optimization options.*/
  #define CH_OPTIMIZE_SPEED
 +/** Configuration option: it specified this option enables the \p Thread
 + *  extension fields and initiazation code.
 + * @see THREAD_EXT_FIELDS
 + * @see THREAD_EXT_INIT
 + */
 +//#define CH_USE_THREAD_EXT
 +
  /** Configuration option: if specified then the Virtual Timers subsystem is
   *  included in the kernel.*/
  #define CH_USE_VIRTUAL_TIMERS
 @@ -177,6 +179,23 @@   */
  //#define CH_USE_TRACE
 +/** User fields added to the end of the \p Thread structure if the
 + * \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_FIELDS                                               \
 +struct {                                                                \
 +  /* Add fields here.*/                                                 \
 +};
 +
 +/** User initialization code added to the \p chThdCreate() API if the
 + *  \p CH_USE_THREAD_EXT option is enabled.
 + * @see CH_USE_THREAD_EXT
 + */
 +#define THREAD_EXT_INIT(tp) {                                           \
 +  /* Add initialization code here.*/                                    \
 +}
 +
  #endif  /* _CHCONF_H_ */
  /** @} */
  | 
