Next: , Previous: , Up: The Software   [Contents][Index]


3.2 Configuring the Software

Once the prerequisites have been satisfied, you can go ahead and configure the software.

To do this, take the tarball upad.tar.gz which you have downloaded or been provided with by your vendor and unpack it by running the command

tar -xzf upad-0.0.tar.gz

This will create a directory called upad-0.0 into which you should enter.

Next run the command

./configure --with-riot-base=my-riot-base

which configures the software to suit your local computer. The string my-riot-base you should substitute with the base directory of the RIOT source which you installed at Prerequisites. 2

The following example shows the configuration of µPad when the RIOT source has been installed in the directory called RIOT in the user’s home directory.

$ ./configure --with-riot-base=$HOME/RIOT
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for round in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Controller/Makefile
config.status: creating Makefile
config.status: creating config.h
$

If any dependencies have not been fulfilled, or if there is any problem configuring the software then an error message will be shown. You should address the problem and repeat this step before continuing.


Footnotes

(2)

If you want to build only the local computer part of µPad, and not the controller part, then you can pass the special value of my-riot-baseno’.


Next: , Previous: , Up: The Software   [Contents][Index]