File: tos-storage-at45db.1

package info (click to toggle)
tinyos-tools 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,140 kB
  • ctags: 1,626
  • sloc: cpp: 10,398; sh: 1,229; python: 1,200; ansic: 562; makefile: 305; xml: 24
file content (33 lines) | stat: -rw-r--r-- 1,547 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TH tos-storage-at45db 1 "Feb 3, 2006"
.SH NAME

tos-storage-at45db - Generate storage volume description code
.SH SYNOPSIS

\fBtos-storage-at45db\fR [\fB-t\fR] [\fB-s\fR <sector size>] [\fB-f\fR <flash size in sectors>] \fIplatform-directory\fR
.SH DESCRIPTION

\fBtos-storage-at45db\fR reads a user specification describing the layout
of storage volumes on an Atmel AT45DB-family flash chip, and generates code
describing that layout for use by the TinyOS 2.0 storage subsystem.  The
user specification is in XML and is read from standard input. With all options,
the code for a header file is written to standard output.  With the 
optional \fB-t\fR flag specified, a VolumeMapC.nc file is generated that provides 
interfaces to all the storage volume abstractions defined in the XML file.
The optional \fB-s\fR flag specifies the sector size on the flash, the default is 256.
The optional \fB-f\fR flag specifies the total number of sectors on the flash, the default is 2048.

The mandatory \fIplatform-directory\fR argument should specify the platform 
directory for the current compilation target; this is necessary for the correct 
handling of file include statements in the XML input.

This program is normally invoked automatically by the TinyOS build system
when your application directory contains a \fBvolumes-at45db.xml\fR file.
.SH EXAMPLES

  tos-storage-at45db -t /opt/tinyos-2.x/tos/platforms/mica2 \\
      <volumes-at45db.xml >build/mica2/StorageVolumes.h
.SH SEE ALSO

.IR tos-storage-stm25p (1) 
.IR tos-storage-pxa27xp30 (1)