From 90ffae2609fe4f8b2132b9f5bc4debc97026c0eb Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 18 May 2012 23:08:34 +0000 Subject: [PATCH] Final refactoring and implementation of delayed window deletion logic. Works worse now, but the changes are important and need to be checked in now git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4747 42af7a65-404d-4744-a932-0658087f49c3 --- configs/sim/nxwm/defconfig | 14 ++++++++++---- configs/stm3240g-eval/nxwm/defconfig | 4 ++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/configs/sim/nxwm/defconfig b/configs/sim/nxwm/defconfig index 75afe862a9..3daa60f668 100644 --- a/configs/sim/nxwm/defconfig +++ b/configs/sim/nxwm/defconfig @@ -162,6 +162,7 @@ CONFIG_SIM_TOUCHSCREEN=n # the worker thread. Default: 4 # CONFIG_SCHED_WAITPID - Enable the waitpid() API # CONFIG_SCHED_ATEXIT - Enabled the atexit() API +# CONFIG_SCHED_ONEXIT - Enabled the on_exit() API # #CONFIG_APPS_DIR= CONFIG_DEBUG=n @@ -195,6 +196,7 @@ CONFIG_SCHED_WORKPERIOD=(50*1000) CONFIG_SCHED_WORKSTACKSIZE=8192 CONFIG_SCHED_WAITPID=y CONFIG_SCHED_ATEXIT=n +CONFIG_SCHED_ONEXIT=y # # The following can be used to disable categories of @@ -557,11 +559,14 @@ CONFIG_NX_MXCLIENTMSGS=16 # NxWidgets / NxWM # # Use all defaults except -# 1. Need an especially big server stack size to work with X -# 2. Make the NxWidgets background color match the NxWM back color -# 3. Taskbar on the left -# 4. Bigger stack for NxConsole +# 1. 32 bits-per-pixel +# 2. Need an especially big server stack size to work with X +# 3. Make the NxWidgets background color match the NxWM back color +# 4. Taskbar on the left +# 5. Bigger stack for NxConsole +# 6. No touchscreen # +CONFIG_NXWIDGETS_BPP=32 CONFIG_NXWIDGETS_SERVERSTACK=16384 CONFIG_NXWIDGETS_LISTENERSTACK=8192 CONFIG_NXWIDGETS_DEFAULT_BACKGROUNDCOLOR=MKRGB(148,189,215) @@ -571,6 +576,7 @@ CONFIG_NXWIDGETS_DEFAULT_SHADOWEDGECOLOR=MKRGB(35,58,73) CONFIG_NXWM_TASKBAR_LEFT=y CONFIG_NXWM_NXCONSOLE_STACKSIZE=8192 CONFIG_NXWM_UNITTEST=y +CONFIG_NXWM_TOUCHSCREEN=n # # NxConsole Configuration Settings: diff --git a/configs/stm3240g-eval/nxwm/defconfig b/configs/stm3240g-eval/nxwm/defconfig index 0633a03f4b..2a3cf3c86d 100644 --- a/configs/stm3240g-eval/nxwm/defconfig +++ b/configs/stm3240g-eval/nxwm/defconfig @@ -512,7 +512,7 @@ CONFIG_HAVE_LIBM=n # the worker thread. Default: 4 # CONFIG_SCHED_WAITPID - Enable the waitpid() API # CONFIG_SCHED_ATEXIT - Enabled the atexit() API -# CONFIG_SCHED_ONEXIT - Enabled the atexit() API +# CONFIG_SCHED_ONEXIT - Enabled the on_exit() API # #CONFIG_APPS_DIR= CONFIG_DEBUG=n @@ -710,7 +710,7 @@ CONFIG_NAME_MAX=32 CONFIG_STDIO_BUFFER_SIZE=64 CONFIG_STDIO_LINEBUFFER=y CONFIG_NUNGET_CHARS=2 -CONFIG_PREALLOC_MQ_MSGS=8 +CONFIG_PREALLOC_MQ_MSGS=32 CONFIG_MQ_MAXMSGSIZE=48 CONFIG_MAX_WDOGPARMS=2 CONFIG_PREALLOC_WDOGS=8