Updates
This commit is contained in:
parent
3684834de8
commit
89f7b8241e
@ -43,14 +43,14 @@ git submodule update --init --recursive
|
|||||||
|
|
||||||
git checkout Dockerfile
|
git checkout Dockerfile
|
||||||
echo "RUN pip install intelhex" >> Dockerfile
|
echo "RUN pip install intelhex" >> Dockerfile
|
||||||
echo 'ENV PATH="/home/ardupilot/.local/bin:/usr/lib/ccache:/ardupilot/Tools/autotest:/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:${PATH}"' >> Dockerfile
|
echo 'ENV PATH="/home/ardupilot/.local/bin:/usr/lib/ccache:/ardupilot/Tools/autotest:/opt/'$(ls -1 /opt/ | grep gcc-arm-none-eabi)'/bin:${PATH}"' >> Dockerfile
|
||||||
|
cat Dockerfile
|
||||||
|
|
||||||
docker build . -t ardupilot
|
docker build . -t ardupilot
|
||||||
git checkout Dockerfile
|
git checkout Dockerfile
|
||||||
|
|
||||||
docker run --rm -it -v "$(pwd)":/ardupilot ardupilot:latest ./waf configure --board="$BOARD"
|
docker run --rm -it -v "$(pwd)":/ardupilot ardupilot:latest ./waf configure --board="$BOARD"
|
||||||
docker run --rm -it -v "$(pwd)":/ardupilot ardupilot:latest ./waf build
|
docker run --rm -it -v "$(pwd)":/ardupilot ardupilot:latest ./waf build
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -270,6 +270,6 @@ _(Many thanks to Michel Pastor for his help with everything in this note.)_
|
|||||||
* * *
|
* * *
|
||||||
|
|
||||||
<p style="font-size:80%; font-style: italic">
|
<p style="font-size:80%; font-style: italic">
|
||||||
Last updated on July 06, 2021. For any questions/feedback,
|
Last updated on August 09, 2021. For any questions/feedback,
|
||||||
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
|
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
|
||||||
</p>
|
</p>
|
||||||
|
@ -17,6 +17,6 @@ These are general tips for building RC planes/quads/whatever:
|
|||||||
* * *
|
* * *
|
||||||
|
|
||||||
<p style="font-size:80%; font-style: italic">
|
<p style="font-size:80%; font-style: italic">
|
||||||
Last updated on April 24, 2021. For any questions/feedback,
|
Last updated on August 09, 2021. For any questions/feedback,
|
||||||
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
|
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user