forked from betaflight/betaflight
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from tudelft/thebigmerge3
Thebigmerge3
- Loading branch information
Showing
173 changed files
with
11,467 additions
and
4,564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
[submodule "lib/main/pi-protocol"] | ||
path = lib/main/pi-protocol | ||
url = git@github.com:tblaha/pi-protocol | ||
url = https://www.github.com/tudelft/pi-protocol.git | ||
[submodule "lib/main/ActiveSetCtlAlloc"] | ||
path = lib/main/ActiveSetCtlAlloc | ||
url = git@github.com:tblaha/ActiveSetCtlAlloc | ||
url = https://www.github.com/tudelft/ActiveSetCtlAlloc.git | ||
[submodule "lib/main/clapack"] | ||
path = lib/main/clapack | ||
url = https://www.github.com/tudelft/clapack.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"cortex-debug.gdbPath": "gdb-multiarch", | ||
"cortex-debug.liveWatchRefreshRate": 1000, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get --no-install-recommends install -y \ | ||
build-essential \ | ||
python3 \ | ||
python3-pip \ | ||
python3-dev \ | ||
git \ | ||
curl \ | ||
dfu-util \ | ||
ssh \ | ||
rsync \ | ||
sshpass \ | ||
&& apt-get clean | ||
|
||
# install python utilities | ||
RUN pip install --upgrade pip | ||
COPY lib/main/pi-protocol/python/requirements.txt requirements.txt | ||
RUN pip install -r requirements.txt && rm requirements.txt | ||
RUN pip install intelhex | ||
|
||
# install cross compiler | ||
COPY make/tools.mk tools.mk | ||
RUN mkdir -p /downloads && \ | ||
mkdir -p /tools && \ | ||
make -f tools.mk OSFAMILY=linux DL_DIR=/downloads TOOLS_DIR=/tools arm_sdk_install && \ | ||
rm tools.mk | ||
|
||
RUN cp -r /tools/*/* /usr/ | ||
|
||
# git config | ||
RUN git config --global --add safe.directory /indiflight | ||
|
||
RUN echo "#!/bin/bash" > /entrypoint.sh && \ | ||
echo "cd /indiflight" >> /entrypoint.sh && \ | ||
echo 'make -j "$@"' >> /entrypoint.sh && \ | ||
chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT [ "/entrypoint.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.