File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,17 @@ jobs:
23
23
- name : Install dependencies
24
24
run : |
25
25
sudo apt update
26
- sudo apt install cmake make build-essential wget gcc-arm-none-eabi
27
- # RISC-V toolchain
28
- wget -O "$GITHUB_WORKSPACE/riscv32.tar.gz" "https://github.com/earlephilhower/pico-quick-toolchain/releases/download/4.0.1/x86_64-linux-gnu.riscv32-unknown-elf-8ec9d6f.240929.tar.gz"
29
- tar xf "$GITHUB_WORKSPACE/riscv32.tar.gz"
30
- echo "$GITHUB_WORKSPACE/riscv32-unknown-elf/bin" >> "$GITHUB_PATH"
31
- # ARM toolchain taken from Ubuntu repository
26
+ sudo apt install cmake make build-essential wget
27
+ # Automatically get correct toolchain
28
+ cd tools && python3 get.py && cd ..
29
+ # add to PATH
30
+ echo "$GITHUB_WORKSPACE/system/riscv32-unknown-elf/bin" >> "$GITHUB_PATH"
31
+ echo "$GITHUB_WORKSPACE/system/arm-none-eabi/bin" >> "$GITHUB_PATH"
32
+ - name : Patch Pico-SDK (Fix Assembly for newer GCC)
33
+ run : |
34
+ cd pico-sdk
35
+ wget https://patch-diff.githubusercontent.com/raw/raspberrypi/pico-sdk/pull/2000.patch
36
+ patch -p1 < 2000.patch
32
37
- name : Build libpico
33
38
run : |
34
39
cd tools/libpico
You can’t perform that action at this time.
0 commit comments