aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-08-26 10:38:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-08-26 10:38:29 +0000
commitac6b3caba1b75ca603e63946f8ca7f54c7ab598f (patch)
treea26d3124642e83737aa8dfef27933c4d9e2e4247 /demos
parentf3c6388ed54a5b50a4fab613822c4d176b9e346c (diff)
downloadChibiOS-ac6b3caba1b75ca603e63946f8ca7f54c7ab598f.tar.gz
ChibiOS-ac6b3caba1b75ca603e63946f8ca7f54c7ab598f.tar.bz2
ChibiOS-ac6b3caba1b75ca603e63946f8ca7f54c7ab598f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@407 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARM7-AT91SAM7X-GCC/chconf.h8
-rw-r--r--demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h8
-rw-r--r--demos/ARM7-LPC214x-G++/chconf.h8
-rw-r--r--demos/ARM7-LPC214x-GCC-minimal/chconf.h8
-rw-r--r--demos/ARM7-LPC214x-GCC/chconf.h8
-rw-r--r--demos/ARMCM3-STM32F103-GCC/chconf.h8
-rw-r--r--demos/AVR-AT90CANx-GCC/chconf.h8
-rw-r--r--demos/AVR-ATmega128-GCC/chconf.h8
-rw-r--r--demos/MSP430-MSP430x1611-GCC/chconf.h8
-rw-r--r--demos/Win32-MinGW/chconf.h8
-rw-r--r--demos/Win32-MinGW/chtypes.h1
11 files changed, 81 insertions, 0 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/chconf.h b/demos/ARM7-AT91SAM7X-GCC/chconf.h
index 8db71b445..b66e8f595 100644
--- a/demos/ARM7-AT91SAM7X-GCC/chconf.h
+++ b/demos/ARM7-AT91SAM7X-GCC/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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 8db71b445..b66e8f595 100644
--- a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h
+++ b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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 8db71b445..b66e8f595 100644
--- a/demos/ARM7-LPC214x-G++/chconf.h
+++ b/demos/ARM7-LPC214x-G++/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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 9f903df06..cfa407fc5 100644
--- a/demos/ARM7-LPC214x-GCC-minimal/chconf.h
+++ b/demos/ARM7-LPC214x-GCC-minimal/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
//#define CH_USE_SERIAL_HALFDUPLEX
+/** 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 8db71b445..b66e8f595 100644
--- a/demos/ARM7-LPC214x-GCC/chconf.h
+++ b/demos/ARM7-LPC214x-GCC/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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 8db71b445..b66e8f595 100644
--- a/demos/ARMCM3-STM32F103-GCC/chconf.h
+++ b/demos/ARMCM3-STM32F103-GCC/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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 fca0159a2..182ba1a9b 100644
--- a/demos/AVR-AT90CANx-GCC/chconf.h
+++ b/demos/AVR-AT90CANx-GCC/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h
index fca0159a2..182ba1a9b 100644
--- a/demos/AVR-ATmega128-GCC/chconf.h
+++ b/demos/AVR-ATmega128-GCC/chconf.h
@@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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/MSP430-MSP430x1611-GCC/chconf.h b/demos/MSP430-MSP430x1611-GCC/chconf.h
index 7e29d314e..336c0d6b0 100644
--- a/demos/MSP430-MSP430x1611-GCC/chconf.h
+++ b/demos/MSP430-MSP430x1611-GCC/chconf.h
@@ -138,6 +138,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h
index b17295c65..674d747c1 100644
--- a/demos/Win32-MinGW/chconf.h
+++ b/demos/Win32-MinGW/chconf.h
@@ -142,6 +142,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
+/** 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/Win32-MinGW/chtypes.h b/demos/Win32-MinGW/chtypes.h
index 0b74459bc..6f8662bd9 100644
--- a/demos/Win32-MinGW/chtypes.h
+++ b/demos/Win32-MinGW/chtypes.h
@@ -22,6 +22,7 @@
#define __need_NULL
#define __need_size_t
+#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)