-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* adapt spade to work w/ HAL (depends on #2450) * Update CMakeLists.txt * consolidate gardenshed & make work w/ all firmwares (#2467)
- Loading branch information
1 parent
a6b0f0b
commit 4821090
Showing
25 changed files
with
201 additions
and
382 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env sh | ||
|
||
cd ~/sprig/firmware/c_scaffold | ||
|
||
mkdir -p build | ||
cd build | ||
|
||
cmake .. | ||
cmake --build . | ||
|
||
cd .. | ||
|
||
cp build/c_scaffold.uf2 ~/firmware.uf2 | ||
cp ~/firmware.uf2 firmware.uf2 | ||
cp build/c_scaffold.elf ~/firmware.elf |
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,15 @@ | ||
FROM alpine:3.19 | ||
|
||
RUN apk add git python3 clang make cmake entr uglify-js gcc-arm-none-eabi g++-arm-none-eabi gdb-multiarch gcc | ||
|
||
COPY ./importBuildRepos.sh /opt/importBuildRepos.sh | ||
|
||
RUN chmod +x /opt/importBuildRepos.sh | ||
|
||
RUN /opt/importBuildRepos.sh | ||
|
||
COPY ./buildScript.sh /opt/buildScript.sh | ||
|
||
RUN chmod +x /opt/buildScript.sh | ||
|
||
CMD /opt/buildScript.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
mkdir ~/raspberrypi | ||
cd ~/raspberrypi | ||
git clone -b 1.3.1 https://github.com/raspberrypi/pico-sdk.git | ||
git clone https://github.com/raspberrypi/pico-extras.git | ||
cd pico-sdk | ||
git checkout 7070d230c0cdf1add83fa86b6832b47b2da47788 | ||
git submodule update --init | ||
cd ../pico-extras | ||
git checkout 09c64d509f1d7a49ceabde699ed6c74c77e195a1 | ||
git submodule update --init |
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 @@ | ||
../../scripts/gardenshed.py |
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 @@ | ||
../../scripts/gardenshed.py |
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
This file was deleted.
Oops, something went wrong.
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.