aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW
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/Win32-MinGW
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/Win32-MinGW')
-rw-r--r--demos/Win32-MinGW/chconf.h8
-rw-r--r--demos/Win32-MinGW/chtypes.h1
2 files changed, 9 insertions, 0 deletions
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_)