Skip to content

Commit

Permalink
zephyr: add module.yml and fix riscv compile error (bytecodealliance#763
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wenyongh authored Sep 24, 2021
1 parent 7be0d38 commit 1ad76f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/iwasm/aot/arch/aot_reloc_riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ rv_set_val(uint16 *addr, uint32 val)
*addr = (val & 0xffff);
*(addr + 1) = (val >> 16);

asm volatile("fence.i");
__asm__ volatile("fence.i");
}

/* Add a val to given address */
Expand Down
2 changes: 1 addition & 1 deletion core/iwasm/aot/arch/aot_reloc_thumb.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ get_target_symbol_map(uint32 *sym_num)
void
get_current_target(char *target_buf, uint32 target_buf_size)
{
const char * s = BUILD_TARGET;
const char *s = BUILD_TARGET;
size_t s_size = sizeof(BUILD_TARGET);
char *d = target_buf;

Expand Down
5 changes: 5 additions & 0 deletions zephyr/module.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: wasm-micro-runtime

build:
cmake-ext: True
kconfig-ext: True

0 comments on commit 1ad76f4

Please sign in to comment.