From 08680a039b6ffc922731d9a1cfdff20ef204dbba Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 1 Mar 2007 21:05:55 +0000 Subject: This creates a 8051 build that can run in 24Kb of RAM git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@26 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/README.txt | 3 +++ nuttx/arch/c5471/defconfig | 5 +++++ nuttx/arch/sim/defconfig | 5 +++++ 3 files changed, 13 insertions(+) (limited to 'nuttx/arch') diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt index e10393c9f..629431a45 100644 --- a/nuttx/arch/README.txt +++ b/nuttx/arch/README.txt @@ -94,6 +94,7 @@ defconfig -- This is a configuration file similar to the Linux o pthread_condtimedwait() depends on signals to wake up waiting tasks. + CONFIG_DISABLE_CLOCK, CONFIG_DISABLE_PTHREAD. CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE Allow for architecture optimized implementations @@ -108,6 +109,8 @@ defconfig -- This is a configuration file similar to the Linux Sizes of configurable things (0 disables) + CONFIG_MAX_TASKS - The maximum number of simultaneously + active tasks. This value must be a power of two. CONFIG_NPTHREAD_KEYS - The number of items of thread- specific data that can be retained CONFIG_NFILE_DESCRIPTORS - The maximum number of file diff --git a/nuttx/arch/c5471/defconfig b/nuttx/arch/c5471/defconfig index 731f1d85c..d0d7c755b 100644 --- a/nuttx/arch/c5471/defconfig +++ b/nuttx/arch/c5471/defconfig @@ -125,6 +125,8 @@ CONFIG_DEV_CONSOLE=y # o pthread_condtimedwait() depends on signals to wake # up waiting tasks. # +CONFIG_DISABLE_CLOCK=n +CONFIG_DISABLE_PTHREAD=n CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=n @@ -158,6 +160,8 @@ CONFIG_RRLOAD_BINARY=y # # Sizes of configurable things (0 disables) # +# CONFIG_MAX_TASKS - The maximum number of simultaneously +# active tasks. This value must be a power of two. # CONFIG_NPTHREAD_KEYS - The number of items of thread- # specific data that can be retained # CONFIG_NFILE_DESCRIPTORS - The maximum number of file @@ -180,6 +184,7 @@ CONFIG_RRLOAD_BINARY=y # structures. The system manages a pool of preallocated # watchdog structures to minimize dynamic allocations # +CONFIG_MAX_TASKS=64 CONFIG_NPTHREAD_KEYS=4 CONFIG_NFILE_DESCRIPTORS=32 CONFIG_NFILE_STREAMS=16 diff --git a/nuttx/arch/sim/defconfig b/nuttx/arch/sim/defconfig index b20319e7a..58648c509 100644 --- a/nuttx/arch/sim/defconfig +++ b/nuttx/arch/sim/defconfig @@ -92,6 +92,8 @@ CONFIG_DEV_CONSOLE=y # o pthread_condtimedwait() depends on signals to wake # up waiting tasks. # +CONFIG_DISABLE_CLOCK=n +CONFIG_DISABLE_PTHREAD=n CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=n @@ -125,6 +127,8 @@ CONFIG_RRLOAD_BINARY=n # # Sizes of configurable things (0 disables) # +# CONFIG_MAX_TASKS - The maximum number of simultaneously +# active tasks. This value must be a power of two. # CONFIG_NPTHREAD_KEYS - The number of items of thread- # specific data that can be retained # CONFIG_NFILE_DESCRIPTORS - The maximum number of file @@ -147,6 +151,7 @@ CONFIG_RRLOAD_BINARY=n # structures. The system manages a pool of preallocated # watchdog structures to minimize dynamic allocations # +CONFIG_MAX_TASKS=64 CONFIG_NPTHREAD_KEYS=4 CONFIG_NFILE_DESCRIPTORS=32 CONFIG_NFILE_STREAMS=16 -- cgit v1.2.3