cvs -z3 \
-d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/uracoli \
co -duracoli-devel uracoli
Home - Downloads - Docs - Hardware - Source - News - Blog |
Customization HowToAbstract
The µracoli project provides many sensor board types, whereas a user in his/her project usually is faced to one or a few of them. Additionally it may be wanted, that a modified board version has to be supported, e.g. if you want to run µracoli on a ZigBit module that is placed on your own PCB and has special sensors connected. The following sections describe how a custom configuration directory outside of the µracoli source tree is set up and maintained. PreparationIn order to make use of a custom configuration directory, you will need to be able
to compile the source development package Beside a working AVR toolchain, a installed version of SCons and Python is needed. In the next step, download the latest development package from http://www.uracoli.de/download.html and unpack it in a working directory. Alternatively you can als checkout the source tree from the repository.
To verify, if your build environment is installed correctly, change
to the development directory ( Setup the Custom Configuration DirectoryThe final structure of your working directory with the custom configuration directory and development directory could look like this:
The custom configuration directory holds your local Create boards.cfgThe file An example
To check the correctness of this file, use the command
The libraries and binaries for those two boards can be build with the command Creating and using myboard.hIn order to modify the ZigBit configuration, the file
Now we modify the section
The command
The following patch will cure the error and the above command will succeed:
Now the libaries and binaries for "myboard" will be build
correctly, you will find them in the directory
Build a source code packageTo give away a software package together with your hardware, just run the command:
NOTE: You need to run the command twice, the first run will fail, something is wrong with the dependencies. Further StepsCongratulations, you added successfully a new board to µracoli. At this point you will continue with writing your own application or if e.g. the wireless UART or the sniffer are sufficient for your needs, then you are done. |
more topics |
Last modified: 2017-06-04 |