-
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.
Reading the CPU ID from the `/get_cpu_id` service
- Loading branch information
Showing
10 changed files
with
137 additions
and
30 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
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,9 +1,9 @@ | ||
cellular/* | ||
cryptocell/* | ||
deprecated_warnings/* | ||
lorawan/* | ||
lwipstack/* | ||
nanostack/* | ||
netsocket/* | ||
nfc/* | ||
unsupported/* | ||
**/cellular/* | ||
**/cryptocell/* | ||
**/deprecated_warnings/* | ||
**/lorawan/* | ||
**/lwipstack/* | ||
**/nanostack/* | ||
**/netsocket/* | ||
**/nfc/* | ||
**/unsupported/* |
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,30 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt update && apt install -y \ | ||
python3 \ | ||
python3-pip \ | ||
python3.10-venv \ | ||
git \ | ||
cmake | ||
|
||
RUN pip3 install --upgrade pip setuptools | ||
|
||
RUN pip3 install -U platformio | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
ENV USER=root | ||
|
||
RUN git config --global --add safe.directory /app && \ | ||
git config --global --add safe.directory /app/lib/encoder-mbed && \ | ||
git config --global --add safe.directory /app/lib/imu-driver && \ | ||
git config --global --add safe.directory /app/lib/motor-driver-mbed && \ | ||
git config --global --add safe.directory /app/lib/vl53l0x-mbed && \ | ||
git submodule update --init --recursive && \ | ||
pio lib install | ||
|
||
RUN python3 -m venv /root/.platformio/penv/bin/activate | ||
|
||
CMD pio run |
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,6 @@ | ||
services: | ||
pio: | ||
build: . | ||
volumes: | ||
- .:/app | ||
# command: tail -f /dev/null |
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
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