zephyr: add module.yml and fix riscv compile error (#763)

This commit is contained in:
Wenyong Huang 2021-09-24 17:43:02 +08:00 committed by GitHub
parent 7be0d385a6
commit 1ad76f489b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,5 @@
name: wasm-micro-runtime
build:
cmake-ext: True
kconfig-ext: True