diff options
| author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-08-28 13:34:46 +0000 | 
|---|---|---|
| committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-08-28 13:34:46 +0000 | 
| commit | 7768c51b7b1ef0becc4090705a9bd2f14aa28d00 (patch) | |
| tree | f03950876677269ffd9bda76b4df4bb6cbbe5e5e /demos | |
| parent | c1b95a7182aa0884133b3e12477d7cb7fb97ee63 (diff) | |
| download | ChibiOS-7768c51b7b1ef0becc4090705a9bd2f14aa28d00.tar.gz ChibiOS-7768c51b7b1ef0becc4090705a9bd2f14aa28d00.tar.bz2 ChibiOS-7768c51b7b1ef0becc4090705a9bd2f14aa28d00.zip | |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@412 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/chconf.h | 20 | ||||
| -rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h | 20 | ||||
| -rw-r--r-- | demos/ARM7-LPC214x-G++/chconf.h | 20 | ||||
| -rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/chconf.h | 20 | ||||
| -rw-r--r-- | demos/ARM7-LPC214x-GCC/chconf.h | 20 | ||||
| -rw-r--r-- | demos/ARMCM3-STM32F103-GCC/chconf.h | 20 | ||||
| -rw-r--r-- | demos/AVR-AT90CANx-GCC/chconf.h | 22 | ||||
| -rw-r--r-- | demos/AVR-ATmega128-GCC/chconf.h | 22 | ||||
| -rw-r--r-- | demos/MSP430-MSP430x1611-GCC/chconf.h | 22 | ||||
| -rw-r--r-- | demos/Win32-MinGW/chconf.h | 20 | 
10 files changed, 163 insertions, 43 deletions
| diff --git a/demos/ARM7-AT91SAM7X-GCC/chconf.h b/demos/ARM7-AT91SAM7X-GCC/chconf.h index b66e8f595..8d31e854a 100644 --- a/demos/ARM7-AT91SAM7X-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-GCC/chconf.h @@ -137,14 +137,26 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +//#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  #define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h index b66e8f595..8d31e854a 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h @@ -137,14 +137,26 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +//#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  #define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 diff --git a/demos/ARM7-LPC214x-G++/chconf.h b/demos/ARM7-LPC214x-G++/chconf.h index b66e8f595..c9b0b4c50 100644 --- a/demos/ARM7-LPC214x-G++/chconf.h +++ b/demos/ARM7-LPC214x-G++/chconf.h @@ -137,14 +137,26 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  #define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 diff --git a/demos/ARM7-LPC214x-GCC-minimal/chconf.h b/demos/ARM7-LPC214x-GCC-minimal/chconf.h index cfa407fc5..e81935083 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/chconf.h +++ b/demos/ARM7-LPC214x-GCC-minimal/chconf.h @@ -137,14 +137,26 @@   *  are included in the kernel.*/
  //#define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +//#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +//#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  //#define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -//#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 diff --git a/demos/ARM7-LPC214x-GCC/chconf.h b/demos/ARM7-LPC214x-GCC/chconf.h index b66e8f595..8d31e854a 100644 --- a/demos/ARM7-LPC214x-GCC/chconf.h +++ b/demos/ARM7-LPC214x-GCC/chconf.h @@ -137,14 +137,26 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +//#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  #define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 diff --git a/demos/ARMCM3-STM32F103-GCC/chconf.h b/demos/ARMCM3-STM32F103-GCC/chconf.h index b66e8f595..8d31e854a 100644 --- a/demos/ARMCM3-STM32F103-GCC/chconf.h +++ b/demos/ARMCM3-STM32F103-GCC/chconf.h @@ -137,14 +137,26 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +//#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  #define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 diff --git a/demos/AVR-AT90CANx-GCC/chconf.h b/demos/AVR-AT90CANx-GCC/chconf.h index bd9c528d2..594d28272 100644 --- a/demos/AVR-AT90CANx-GCC/chconf.h +++ b/demos/AVR-AT90CANx-GCC/chconf.h @@ -137,13 +137,25 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 -/** Configuration option: if specified then the memory pools allocator APIs
 +/** Configuration option: if specified then the memory heap allocator APIs
   *  are included in the kernel.*/
 -//#define CH_USE_MEMPOOLS
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -//#define CH_MEMPOOLS_PROVIDE_SBRK
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +#define CH_USE_MALLOC_HEAP
 +
 +/** Configuration option: if specified then the memory pools allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_MEMPOOLS
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
 diff --git a/demos/AVR-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h index bd9c528d2..594d28272 100644 --- a/demos/AVR-ATmega128-GCC/chconf.h +++ b/demos/AVR-ATmega128-GCC/chconf.h @@ -137,13 +137,25 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 -/** Configuration option: if specified then the memory pools allocator APIs
 +/** Configuration option: if specified then the memory heap allocator APIs
   *  are included in the kernel.*/
 -//#define CH_USE_MEMPOOLS
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -//#define CH_MEMPOOLS_PROVIDE_SBRK
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +#define CH_USE_MALLOC_HEAP
 +
 +/** Configuration option: if specified then the memory pools allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_MEMPOOLS
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
 diff --git a/demos/MSP430-MSP430x1611-GCC/chconf.h b/demos/MSP430-MSP430x1611-GCC/chconf.h index 521aae128..2205cdd33 100644 --- a/demos/MSP430-MSP430x1611-GCC/chconf.h +++ b/demos/MSP430-MSP430x1611-GCC/chconf.h @@ -138,13 +138,25 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 -/** Configuration option: if specified then the memory pools allocator APIs
 +/** Configuration option: if specified then the memory heap allocator APIs
   *  are included in the kernel.*/
 -//#define CH_USE_MEMPOOLS
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 0
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -//#define CH_MEMPOOLS_PROVIDE_SBRK
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +#define CH_USE_MALLOC_HEAP
 +
 +/** Configuration option: if specified then the memory pools allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_MEMPOOLS
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
 diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h index 674d747c1..0912c3f6d 100644 --- a/demos/Win32-MinGW/chconf.h +++ b/demos/Win32-MinGW/chconf.h @@ -142,14 +142,26 @@   *  are included in the kernel.*/
  #define CH_USE_SERIAL_HALFDUPLEX
 +/** Configuration option: if specified then the memory heap allocator APIs
 + *  are included in the kernel.*/
 +#define CH_USE_HEAP
 +
 +/** Configuration option: Number of RAM bytes to use as system heap. If set to
 + *  zero then the whole available RAM is used as system heap.
 + * @note In order to use the whole RAM as system heap the linker script must
 + *       provide the \p __heap_base__ and \p __heap_end__ symbols.
 + * @note requires \p CH_USE_HEAP.
 + */
 +#define CH_HEAP_SIZE 16384
 +
 +/** Configuration option: enforces the use of the C-runtime \p malloc() and
 + *  \p free() functions as backend for the system heap allocator.*/
 +//#define CH_USE_MALLOC_HEAP
 +
  /** Configuration option: if specified then the memory pools allocator APIs
   *  are included in the kernel.*/
  #define CH_USE_MEMPOOLS
 -/** Configuration option: if specified then the memory pools allocator
 -    provides an implementation of the sbrk() function.*/
 -#define CH_MEMPOOLS_PROVIDE_SBRK
 -
  /** Configuration option: Frequency of the system timer that drives the system
   *  ticks. This also defines the system time unit.*/
  #define CH_FREQUENCY 1000
 | 
