Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

michz/diy14bus

Repository files navigation

diy14bus

Getting started

Please read Erste (Repository-)Schritte (german).

Short version in english: Please make sure that you have cloned our RIOT fork on the same directory level.

Example:

/home/user/home-project/diy14bus/   # this repository
/home/user/home-project/RIOT/       # patkan/RIOT

For compiling arm based binaries you need a fully functional arm-gcc toolchain. We use gcc-arm-embedded.

If you want to run the configuration tool on a Raspberry Pi, clone the RF24- Repository and the WebsocketPP- Repository into a directory on the same level as the above mentioned.

Your final directory structure should look like this:

your_project_dir
|--> diy14bus/
|--> RIOT/
|--> RF24/
|--> websocketpp/

Compiling

Go to application directory (for example first-test/) and run make. (No need to build RIOT directly.)

Compiling cowbus-config-server

One special note about the config-server: This tool depends on a Raspberry Pi and can be compiled there, and only there. (Fancy crosscompiling voodoo possible...)

Before being able to compile cowbus-config-server, you have to compile and install the RF24 library by changing to the directory RF24 and type:

make install   # NOTE: perhaps you need sudo ...

This compiles the RF24 library and installs the binary system wide.

Moreover you need at least GCC version 4.7 or 4.8 (we use C++11 language features).

You need Boost library: System, IOStreams, Thread. On Raspbian you can simply do:

apt-get install libboost-system-dev libboost-iostreams-dev libboost-thread-dev

License

We will think about it.