Skip to content

Commit

Permalink
Remove RV32 patch
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Shymanskyy <[email protected]>
  • Loading branch information
vshymanskyy committed Jan 9, 2025
1 parent c34c55f commit 09ee735
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 808 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ jobs:
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: |
export PATH=$PWD/tools/xtensa-lx106-elf/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ifeq ($(ARCH),xtensa)
SRC += runtime/esp8266-rom.S
endif

MICROPY_LINK_RUNTIME = 1
LINK_RUNTIME = 1

# Wasm module to build
WASM ?= test/$(APP).wasm
Expand Down
2 changes: 1 addition & 1 deletion runtime/wasm-rt-mem-impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

// TODO: Support Custom Page Sizes
// https://github.com/WebAssembly/wabt/issues/2019#issuecomment-2308930257
#define WASM_PAGE_SIZE 65536
#define WASM_PAGE_SIZE (64*1024)

#ifdef WASM_RT_GROW_FAILED_HANDLER
extern void WASM_RT_GROW_FAILED_HANDLER();
Expand Down
Loading

0 comments on commit 09ee735

Please sign in to comment.