From 3b23ee2703a28a1b46bbd3eb4835b05ae321de29 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 4 Mar 2007 15:23:22 +0000 Subject: Add capability to manager memory in discontiguous regions. git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@35 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/tools/mkconfig.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuttx/tools/mkconfig.c') diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c index e7394702f..668e2a945 100644 --- a/nuttx/tools/mkconfig.c +++ b/nuttx/tools/mkconfig.c @@ -225,6 +225,10 @@ int main(int argc, char **argv, char **envp) printf("# undef CONFIG_NFILE_STREAMS\n"); printf("# define CONFIG_NFILE_STREAMS 0\n"); printf("#endif\n\n"); + printf("/* There must be at least one memory region. */\n\n"); + printf("#ifndef CONFIG_MM_REGIONS\n"); + printf("# define CONFIG_MM_REGIONS 1\n"); + printf("#endif\n\n"); printf("/* If no file streams are configured, then make certain that\n"); printf(" * buffered I/O support is disabled.\n"); printf(" */\n\n"); -- cgit v1.2.3