]> oss.titaniummirror.com Git - tinyos-2.x.git/log
tinyos-2.x.git
13 years agoUpdate changelog, 2.1.1-4.3-1tmi debian/2.1.1-4.3-1tmi
R. Steve McKown [Wed, 26 May 2010 19:37:54 +0000 (13:37 -0600)]
Update changelog, 2.1.1-4.3-1tmi

13 years agoMerge branch 'master' into debian/2.1.1
R. Steve McKown [Wed, 26 May 2010 19:31:47 +0000 (13:31 -0600)]
Merge branch 'master' into debian/2.1.1

13 years agoUpdate tos-bsl. cp210x driver ioctls now based on SIOCDEVPRIVATE (0x89f0). release/2.1.1-4.3
R. Steve McKown [Wed, 26 May 2010 19:30:38 +0000 (13:30 -0600)]
Update tos-bsl.  cp210x driver ioctls now based on SIOCDEVPRIVATE (0x89f0).

13 years agoUpdate changelog. We are not ready to release new pkgs yet!
R. Steve McKown [Fri, 7 May 2010 21:50:27 +0000 (15:50 -0600)]
Update changelog.  We are not ready to release new pkgs yet!

13 years agoUpdate copyright date
R. Steve McKown [Fri, 7 May 2010 21:50:05 +0000 (15:50 -0600)]
Update copyright date

13 years agodebian/rules must use tinyos.files script as-is from upstream.
R. Steve McKown [Fri, 7 May 2010 21:47:25 +0000 (15:47 -0600)]
debian/rules must use tinyos.files script as-is from upstream.

Before the TMI enhancements were splitting tinyos.files into tinyos.files and
tinyos.filter, the latter containing the patterns to include and exclude.  Now
the TMI enhancements don't mess with these files, so we must use them as is.
This isn't very efficient, but it only happens at build time.

13 years agoUpdate git files from debian/2.1.0
R. Steve McKown [Fri, 7 May 2010 21:42:22 +0000 (15:42 -0600)]
Update git files from debian/2.1.0

13 years agoUpdate the gitbuilder template; we'll extract later back to debian/master.
R. Steve McKown [Fri, 7 May 2010 21:41:44 +0000 (15:41 -0600)]
Update the gitbuilder template; we'll extract later back to debian/master.

13 years agoAdd 'debian/' from commit 'f0a1460fb2ace37a731bcd2dab6727087d70a86c'
R. Steve McKown [Fri, 7 May 2010 21:11:43 +0000 (15:11 -0600)]
Add 'debian/' from commit 'f0a1460fb2ace37a731bcd2dab6727087d70a86c'

git-subtree-dir: debian
git-subtree-mainline: e9bfab607e051bae6afb47b44892ce37541d1b44
git-subtree-split: f0a1460fb2ace37a731bcd2dab6727087d70a86c

13 years agoMerge TinyOS 2.1.1 into master.
R. Steve McKown [Fri, 7 May 2010 20:42:29 +0000 (14:42 -0600)]
Merge TinyOS 2.1.1 into master.

How this merge was done:
* Rebase patchset/2.1.0-4.2 onto tinyos/2.1.1 as topic/patchup211
* cp topic/patchup211 tree to tmp dir
* Checkout master, rm all files, cp in from tmp dir, git add .

Future work on TinyOS 2.1.0 w/TMI enhancements via release/2.1.0.

13 years agoProper MSP_BSL_FLAGS for telosa and telosb based platforms using TMI modular tos...
R. Steve McKown [Thu, 6 May 2010 19:30:48 +0000 (13:30 -0600)]
Proper MSP_BSL_FLAGS for telosa and telosb based platforms using TMI modular tos-bsl.

13 years agoUpdate control files for 2.1.0-4.2. debian/master
R. Steve McKown [Thu, 6 May 2010 15:15:52 +0000 (09:15 -0600)]
Update control files for 2.1.0-4.2.

13 years agoUse HOME instead of tilde. Consistent use of quotes around TOSCFG. release/2.1.0 release/2.1.0-4.2
R. Steve McKown [Sat, 24 Apr 2010 01:32:09 +0000 (19:32 -0600)]
Use HOME instead of tilde.  Consistent use of quotes around TOSCFG.

13 years agoThe previous TOSROOT was being writting to TOSCFG.
R. Steve McKown [Sat, 24 Apr 2010 01:31:22 +0000 (19:31 -0600)]
The previous TOSROOT was being writting to TOSCFG.

13 years agoUpdate debian changelog 2.1.0-4.1-1tmi, new source 2.1.0-4.1.
R. Steve McKown [Fri, 23 Apr 2010 23:13:28 +0000 (17:13 -0600)]
Update debian changelog 2.1.0-4.1-1tmi, new source 2.1.0-4.1.

13 years agoDon't hard-code for ncc in mig and ncg scripts. release/2.1.0-4.1
R. Steve McKown [Fri, 23 Apr 2010 22:39:53 +0000 (16:39 -0600)]
Don't hard-code for ncc in mig and ncg scripts.

The rationalization for this change is that nesc shouldn't really know where
tinyos-tools is installed, since they are separate packages.  The pragmatic
reason for this change is that it allows using ncc from tinyos-tools before
installation to allow a single debian tinyos source package to build both
tinyos-tools and tinyos-source-VERSION packages.

13 years agoRun tos-install-jni at postinstall time.
R. Steve McKown [Fri, 23 Apr 2010 19:00:17 +0000 (13:00 -0600)]
Run tos-install-jni at postinstall time.

13 years agoRebuild the tinyos.jar file in support/sdk/java.
R. Steve McKown [Fri, 23 Apr 2010 19:50:13 +0000 (13:50 -0600)]
Rebuild the tinyos.jar file in support/sdk/java.

13 years agoGet rid of TOS and use TOSDIR like the other Makefiles in support/sdk/java.
R. Steve McKown [Fri, 23 Apr 2010 21:52:33 +0000 (15:52 -0600)]
Get rid of TOS and use TOSDIR like the other Makefiles in support/sdk/java.

13 years agoFix trailing spaces in cp210xrtmodule.c
R. Steve McKown [Fri, 23 Apr 2010 18:30:21 +0000 (12:30 -0600)]
Fix trailing spaces in cp210xrtmodule.c

13 years agoFix tmicore's PlatformSerialC to provide the conventional set of interfaces.
R. Steve McKown [Fri, 23 Apr 2010 18:24:41 +0000 (12:24 -0600)]
Fix tmicore's PlatformSerialC to provide the conventional set of interfaces.

13 years agoImproved tinyos.sh
R. Steve McKown [Fri, 23 Apr 2010 16:25:39 +0000 (10:25 -0600)]
Improved tinyos.sh

* Automatically installs tinyos.sh into user shell rc files when sourced.
* Adds an uninstall option if a user no longer wants to do TinyOS dev.
* Smarter handling of CLASSPATH.
* tinyos.jar is added to CLASSPATH instead of support/sdk/java.  The latter is
  a TOS 1.x idiom.
* Better error and help messages.

13 years agoIncorporate new license terms from Sporian Microsystems
R. Steve McKown [Thu, 22 Apr 2010 22:48:27 +0000 (16:48 -0600)]
Incorporate new license terms from Sporian Microsystems

TMI has been granted the right to release derivative works via the modified BSD
license as used by TinyOS, etc.

13 years agoFix copyrights now that Sporian has granted TMI the right to create derivative release/2.1.0-4
R. Steve McKown [Thu, 22 Apr 2010 22:39:08 +0000 (16:39 -0600)]
Fix copyrights now that Sporian has granted TMI the right to create derivative
works releasable under tos-bsl's BSD license.

13 years agoUpdate integration branch for release/2.1.0-4.
R. Steve McKown [Thu, 22 Apr 2010 21:56:30 +0000 (15:56 -0600)]
Update integration branch for release/2.1.0-4.

14 years agoSubstitue for newest getTime32() by Miklos.
R. Steve McKown [Sat, 13 Feb 2010 01:19:10 +0000 (18:19 -0700)]
Substitue for newest getTime32() by Miklos.

14 years agoUpstream commits to tos/chips/cc2420, Aug 7 2008 thru Jul 16 2009, except one.
R. Steve McKown [Fri, 13 Nov 2009 23:47:49 +0000 (16:47 -0700)]
Upstream commits to tos/chips/cc2420, Aug 7 2008 thru Jul 16 2009, except one.

commit df004818be0944a5459b2d23dd4b49c55b716448
    kusy <kusy> Thu Aug 7 00:06:53 2008 +0000
    Previously reported timestamping bug was only fixed partially: *timesync...

NOT COMMITTED f8120ec47efebf578a6edf99882d009ea6dedcd1
    kusy <kusy> Wed Aug 13 07:37:05 2008 +0000
    Fixing T32khz to TMilli conversion - coeficient 32 needs to be...

commit 42b450d2e6d5eda17245d38f4d2bceb6b60e5400
    rincon <rincon> Mon Aug 18 22:04:15 2008 +0000
    Added a length check to make sure we don't try to send a packet that is...

commit 62d558a6db9cf823c7926fc74ed5610a0dcbad23
    rincon <rincon> Fri Sep 5 20:39:00 2008 +0000
    added more descriptive comments about the header

commit 72c8a4f1a2b4f331aeedc6bfd5262253ce8d6d04
    janhauer <janhauer> Wed Nov 26 10:13:31 2008 +0000
    Added an interface for accessing the RXFIFO in a non-split phase...

commit 10c02f9ece9b5ee20aa93c877d70fa6689ef7a7d
    razvanm <razvanm> Mon Dec 1 19:56:53 2008 +0000
    Remove a redundant definition.

commit 979965da13886883fe7399d60ff4d025f53bfd4c
    razvanm <razvanm> Mon Dec 1 23:51:38 2008 +0000
    Add a comment about the polarity of FIFOP.

commit 98d4eae39755d369b001971ec9c5f1dd741bc82d
    andreaskoepke <andreaskoepke> Wed Dec 17 17:42:22 2008 +0000
    avoid integer overflow

commit 31bef23ef3377514af595000d2fa2cce07bd4531
    kusy <kusy> Fri Feb 6 06:38:49 2009 +0000
    committing new timestamping code

commit 9be3c9111199378d00acd0d946a0c1772947165a
    kusy <kusy> Mon Mar 2 07:02:32 2009 +0000
    timestamping patch: improved test to fall-through on SFD

commit cd6c99ffa038524d2532860acb79e3ba52540ad7
    kusy <kusy> Thu Jul 16 06:41:41 2009 +0000
    Using AMSenderC infrastructure to fix CTP+FTSP bug

commit fbde8e8b590651b32583d9250bb4921d5b6ab1a3
    kusy <kusy> Thu Jul 16 06:46:07 2009 +0000
    thomas's FTSP patch

14 years agoPatch incorporate changes on CVS head through 8/23/09 for tos/lib/ftsp only.
R. Steve McKown [Tue, 25 Aug 2009 03:13:21 +0000 (21:13 -0600)]
Patch incorporate changes on CVS head through 8/23/09 for tos/lib/ftsp only.

14 years agoFix startup in SoftwareInit.init overwriting changes to StateC's.
R. Steve McKown [Mon, 19 Apr 2010 22:13:15 +0000 (16:13 -0600)]
Fix startup in SoftwareInit.init overwriting changes to StateC's.

If a component wires its Init.init() via SoftwareInit and ncc calls
StateImplP.Init.init() after the component's Init.init(), any change to its
StateC, such as call State.forceState(), is undone.  The easy fix is to remove
the extra initiation of state[] in StateImplP.Init.init(), since state[] is a
static and is guaranteed to have members with value zero (S_IDLE).

14 years agoUSCI fixes.
R. Steve McKown [Thu, 8 Apr 2010 01:16:46 +0000 (19:16 -0600)]
USCI fixes.

* Watch out for sendData() clobbering TXBUF.
* May solve a loss of UART TX chars.
* USCI UartStream.send() gains nothing by immediately sending the 1st byte.
* m_sobuf cannot be null in Interrupts.tx, so remove the check.

14 years agoLet UartByte.send() interleave with any in-progress UartStream.send().
R. Steve McKown [Thu, 8 Apr 2010 13:46:32 +0000 (07:46 -0600)]
Let UartByte.send() interleave with any in-progress UartStream.send().

14 years agoSome comments about the UART ISRs.
R. Steve McKown [Thu, 8 Apr 2010 00:46:48 +0000 (18:46 -0600)]
Some comments about the UART ISRs.

14 years agoRemove redundant atomic blocks.
R. Steve McKown [Thu, 8 Apr 2010 00:17:22 +0000 (18:17 -0600)]
Remove redundant atomic blocks.

14 years agoFix USCI hanging caused by clearing the TXIFG bit.
R. Steve McKown [Thu, 8 Apr 2010 00:12:00 +0000 (18:12 -0600)]
Fix USCI hanging caused by clearing the TXIFG bit.

Also removed the commands that allow set/clear of TXIFG, as there is never a
valid reason to do so.

14 years agoImprove interrupt handling for USCI.
R. Steve McKown [Thu, 8 Apr 2010 00:02:56 +0000 (18:02 -0600)]
Improve interrupt handling for USCI.

Because some interrupts share an interrupt vector, we use the relevant interrupt
enable bit to decide if any user is interested in the interrupt.  If not, that
interrupt is skipped so that another interrupt in the if/then/elseif chain can
be taken.  We also defensively try to prevent I2C interrupts from being a
problem if not used, although no I2C code using these interrupts has yet been
written.

14 years agoFix last UartSend.send() lost when immediately followed by UartStream.send().
R. Steve McKown [Wed, 7 Apr 2010 19:54:02 +0000 (13:54 -0600)]
Fix last UartSend.send() lost when immediately followed by UartStream.send().

14 years agoFix up a duplicate error message in tos-storage-stm25p.
R. Steve McKown [Tue, 13 Apr 2010 19:20:44 +0000 (13:20 -0600)]
Fix up a duplicate error message in tos-storage-stm25p.

14 years agoMake RS-232 signalling docs in tos-bsl easier to understand.
R. Steve McKown [Mon, 12 Apr 2010 23:04:37 +0000 (17:04 -0600)]
Make RS-232 signalling docs in tos-bsl easier to understand.

14 years agoTeach tos-storage-stm25p to derive NUM_SECTORS and SECTOR_SIZE.
R. Steve McKown [Thu, 8 Apr 2010 19:50:41 +0000 (13:50 -0600)]
Teach tos-storage-stm25p to derive NUM_SECTORS and SECTOR_SIZE.

The stm25p driver is suitable for different sizes of flash parts, such as the
commonly used 8Mb M25P80 and the less commonly used 1Mb M25P10A.  The driver
defines the flash configuration in Stm25p.h.  By having tos-storage-stm25p walk
the @includes for the platform, as found in the .platform file, each platform
can ensure that a Stm25p.h with correct content for its flash part is found
for use by the driver and this script.

14 years agoOlimex P169 platform.
R. Steve McKown [Thu, 4 Mar 2010 20:37:26 +0000 (13:37 -0700)]
Olimex P169 platform.

14 years agoRemove unnecessary wiring for tmicore and derivative platforms.
R. Steve McKown [Thu, 4 Mar 2010 23:36:58 +0000 (16:36 -0700)]
Remove unnecessary wiring for tmicore and derivative platforms.

14 years agoUse platform variable name to build make dependency.
R. Steve McKown [Thu, 4 Mar 2010 23:16:48 +0000 (16:16 -0700)]
Use platform variable name to build make dependency.

Minimize the patch to upstream official, so don't make the same modification to
target files for platforms we didn't create.

14 years agoUSCI using uint8_t for len instead of required uint16_t.
R. Steve McKown [Thu, 25 Feb 2010 21:00:16 +0000 (14:00 -0700)]
USCI using uint8_t for len instead of required uint16_t.

14 years agoFix typo in msp430 BusyWait32khzC.nc.
R. Steve McKown [Wed, 3 Feb 2010 01:12:52 +0000 (18:12 -0700)]
Fix typo in msp430 BusyWait32khzC.nc.

14 years agoMake USCI interrupt comments more clear and accurate.
R. Steve McKown [Fri, 15 Jan 2010 15:42:58 +0000 (08:42 -0700)]
Make USCI interrupt comments more clear and accurate.

14 years agoCollapse two sections that are exactly the same.
R. Steve McKown [Fri, 15 Jan 2010 15:32:26 +0000 (08:32 -0700)]
Collapse two sections that are exactly the same.

14 years agoMerge commit 'bc54b6cd239fe6f2a54b2fe2a1739ab58bde19e0' into debian/2.1.0
R. Steve McKown [Tue, 8 Dec 2009 21:58:32 +0000 (14:58 -0700)]
Merge commit 'bc54b6cd239fe6f2a54b2fe2a1739ab58bde19e0' into debian/2.1.0

Conflicts:
debian/changelog

14 years agoChange the maintainer and sign the package.
R. Steve McKown [Tue, 8 Dec 2009 21:26:22 +0000 (14:26 -0700)]
Change the maintainer and sign the package.

14 years agoUpdate changelog and .gbp.conf
R. Steve McKown [Mon, 7 Dec 2009 19:21:32 +0000 (12:21 -0700)]
Update changelog and .gbp.conf

14 years agoThe necessary mods to the source code necessary to build using our debian setup.
R. Steve McKown [Mon, 7 Dec 2009 19:25:21 +0000 (12:25 -0700)]
The necessary mods to the source code necessary to build using our debian setup.

14 years agoUpdate integration branch for release/2.1.0-3
R. Steve McKown [Mon, 7 Dec 2009 18:07:11 +0000 (11:07 -0700)]
Update integration branch for release/2.1.0-3

14 years agoSeparate filters in tools/release/tinyos.files for use by debian packaging too. release/2.1.0-3
R. Steve McKown [Mon, 7 Dec 2009 17:29:57 +0000 (10:29 -0700)]
Separate filters in tools/release/tinyos.files for use by debian packaging too.

14 years agoApparently tinyos does not require emacs to build.
R. Steve McKown [Mon, 7 Dec 2009 14:59:49 +0000 (07:59 -0700)]
Apparently tinyos does not require emacs to build.

For whatever reason, I cannot replicate the prior behavior where some emacs
based script was being ran.

14 years agodebian/control should not be in the repo; only debian/control.in.
R. Steve McKown [Fri, 4 Dec 2009 22:35:05 +0000 (15:35 -0700)]
debian/control should not be in the repo; only debian/control.in.

14 years agoFix debian/master changelog to fit our needs
R. Steve McKown [Fri, 4 Dec 2009 22:24:18 +0000 (15:24 -0700)]
Fix debian/master changelog to fit our needs

14 years agoThe necessary mods to the source code necessary to build using our debian setup.
R. Steve McKown [Fri, 4 Dec 2009 22:33:01 +0000 (15:33 -0700)]
The necessary mods to the source code necessary to build using our debian setup.

14 years agoAdd tinyos.sh, a utility for changing the active tree (TOSROOT).
R. Steve McKown [Thu, 3 Dec 2009 20:45:13 +0000 (13:45 -0700)]
Add tinyos.sh, a utility for changing the active tree (TOSROOT).

14 years agoUpdate tools/release/tinyos.files so it also works with debian/git builds.
R. Steve McKown [Mon, 7 Dec 2009 15:50:36 +0000 (08:50 -0700)]
Update tools/release/tinyos.files so it also works with debian/git builds.

14 years agoRemove unnecessary execute permission on text files.
R. Steve McKown [Thu, 3 Dec 2009 19:14:02 +0000 (12:14 -0700)]
Remove unnecessary execute permission on text files.

14 years agoFormally indicate support/sdk/c/sf/bootstrap is a shell script.
R. Steve McKown [Thu, 3 Dec 2009 19:13:31 +0000 (12:13 -0700)]
Formally indicate support/sdk/c/sf/bootstrap is a shell script.

14 years agoWe don't want README.mkd in the tree right now, though.
R. Steve McKown [Mon, 7 Dec 2009 15:39:42 +0000 (08:39 -0700)]
We don't want README.mkd in the tree right now, though.

14 years agoApparently tinyos does not require emacs to build.
R. Steve McKown [Mon, 7 Dec 2009 14:59:49 +0000 (07:59 -0700)]
Apparently tinyos does not require emacs to build.

For whatever reason, I cannot replicate the prior behavior where some emacs
based script was being ran.

14 years agodebian/control should not be in the repo; only debian/control.in.
R. Steve McKown [Fri, 4 Dec 2009 22:35:05 +0000 (15:35 -0700)]
debian/control should not be in the repo; only debian/control.in.

14 years agoFix debian/master changelog to fit our needs
R. Steve McKown [Fri, 4 Dec 2009 22:24:18 +0000 (15:24 -0700)]
Fix debian/master changelog to fit our needs

14 years agoAdd gbp.conf.template, a template for .gbp.conf.
R. Steve McKown [Fri, 4 Dec 2009 22:09:50 +0000 (15:09 -0700)]
Add gbp.conf.template, a template for .gbp.conf.

14 years agoOur first official changelog may look something like this.
R. Steve McKown [Fri, 4 Dec 2009 21:10:28 +0000 (14:10 -0700)]
Our first official changelog may look something like this.

14 years agoUpdate the debian build for smarter tinyos-source package handling.
R. Steve McKown [Fri, 4 Dec 2009 21:09:33 +0000 (14:09 -0700)]
Update the debian build for smarter tinyos-source package handling.

14 years agoWorking on a solution for allowing multiple tinyos-source packages to be installed...
R. Steve McKown [Fri, 4 Dec 2009 00:17:25 +0000 (17:17 -0700)]
Working on a solution for allowing multiple tinyos-source packages to be installed at the same time, but ensuring that at least one is installed.

14 years agoRemove use of dpatch, since all modifications are in the source branch.
R. Steve McKown [Thu, 3 Dec 2009 21:31:58 +0000 (14:31 -0700)]
Remove use of dpatch, since all modifications are in the source branch.

14 years agoCompress changelog for tinyos-source to remove lintian warning.
R. Steve McKown [Thu, 3 Dec 2009 21:02:34 +0000 (14:02 -0700)]
Compress changelog for tinyos-source to remove lintian warning.

14 years agoNo longer need dpatch patches.
R. Steve McKown [Thu, 3 Dec 2009 20:56:51 +0000 (13:56 -0700)]
No longer need dpatch patches.

14 years agoCorrectly pull version numbers from debian/changelog containing dashes.
R. Steve McKown [Thu, 3 Dec 2009 20:00:13 +0000 (13:00 -0700)]
Correctly pull version numbers from debian/changelog containing dashes.

14 years agoAdd the debian changelog to the tinyos-source package as well as tinyos-tools.
R. Steve McKown [Thu, 3 Dec 2009 19:45:41 +0000 (12:45 -0700)]
Add the debian changelog to the tinyos-source package as well as tinyos-tools.

14 years agoClear up lintian warnings about changelogs missing where they aren't needed.
R. Steve McKown [Thu, 3 Dec 2009 19:45:19 +0000 (12:45 -0700)]
Clear up lintian warnings about changelogs missing where they aren't needed.

14 years agoRemove full stop (period) from Description fields to clear lintian warning.
R. Steve McKown [Thu, 3 Dec 2009 19:44:20 +0000 (12:44 -0700)]
Remove full stop (period) from Description fields to clear lintian warning.

14 years agoChange copyright a bit to pass lintian tests.
R. Steve McKown [Thu, 3 Dec 2009 19:43:55 +0000 (12:43 -0700)]
Change copyright a bit to pass lintian tests.

14 years agoBelieve it or not, but building tinyos tools requires emacs.
R. Steve McKown [Thu, 3 Dec 2009 19:25:45 +0000 (12:25 -0700)]
Believe it or not, but building tinyos tools requires emacs.

14 years agoFix a lintian warning re: Description fields.
R. Steve McKown [Thu, 3 Dec 2009 19:25:14 +0000 (12:25 -0700)]
Fix a lintian warning re: Description fields.

14 years agoUpdate debian rules.
R. Steve McKown [Thu, 3 Dec 2009 19:16:10 +0000 (12:16 -0700)]
Update debian rules.

* Clean up builddir
* Use dtmp variable to streamline instructions
* Add lintian overrides files
* Add copyright file to all packages
* Add README.Debian file to all packages

14 years agoFix bad e-mail address in debian/changelog.
R. Steve McKown [Thu, 3 Dec 2009 19:13:02 +0000 (12:13 -0700)]
Fix bad e-mail address in debian/changelog.

14 years agoA possible README.mkd for when this repo is made public.
R. Steve McKown [Thu, 3 Dec 2009 02:55:59 +0000 (19:55 -0700)]
A possible README.mkd for when this repo is made public.

This file would work with github, for example.

14 years agoRemove unneeded references to oww dirs in tmirws .platform release/2.1.0-2
R. Steve McKown [Thu, 3 Dec 2009 00:39:34 +0000 (17:39 -0700)]
Remove unneeded references to oww dirs in tmirws .platform

14 years agoRemove sensors code from tmirws platform.
R. Steve McKown [Wed, 2 Dec 2009 23:37:00 +0000 (16:37 -0700)]
Remove sensors code from tmirws platform.

The sensors code is not stable enough for inclusion into core tinyos, nor is
there yet a clean separation between platform code and application code.  The
sensors code removed here was imported with its history into the RWS
application repository.

14 years agoMove NoMsp430GpioC out of tos/chips/msp430 and into tos/platforms/tmicore
R. Steve McKown [Wed, 2 Dec 2009 22:35:51 +0000 (15:35 -0700)]
Move NoMsp430GpioC out of tos/chips/msp430 and into tos/platforms/tmicore

While this component is very generic for msp430, there is no compelling case
yet to argue for its inclusion into core tinyos.

14 years agoUse AverageAngleC in AeroVaneReadC.
smckown [Mon, 9 Nov 2009 19:31:01 +0000 (19:31 +0000)]
Use AverageAngleC in AeroVaneReadC.

14 years agoAddress possible dead zone discontinuities when reading in WindVaneReadP.
smckown [Mon, 9 Nov 2009 19:31:00 +0000 (19:31 +0000)]
Address possible dead zone discontinuities when reading in WindVaneReadP.

14 years agoTeach aerovector_t that it can be null, via a special value in its dir member.
smckown [Mon, 9 Nov 2009 19:30:59 +0000 (19:30 +0000)]
Teach aerovector_t that it can be null, via a special value in its dir member.

14 years agoRedo Average interface.
smckown [Mon, 9 Nov 2009 19:30:58 +0000 (19:30 +0000)]
Redo Average interface.

There is no point in having the averagers pre-know their number of samples.
The user should know this information.  Therefore we have a more flexible
solution and avoid a signal to return the averate to the user when that user is
very likely to want to call a command instead.

14 years agoClean up comments in AeroVane.h to better explain aerovector fields.
smckown [Mon, 9 Nov 2009 19:30:57 +0000 (19:30 +0000)]
Clean up comments in AeroVane.h to better explain aerovector fields.

14 years agoAdd the averaging components and their interface.
smckown [Mon, 9 Nov 2009 19:30:56 +0000 (19:30 +0000)]
Add the averaging components and their interface.

14 years agoAnemometerReadC changes
smckown [Mon, 9 Nov 2009 19:30:55 +0000 (19:30 +0000)]
AnemometerReadC changes

* Replace interface AsyncGet with Get.
* Change interface Count name to Revolutions.

14 years agoUpdates to WindVaneReadC
smckown [Mon, 9 Nov 2009 19:30:54 +0000 (19:30 +0000)]
Updates to WindVaneReadC

* Use AverageAngleC to average readings
* Adapt to latest changes to MultiSampleC

14 years agoChanges to MultiSampleC
smckown [Mon, 9 Nov 2009 19:30:53 +0000 (19:30 +0000)]
Changes to MultiSampleC

* Returns the array of samples rather than their sum.
* Hard coded to work with uint16_t samples.

14 years agoEnhancements to AeroVaneReadC.
smckown [Mon, 9 Nov 2009 19:30:52 +0000 (19:30 +0000)]
Enhancements to AeroVaneReadC.

* Anemometer is read immediately after the Timer fires to reduce jitter.
* Count interface is renamed Revolutions to be more meaningful.
* m_count is now uint8_t to reflect a more reasonable real life range.
* Direction data is returned no as degrees but as a 10-bit unsigned value.
* m_sum accumulates the correct, updated angle values.
* Rounding is done properly when m_sum is negative.

14 years agoRemove references to Alarm; use of a Timer will be fine.
smckown [Mon, 9 Nov 2009 19:30:51 +0000 (19:30 +0000)]
Remove references to Alarm; use of a Timer will be fine.

14 years agoWhen using a Timer in AeroVaneReadP, we don't need to post a task to read vane.
smckown [Mon, 9 Nov 2009 19:30:50 +0000 (19:30 +0000)]
When using a Timer in AeroVaneReadP, we don't need to post a task to read vane.

14 years agoMay or may not use these
smckown [Sat, 7 Nov 2009 23:59:04 +0000 (23:59 +0000)]
May or may not use these

14 years agoAdd in the formula to convert the returned speed to mph. Temporary.
smckown [Sat, 7 Nov 2009 23:59:00 +0000 (23:59 +0000)]
Add in the formula to convert the returned speed to mph.  Temporary.

14 years agoAdd AeroVane infrastructure to support physical/reading of the sensor.
smckown [Sat, 7 Nov 2009 23:58:55 +0000 (23:58 +0000)]
Add AeroVane infrastructure to support physical/reading of the sensor.

AeroVaneReadC implements a timer every 28800 ticks of the 32KHz clock (or 900
binary ms).  At each timer event it reads the wind vane via WindVaneReadC.
On every 4th read it reads the anemometer via AnemometerReadC, calculates the
average vane position over the last 4 reads (it's been summing all along),
and uses Notify.notify() to send out the aerovector structure.  This means
that the user should get an AeroVane vector (reading) every 3.516 seconds, where
both the direction and the speed have been averaged over 4 reads during that
period.

14 years agoFix an incorrect comment regarding the dead band check endpoint.
smckown [Fri, 6 Nov 2009 00:53:44 +0000 (00:53 +0000)]
Fix an incorrect comment regarding the dead band check endpoint.