mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 07:21:54 +00:00
zephyr: add module.yml and fix riscv compile error (#763)
This commit is contained in:
parent
7be0d385a6
commit
1ad76f489b
|
@ -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 */
|
||||
|
|
5
zephyr/module.yml
Normal file
5
zephyr/module.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
name: wasm-micro-runtime
|
||||
|
||||
build:
|
||||
cmake-ext: True
|
||||
kconfig-ext: True
|
Loading…
Reference in New Issue
Block a user