forked from raspberrypi/pico-sdk
-
Notifications
You must be signed in to change notification settings - Fork 11
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 #8 from ajf58/merge-2.1.0
Update to Pico SDK 2.1.0
- Loading branch information
Showing
267 changed files
with
9,497 additions
and
2,263 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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Bazel presubmit checks | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
bazel-build-check: | ||
strategy: | ||
matrix: | ||
# TODO: Windows is currently broken. | ||
os: [ubuntu-latest, macos-latest] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get Bazel | ||
uses: bazel-contrib/setup-bazel@0.9.0 | ||
with: | ||
# Avoid downloading Bazel every time. | ||
bazelisk-cache: true | ||
# Store build cache per workflow. | ||
disk-cache: ${{ github.workflow }} | ||
# Share repository cache between workflows. | ||
repository-cache: true | ||
# Only needed to drive the presbumit scripts. | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Fetch latest Picotool | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: raspberrypi/picotool | ||
ref: develop | ||
fetch-depth: 0 | ||
path: lib/picotool | ||
- name: Full Bazel build with develop Picotool | ||
run: python3 tools/run_all_bazel_checks.py --program=build --picotool-dir=lib/picotool | ||
# Checks that the current BCR-requested version of Picotool builds. | ||
- name: Bazel Picotool backwards compatibility | ||
run: bazel build @picotool//:picotool | ||
other-bazel-checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get Bazel | ||
uses: bazel-contrib/setup-bazel@0.9.0 | ||
with: | ||
# Avoid downloading Bazel every time. | ||
bazelisk-cache: true | ||
# Store build cache per workflow. | ||
disk-cache: ${{ github.workflow }} | ||
# Share repository cache between workflows. | ||
repository-cache: true | ||
# Only needed to drive the presbumit scripts. | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Fetch latest Picotool | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: raspberrypi/picotool | ||
ref: develop | ||
fetch-depth: 0 | ||
path: lib/picotool | ||
- name: Other Bazel checks | ||
run: python3 tools/run_all_bazel_checks.py --program=other --picotool-dir=lib/picotool |
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,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="gcc-arm-embedded" version="10.2.1" /> | ||
<package id="cmake" version="3.25.2" installArguments="ADD_CMAKE_TO_PATH=System" /> | ||
<package id="cmake" version="3.31.0" installArguments="ADD_CMAKE_TO_PATH=System" /> | ||
<package id="mingw" version="12.2.0" /> | ||
<package id="ninja" version="1.11.1" /> | ||
</packages> |
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 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,7 @@ | ||
.idea | ||
.vscode | ||
cmake-* | ||
.cache | ||
.DS_Store | ||
build | ||
build-* | ||
|
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
Oops, something went wrong.