Before buidling all the software files, a software directory tree is build. In the figures below, the structure for the master and slave brick are graphically represented. The white bubbles are the threads, the blue are the function modules and the green are the low level functions and the yellow bubbles the drivers.