Skip to content

Commit

Permalink
Update compiler for risc-v with nuttx
Browse files Browse the repository at this point in the history
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi committed Nov 24, 2022
1 parent e2bbd41 commit 9dbc32f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/compilation_on_nuttx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ jobs:

- name: Install RISC-V Compilers
if: contains(matrix.nuttx_board_config, 'risc-v')
run: sudo apt install -y gcc-riscv64-unknown-elf
run: |
curl -L https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz > riscv.tar.gz
tar xvf riscv.tar.gz
- name: Checkout NuttX
uses: actions/checkout@v3
Expand Down Expand Up @@ -121,4 +123,4 @@ jobs:
run: |
cd nuttx
tools/configure.sh ${{ matrix.nuttx_board_config }}
make -j$(nproc)
make -j$(nproc) CROSSDEV=../riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/riscv64-unknown-elf-

0 comments on commit 9dbc32f

Please sign in to comment.