• : Function ereg() is deprecated in /home/project-web/tinyos8051wg/htdocs/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/project-web/tinyos8051wg/htdocs/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/project-web/tinyos8051wg/htdocs/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/project-web/tinyos8051wg/htdocs/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/project-web/tinyos8051wg/htdocs/includes/file.inc on line 647.
  • : Function ereg() is deprecated in /home/project-web/tinyos8051wg/htdocs/includes/file.inc on line 647.

nRF based platforms

3.3 Nordic VLSI nRF based platforms

We support the nRF24e1 based on the Synopsys DW 8051 IP block.

  • I/O: General I/O (pins)
  • Timers through the classic 8051 timers (more advanced timers are unsupported)
  • UART

CIP51

3.2 SiLabs cip51 based platforms

We support the c8051F340 which is part of the SiLabs cip51 family of 8051 variants, with the following features:

  • USB communication through the usb library
  • I/O: General I/O (pins), SPI
  • Timers through the classic 8051 timers (more advanced timers are unsupported)
  • UART

CC2430

3.1 ChipCon/Texas Instruments CC2430 based platforms

The CC2430 driver implementation is located in the "chips" directory. At presently this implementation is far from complete, it constitutes a basis for further development. The CC2430 is based on an 8051 core that seems to be shared by a number of Texas Instruments chips (e.g. CC2431, CC2510), none of these are supported at present, but they seem similar enough that porting to these chips should be relatively straightforward. Presently we support the following platforms using the CC2430 SoC:

Debuging

The following page contains some debugging advice based on questions posted on the mailing list.

7.1 Problems compiling


In order to compile the code found here you need to setup the TinyOS 2 distribution as well as your compiler.

  • Check your environment, in particular check if the location of contrib and tinyos are correct.
    $CONTRIBROOT=/opt/tinyos-2.x-contrib/
    $TOSDIR=/opt/tinyos-2.x/tos
    $TOSROOT=/opt/tinyos-2.x

0.1pre4 released

The third release (0.1pre4) adds the following features, as well as bug fixes, click Read More for full list.

  • New platform: Nordic VLSI nRF24e1
    • featuring a classic 8051 variant with on chip 2.4 GHz radio
  • New platform: SiLabs C8051F34x (CIP-51),
    • A compact 8051 variant with high precision ADC
    • USB controller, access through a USB stack with serial port emulation
  • Updated to support TinyOS 2.1 and nescc 1.3.0

For further instructions see the install and download sections.

Submitted by leopold on Sun, 10/26/2008 - 21:10.

Libraries and Applications

The documentation on the website has been updated, in particular an applications and libraries section were added.

Submitted by leopold on Mon, 10/20/2008 - 16:22.

Libraries

6. Support Libraries

The common/lib directory contains a number of general purpose support libraries for debug, development or additional services.

6.1 StdOut

A minimalisting prety printing library (not entirely unlike printf). will be able to print human readable text to the UART defined for the platform in UartC. In addition to printing strings the interface provides methods for printing integers in different bases: base 16 (hex), base 10, base 2 (binary).


StdOut.print("Helo worl\n\r");
StdOut.printHex(0xF2);

Compiling Applications

4. Compiling applications

TinyOS users will find the environment familiar, the platform is programmed like any other TinyOS platform and compiled using the new platform names.

For example to compile an application


  make cc2430em

Or for Sensinode Nano


  make nano

4.1 Using Inline

Anonymous SVN access

In order to provide access to changes between releases we have allowed anonymous, read only access to our development repository, through the following URL:

svn://svn.tinyos8051wg.net/repos/tinyos-2.x-contrib/trunk

For further instructions see the download section.

Submitted by leopold on Sat, 10/18/2008 - 18:31.