Skip to content

Commit

Permalink
Add RV32 support
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Shymanskyy <vshymanskyi@gmail.com>
  • Loading branch information
vshymanskyy committed Oct 2, 2024
1 parent a7cb689 commit 7b2c59f
Show file tree
Hide file tree
Showing 3 changed files with 863 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
Expand All @@ -34,6 +34,12 @@ jobs:
sudo apt update
sudo apt install build-essential gcc-multilib gcc-arm-none-eabi
sudo apt install gcc-riscv64-unknown-elf picolibc-riscv64-unknown-elf
- name: Add RV32 support
run: |
cd ./tools/micropython-mpy-ld-link-archives
patch -p1 < ../../rv32.patch
- name: Run builds
run: |
Expand Down
4 changes: 3 additions & 1 deletion buildall.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
from tabulate import tabulate
from concurrent.futures import ThreadPoolExecutor, as_completed

targets = ["x86", "x64", "armv6m", "armv7m", "armv7emsp", "armv7emdp", "xtensa", "xtensawin"] # "rv32imc"
targets = ["x86", "x64",
"armv6m", "armv7m", "armv7emsp", "armv7emdp",
"xtensa", "xtensawin", "rv32imc"]
apps = ["assemblyscript", "cpp", "rust", "tinygo", "zig", "virgil", "wat", "coremark"]


Expand Down
Loading

0 comments on commit 7b2c59f

Please sign in to comment.