Skip to content
Snippets Groups Projects
Commit 9aacd83d authored by Marcus Greiff's avatar Marcus Greiff
Browse files

Include reference to the forked and modified serbus package

parent 66805479
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,20 @@
[![coverage report](https://gitlab.control.lth.se/labdev/LabConnections.jl/badges/master/coverage.svg)](https://gitlab.control.lth.se/labdev/LabConnections.jl/commits/master)
Documentation available at [Documentation](https://gitlab.control.lth.se/labdev/LabConnections.jl/blob/master/docs/build/index.html)
# OBS!
If you wish to work on the SPI implementation, simply clone the repository
"serbus", a small C stack available at `github.com/mgreiff/serbus` into your
julia package directory (for example "~/.julia/v0.6"). Then, in the
LabConnections package on the host computer, run `flash_BB.sh` in the "/utils"
directory transferring both LabCOnnections and serbus to the BB.
On the BB, run
cp /home/debian/juliapackages/serbus/bb_spi.sh /home/debian
and then execute
./bb_spi.sh
in the `/home/debian` directory to run the SPI example with the ADC from SPI0.
......@@ -7,7 +7,9 @@ NC='\033[0m'
BASEDIR=../../$(dirname "$0")
# Dependencies
packages=(LabConnections SPI_driver)
# LabConnections - main repository
# serbus - a fork of a SPI communicaiton interface
packages=(LabConnections serbus)
# Create an empty directory to bundle packages
if [ -d ${BASEDIR}/juliapackages ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment