HAMNET-Access-Protocol / HNAP4PlutoSDR

Main transceiver application
GNU Lesser General Public License v3.0
29 stars 5 forks source link

Automate build process #28

Closed lukasostendorf closed 4 years ago

lukasostendorf commented 4 years ago

This PR creates 3 new build scripts

These scripts automatically download dependencies, like the stock plutosdr firmware or its sysroot image. The current status of what has been downloaded and compiled is stored in a file _buildstatus.

All scripts use one common directory build_scripts/build as a working directory. In order to be able to automatically fetch sysroot and plutosdr-fw if they are not present, both paths are now fixed inside the build directory.

NOTE: the PR also updates to a newer plutosdr-fw version 0.32. In this version the required toolchain chained. We need Vivado 2019.1 instead of 2018.2. I do not know yet, which linaro toolchain is required. AD's wiki page is not updated yet, but the described linaro toolchain in this article has a wrong gcc version (7.2 instead of 8)

Fixes #27 Fixes #26