diff --git a/docs/build/man/development.md b/docs/build/man/development.md new file mode 100644 index 0000000000000000000000000000000000000000..aec7e6684da4af62d493361d082a4d1a4d74b5f6 --- /dev/null +++ b/docs/build/man/development.md @@ -0,0 +1,47 @@ + +<a id='Package-Development-1'></a> + +## Package Development + + +<a id='LabConnections.jl-Development-1'></a> + +### LabConnections.jl Development + + +If you want to develop the code in LabConnections.jl, then this is how you setup a development environment. First, open up a Julia REPL and type + + +``` +] dev https://gitlab.control.lth.se/labdev/LabConnections.jl +``` + + +Open a new terminal and navigate to `.julia/dev/LabConnections`, where the package source code is now located. Then type + + +``` +git checkout julia1 +git pull +``` + + +to ensure that you are working on the correct development branch for Julia v1.0.X. + + +<a id='SPI-Development-1'></a> + +### SPI Development + + +If you plan on working with the SPI devices to debug the ADC/DAC, then you will need a forked `serbus` repository which wraps the`linux/spi/spidev`. Simply + + +``` +`cd && cd .julia/v0.6' +`git clone https://github.com/mgreiff/serbus' +``` + + +to get the latest revision of the serbus fork. + diff --git a/docs/build/man/installation.md b/docs/build/man/installation.md index 99b697bde7778c835ac18b01c7efb759c5d849da..21b6b3e3f651a78aa89cb91572f7f746096d076f 100644 --- a/docs/build/man/installation.md +++ b/docs/build/man/installation.md @@ -45,7 +45,7 @@ Start by downloading the Debian image [here](http://beagleboard.org/latest-image ``` -mv /home/debian/julia-<distro specific tag>/bin/julia /home/debian/julia/bin/julia' +mv /home/debian/julia-<distro specific tag>/bin/julia /home/debian/julia/bin/julia ``` @@ -130,53 +130,6 @@ Then execute the commands After a while, the BeagleBone should start blinking on SysLED 2: on-off-on-sleep-repeat. The server should now start automatically on restart of the BeagleBone, and you should be able to run the examples in in /Examples on the host computer. -<a id='Package-Development-1'></a> - -## Package Development - - -<a id='LabConnections.jl-Development-1'></a> - -### LabConnections.jl Development - - -If you want to develop the code in LabConnections.jl, then this is how you setup a development environment. First, open up a Julia REPL and type - - -``` -] dev https://gitlab.control.lth.se/labdev/LabConnections.jl -``` - - -Open a new terminal and navigate to `.julia/dev/LabConnections`, where the package source code is now located. Then type - - -``` -git checkout julia1 -git pull -``` - - -to ensure that you are working on the correct development branch for Julia v1.0.X. - - -<a id='SPI-Development-1'></a> - -### SPI Development - - -If you plan on working with the SPI devices to debug the ADC/DAC, then you will need a forked `serbus` repository which wraps the`linux/spi/spidev`. Simply - - -``` -`cd && cd .julia/v0.6' -`git clone https://github.com/mgreiff/serbus' -``` - - -to get the latest revision of the serbus fork. - - <a id='Debugging-1'></a> ## Debugging diff --git a/docs/src/index.md b/docs/src/index.md index 02d150e2898370e71bf0f9add33f572915dd2775..0db694bf636b005ad4a9e21ed3ce14eb51e9bda4 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -5,7 +5,7 @@ CurrentModule = LabConnections ``` ## Getting Started ```@contents -Pages = ["man/introduction.md", "man/installation.md"] +Pages = ["man/introduction.md", "man/installation.md", "man/development.md"] Depth = 1 ``` ## Examples diff --git a/docs/src/man/development.md b/docs/src/man/development.md new file mode 100644 index 0000000000000000000000000000000000000000..3250b9208c5c227c33c3a0374898e10a008d511b --- /dev/null +++ b/docs/src/man/development.md @@ -0,0 +1,23 @@ +## Package Development + +### LabConnections.jl Development + +If you want to develop the code in LabConnections.jl, then this is how you setup a development environment. First, open up a Julia REPL and type +``` +] dev https://gitlab.control.lth.se/labdev/LabConnections.jl +``` +Open a new terminal and navigate to `.julia/dev/LabConnections`, where the package source code is now located. Then type +``` +git checkout julia1 +git pull +``` +to ensure that you are working on the correct development branch for Julia v1.0.X. + +### SPI Development + +If you plan on working with the SPI devices to debug the ADC/DAC, then you will need a forked `serbus` repository which wraps the`linux/spi/spidev`. Simply +``` +`cd && cd .julia/v0.6' +`git clone https://github.com/mgreiff/serbus' +``` +to get the latest revision of the serbus fork. diff --git a/docs/src/man/installation.md b/docs/src/man/installation.md index 193b545c153b399e8ee2995512d88484c40d8194..3af1af7fef91a9c75ce9c1ba08a2679d7495dde5 100644 --- a/docs/src/man/installation.md +++ b/docs/src/man/installation.md @@ -21,7 +21,7 @@ Start by downloading the Debian image [here](http://beagleboard.org/latest-image Proceed by downloading the Julia v1.0 binary for 32-bit ARMv7 found [here](https://julialang.org/downloads/). Put the .tar-file of the Julia binary on the micro-SD card containing the Debian image under `/home/debian`, and unzip it. Make sure that the Julia folder has the correct name by typing ``` -mv /home/debian/julia-<distro specific tag>/bin/julia /home/debian/julia/bin/julia' +mv /home/debian/julia-<distro specific tag>/bin/julia /home/debian/julia/bin/julia ``` The file structure on the micro-SD now has the correct structure. @@ -69,30 +69,6 @@ Then execute the commands After a while, the BeagleBone should start blinking on SysLED 2: on-off-on-sleep-repeat. The server should now start automatically on restart of the BeagleBone, and you should be able to run the examples in in /Examples on the host computer. -## Package Development - -### LabConnections.jl Development - -If you want to develop the code in LabConnections.jl, then this is how you setup a development environment. First, open up a Julia REPL and type -``` -] dev https://gitlab.control.lth.se/labdev/LabConnections.jl -``` -Open a new terminal and navigate to `.julia/dev/LabConnections`, where the package source code is now located. Then type -``` -git checkout julia1 -git pull -``` -to ensure that you are working on the correct development branch for Julia v1.0.X. - -### SPI Development - -If you plan on working with the SPI devices to debug the ADC/DAC, then you will need a forked `serbus` repository which wraps the`linux/spi/spidev`. Simply -``` -`cd && cd .julia/v0.6' -`git clone https://github.com/mgreiff/serbus' -``` -to get the latest revision of the serbus fork. - ## Debugging