Difference between revisions of "Mansos:nrf"

From DiLab
Jump to: navigation, search
(New page: = MansOS target: '''nrf''' = Development is going on to support the following Nordic Semiconductors devices: * nRF24LE1 * nRF24LU1+ We use the [http://sdcc.sourceforge.net/ SDCC] compil...)
 
Line 1: Line 1:
In MansOS, "'''nrf'''" is a platform supporting hardware based on certain Nordic Semiconductors devices:
= MansOS target: '''nrf''' =

Development is going on to support the following Nordic Semiconductors devices:


* nRF24LE1
* nRF24LE1
* nRF24LU1+
* nRF24LU1+


====Compile example====
We use the [http://sdcc.sourceforge.net/ SDCC] compiler for this platform.
make nrf

====Upload example====

You may upload compiled code using a native Nordic development board.

====Dependencies====
The code is compiled using the open source [http://sdcc.sourceforge.net/ '''SDCC''' - Small Device C Compiler] compiler.

You may run the following to install SDCC in Ubuntu, if the SDCC version in the repository is at least 2.9.7. At the time of this writing it was 2.9.0 for Lenny, which is too low for certain applications.

sudo apt-get install sdcc

Therefore, we recommend that you rather use [http://sdcc.sourceforge.net/ SDCC version 2.9.7 or higher]. This can be done obtaining the compiler source code from SVN and compiling it as shown below. You may have to resolve some dependencies until the configure and make steps run with no errors.

svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc sdcc
cd sdcc
configure
make
sudo make install

Revision as of 22:46, 1 September 2010

In MansOS, "nrf" is a platform supporting hardware based on certain Nordic Semiconductors devices:

  • nRF24LE1
  • nRF24LU1+

Compile example

make nrf

Upload example

You may upload compiled code using a native Nordic development board.

Dependencies

The code is compiled using the open source SDCC - Small Device C Compiler compiler.

You may run the following to install SDCC in Ubuntu, if the SDCC version in the repository is at least 2.9.7. At the time of this writing it was 2.9.0 for Lenny, which is too low for certain applications.

sudo apt-get install sdcc

Therefore, we recommend that you rather use SDCC version 2.9.7 or higher. This can be done obtaining the compiler source code from SVN and compiling it as shown below. You may have to resolve some dependencies until the configure and make steps run with no errors.

svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc sdcc 
cd sdcc
configure
make 
sudo make install