⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nesdoc.1

📁 tinyos2.0版本驱动
💻 1
字号:
.TH nesdoc 1 "April 27, 2004".LO 1.SH NAMEnesdoc - generate TinyOS documentation.SH SYNOPSISTinyOS 1.x usage:.br\fBnesdoc\fR [\fIdocumentation-directory\fR] [\fIncc-options\fR] \fIfiles...\fRTinyOS 2.x: collect documentation from a program:.br\fBnesdoc\fR -o \fIdocumentation-directory\fR [\fB-preserve\fR]       [\fB-new\fR] [\fB-quiet\fR] [\fB-target=\fIplatform\fR] [\fB-topdir=\fIdirectory\fR]       [\fIncc-options\fR] \fIfiles...\fRTinyOS 2.x: generate nesdoc HTML pages:.br\fBnesdoc\fR -o \fIdocumentation-directory\fR \fB-html\fR       [\fB-new\fR] [\fB-quiet\fR] [\fB-target=\fIplatform\fR].SH DESCRIPTION\fBnesdoc\fR is a tool to automatically extract documentation from nesCfiles and applications. There are two implementations of nesdoc: an oldone that is used by default with TinyOS 1.x trees, and a new used withTinyOS 2.x trees or when the \fB-new\fR option is specified. It is notpossible to use the old implementation with TinyOS 2.x.Documentation directories have a subdirectory for each platform, andcontain HTML files describing the components and interfaces in TinyOS.nesdoc generates these files by compiling nesC programs and extracting thedocumentation information.When invoked, \fBnesdoc\fR generates documentation for the program thatwould be compiled with    \fBncc\fR \fIncc-options\fR \fIfiles...\fRThe old nesdoc adds an HTML file for each component, interface in thecompiled application to the documentation directory, and updates severalindices. The old nesdoc does not support generic components or interfaces.The new nesdoc separates HTML generation into two phases. First, anapplication is compiled and XML descriptions of its components and interfaces are added to the documentation directory. Once XML descriptionshave been extracted for all components of interest, HTML pages aregenerated from this repository by running \fBnesdoc\fR with the \fB-html\fRoption.For more details, see the separate \fBnesdoc\fR documentation..SH OPTIONS.TP\fB-target=\fIplatform\fRSpecify the platform for which documentation is generated..TP\fB-preserve\fRBy default, when collecting information, nesdoc overwrites existing XMLdescriptions of interfaces and components to ensure that they are up to date. However, this is slow when generating documentation on a large number of applications. If you pass the \fB-preserve\fR option, existingXML descriptions are not replaced..TP\fB-html\fRGenerate HTML pages for all the nesdoc information collected in \fIdocumentation-directory\fR.\fB-new\fRForce the use of the new nesdoc even when using a TinyOS 1.x source tree..TP\fB-quiet\fRDon't print informational messages..TP\fB-topdir=\fIdir\fR Specify directory paths that should be stripped from the source file nameswhen generating "package names" for the documentation files.  The directoryabove \fBTOSDIR\fR is automatically added, so this option is only needed fordirectories outside the main TinyOS distribution..SH SEE ALSO.IR ncc (1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -