From 60c0de010a56a3012e99fb9e4e6d64717401b2cb Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 19 Jan 2011 20:02:23 +0000 Subject: [PATCH] Fix issues detected by CppCheck tool git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3261 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttxPortingGuide.html | 38 +++++++++++++++++++++++- arch/arm/src/dm320/dm320_boot.c | 2 +- arch/arm/src/dm320/dm320_usbdev.c | 6 ++-- arch/arm/src/imx/imx_boot.c | 2 +- arch/z80/src/z8/z8_registerdump.c | 4 +-- configs/README.txt | 31 +++++++++++++++++++- drivers/mtd/skeleton.c | 4 +-- drivers/usbhost/usbhost_hidkbd.c | 42 +++++++++++++------------- examples/poll/poll_main.c | 44 ++++++++++++++++++++-------- graphics/nxbe/nxbe_closewindow.c | 8 +++-- graphics/nxbe/nxbe_colormap.c | 4 +-- graphics/nxsu/nxsu_reportposition.c | 5 ++-- lib/lib_dtoa.c | 4 +-- mm/mm_memalign.c | 4 +-- 14 files changed, 143 insertions(+), 55 deletions(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 0eb4e6f449a..81f819260d1 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: January 16, 2011

+

Last Updated: January 19, 2011

@@ -3622,6 +3622,42 @@ build CONFIG_USBHOST_ISOC_DISABLE: On some architectures, selecting this setting will reduce driver size by disabling isochronous endpoint support +

USB Host HID Class Driver

+

+ Requires CONFIG_USBHOST=y, CONFIG_USBHOST_INT_DISABLE=n, CONFIG_NFILE_DESCRIPTORS > 0, + CONFIG_SCHED_WORKQUEUE=y, and CONFIG_DISABLE_SIGNALS=n. +

+ +

USB Host HID Mass Storage Class Driver

+

+ Requires CONFIG_USBHOST=y, CONFIG_USBHOST_BULK_DISABLE=n, CONFIG_NFILE_DESCRIPTORS > 0, + and CONFIG_SCHED_WORKQUEUE=y. +

Graphics related configuration settings