Adding basic framework for NXFLAT

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1887 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-06-16 13:26:07 +00:00
parent e29fdf0267
commit 00819643d0
9 changed files with 470 additions and 8 deletions
+6
View File
@@ -214,6 +214,12 @@ int main(int argc, char **argv, char **envp)
printf("/* Architecture-specific options *************************/\n\n");
parse_file(stream);
printf("\n/* Sanity Checks *****************************************/\n\n");
printf("/* If this is an NXFLAT, external build, then make sure that\n");
printf(" * NXFLAT support is enabled in the base code.\n");
printf(" */\n\n");
printf("#if defined(__NXFLAT__) && !defined(CONFIG_NXFLAT)\n");
printf("# error \"NXFLAT support not enabled in this configuration\"\n");
printf("#endif\n\n");
printf("/* The correct way to disable RR scheduling is to set the\n");
printf(" * timeslice to zero.\n");
printf(" */\n\n");