Mansos:nrf

From DiLab
Jump to: navigation, search

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

  • nRF24LE1
  • nRF24LU1+

Warning: nrf platform is under development and may not be fully functional!

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

Binary SDCC packages are also available for Linux, Mac OSX and Windows.