Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ard-parse-boards(1) [debian man page]

ARD-PARSE-BOARDS(1)					      General Commands Manual					       ARD-PARSE-BOARDS(1)

NAME
ard-parse-boards - Read data from the Arduino boards.txt file USAGE
Dump all the data in the file: $ ard-parse-boards --dump See which boards we know about: $ ard-parse-boards --boards Look for a particular board... $ ard-parse-boards --find uno multiple terms are implicitly ANDed: $ ard-parse-boards --find duemil 328 Dump all the data for a particular board: $ ard-parse-boards atmega328 Extract a particular field: $ ard-parse-boards atmega328 build.f_cpu DESCRIPTION
The Arduino software package ships with a boards.txt file which tells the Arduino IDE details about particular hardware. So when the user says he's got a shiny new Arduino Uno, boards.txt knows that it has a 16MHz ATmega328 on it. It would be nice to access these data from the command line too. In normal operation you simply specify the tag given to the board in the boards.txt file, and optionally a field name. This program then extracts the data to STDOUT. Most boards have names which are quite unwieldy, so we always refer to a board by a tag, not its name. Strictly the tag is the bit before the first dot in the boards.txt key. You can see a list of board tags and names with the "--boards" option. OPTIONS
--boards_txt=[file] Specify the full path to the boards.txt file. The following options all disable the normal 'lookup' operation. --dump Dump the complete database in YAML format. --boards Print a list of the tag and name of every board in the file. --find [query] <query> ... Find matching data. Strictly, return a list of values which match all of the query terms, treating each term as a case-insensitive regexp. For example: --find 328 List data containing 328 (anywhere in the value). --find due List data containing 'due' (e.g. duemilanove). --find 328 due List data containing both 328 and due. BUGS AND LIMITATIONS
There are no known bugs in this application. Please report problems to the author. Patches are welcome. AUTHOR
Martin Oldfield, ex-atelier@mjo.tc Thanks to Mark Sproul who suggested doing something like this to me ages ago. LICENSE AND COPYRIGHT
Copyright (c) 2011, Martin Oldfield. All rights reserved. This file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MAY 2012 ARD-PARSE-BOARDS(1)

Check Out this Related Man Page

BOCA(4) 						   BSD Kernel Interfaces Manual 						   BOCA(4)

NAME
boca -- multiplexing serial communications interface SYNOPSIS
For 4-port BB1004 boards: boca0 at isa? port 0x100 irq 5 com2 at boca? slave ? com3 at boca? slave ? com4 at boca? slave ? com5 at boca? slave ? For 8-port BB1008 boards: boca0 at isa? port 0x100 irq 5 com2 at boca? slave ? com3 at boca? slave ? com4 at boca? slave ? com5 at boca? slave ? com6 at boca? slave ? com7 at boca? slave ? com8 at boca? slave ? com9 at boca? slave ? For 16-port BB2016 boards: boca0 at isa? port 0x100 irq 5 com2 at boca? slave ? com3 at boca? slave ? com4 at boca? slave ? com5 at boca? slave ? com6 at boca? slave ? com7 at boca? slave ? com8 at boca? slave ? com9 at boca? slave ? boca1 at isa? port 0x140 irq 5 com10 at boca? slave ? com11 at boca? slave ? com12 at boca? slave ? com13 at boca? slave ? com14 at boca? slave ? com15 at boca? slave ? com16 at boca? slave ? com17 at boca? slave ? (The BB2016 is functionally equivalent to two BB1008 boards, and is configured as such.) DESCRIPTION
The boca driver provides support for BOCA Research BB1004, BB1008 and BB2016 boards that multiplex together up to four, eight or sixteen EIA RS-232C (CCITT V.28) communications interfaces. Each boca device is the master device for up to eight com devices. The kernel configuration specifies these com devices as slave devices of the boca device, as shown in the synopsis. The slave ID given for each com device determines which bit in the interrupt multiplexing regis- ter is tested to find interrupts for that device. The port specification for the boca device is used to compute the base addresses for the com subdevices and the port for the interrupt multiplexing register. FILES
/dev/tty?? SEE ALSO
com(4) HISTORY
The boca driver was written by Charles Hannum, based on the ast driver and source code from David Muir Sharnoff. David wishes to acknowledge the assistance of Jason Venner in determining how to use the BOCA boards. BSD
January 3, 1995 BSD
Man Page