Xiang Xiao
dbdba4c254
interpreters/duktape: Add -Wno-unused-but-set-variable to CLAGS
...
To fix error: variable 'num_stmts' set but not used [-Werror,-Wunused-but-set-variable]
duk_int_t num_stmts;
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-09-19 11:27:21 +08:00
Xiang Xiao
17692ffc5f
Revert "interpreters/duktape: Fix error: variable 'num_stmts' set but not used"
...
This reverts commit 801046cd78
.
2023-09-19 11:27:21 +08:00
Xiang Xiao
801046cd78
interpreters/duktape: Fix error: variable 'num_stmts' set but not used
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-09-17 22:50:08 +03:00
Daniel Appiagyei
b37e84b05f
c++ compatibility: rename usages of reserved c++ keywords 'this' and 'public'
2023-09-16 19:45:52 +08:00
YAMAMOTO Takashi
73f27b7cae
toywasm: regen for v33
...
```
REF=e03d1f61d3f3163da76b33c4c770dbf0d2024324 ./regen.sh
```
2023-08-23 03:02:12 +08:00
YAMAMOTO Takashi
816b499ef8
toywasm: bump to v33
2023-08-23 03:02:12 +08:00
Xiang Xiao
054cf3b1cb
Change all sizeof(arr)/sizeof(arr[0]) to nitems
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-17 22:51:51 +03:00
Xiang Xiao
2db68e26c4
Fix Error: luv/src/constants.c:674:11: error: implicit declaration of function 'getprotobyname'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-12 15:58:11 +03:00
simbit18
e501f784c3
Fix Kconfig style
...
Add TABs
Add comments
2023-08-11 22:13:17 +08:00
Xu Xingliang
cd7869001f
interpreters/luajit: use section name for custom heap
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-09 09:49:23 +02:00
Xu Xingliang
6bfdddca39
interpreter/luajit: use uppercase LUAJIT_ARCH_ARM
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-09 09:49:23 +02:00
YAMAMOTO Takashi
ee71af840f
toywasm: regen for v31
...
```
REF=6f67aec18ce8f824479e305c17464bd4df1dd7ae ./regen.sh
```
2023-08-07 01:12:58 -07:00
YAMAMOTO Takashi
6fb38bc246
toywasm: bump the version to v31
2023-08-07 01:12:58 -07:00
YAMAMOTO Takashi
5365fc9ffd
toywasm: regen for v30.0.0
...
```
REF=bfcc5be6eb25c9581c6c3b443ac38c1a814f8e18 ./regen.sh
```
2023-07-31 10:26:30 -07:00
YAMAMOTO Takashi
23691fd422
toywasm: bump to v30.0.0
2023-07-31 10:26:30 -07:00
YAMAMOTO Takashi
33987a76a9
regen for toywasm v29.0.0
...
```
REF=12b9e518cd18c9fee09a521afa96eb15cd11edac ./regen.sh
```
2023-07-23 01:08:45 +08:00
YAMAMOTO Takashi
f41873223c
toywasm: bump the version to v29.0.0
2023-07-23 01:08:45 +08:00
YAMAMOTO Takashi
7cacd569e5
Revert "toywasm: disable tail call and explain why"
...
This reverts commit fcda92ebc7
.
because it isn't necessary for the latest versions of toywasm.
2023-07-23 01:08:45 +08:00
chao an
4d79a5cbaf
add initial cmake build system
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-08 13:52:02 +08:00
YAMAMOTO Takashi
c078b2ee7a
wamr: add a kconfig to control wasi-threads
...
cf. https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
2023-07-06 09:25:14 -03:00
Huang Qi
be0e677699
interpreters/wamr: New option for configurable bounds checks
...
Works with https://github.com/bytecodealliance/wasm-micro-runtime/pull/2289
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-07-05 16:25:56 +08:00
Xiang Xiao
7986f66006
build: Replace "$(shell $(INCDIR) $(CC) ...)" with $(INCDIR_PREFIX)
...
to unify the way to get include directories
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-22 23:27:26 +03:00
YAMAMOTO Takashi
3bd106081f
toywasm: regen after bumping the version
...
```
REF=99468253ca11c9b8df444e3e23865b5030f6af69 ./regen.sh
```
2023-06-22 09:52:02 +03:00
YAMAMOTO Takashi
5c9e8d6352
toywasm: bump the version
2023-06-22 09:52:02 +03:00
YAMAMOTO Takashi
3d598fce6c
toywasm: regen after a change to the script
...
```
REF=031ac96574bf95c5ec31e5aeb02787a84e6d4af0 ./regen.sh
```
2023-06-17 22:59:32 +03:00
YAMAMOTO Takashi
fcda92ebc7
toywasm: disable tail call and explain why
2023-06-17 22:59:32 +03:00
YAMAMOTO Takashi
900b32c908
toywasm: regen
...
```
REF=031ac96574bf95c5ec31e5aeb02787a84e6d4af0 ./regen.sh
```
2023-06-12 13:36:48 +08:00
YAMAMOTO Takashi
2c9939920b
toywasm: bump version
...
this includes SIMD support.
2023-06-12 13:36:48 +08:00
Huang Qi
dec2cd9635
tools/Wasm: Decouple the wasm compilation and runtime specific AOT compilation
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-05-13 10:15:40 -03:00
Huang Qi
e287e4bb9e
wamr: Simplify target handling by LLVM style arch info
...
Depends on: https://github.com/apache/nuttx/pull/8928
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-05-13 10:15:40 -03:00
Xiang Xiao
f95d60366a
Fix the nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
Xiang Xiao
73701cd7cd
Replace all strncpy with strlcpy
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
Xiang Xiao
7c37421266
Replace all sprintf with snprintf
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
Xiang Xiao
134b8b538f
Replace all strcat with strlcat
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
YAMAMOTO Takashi
15df04083e
toywasm: regen
...
REF=80d43dfa3377810fff0ff143b2e8be2e229bf7f2 ./regen.sh
2023-04-24 23:47:13 +08:00
YAMAMOTO Takashi
b7ac752cca
bump toywasm version
2023-04-24 23:47:13 +08:00
Gustavo Henrique Nihei
d650d3276f
luamodules: Fix implicit declaration warning for strncasecmp
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-28 14:54:16 -03:00
Huang Qi
95acf6c904
interpreters/wamr: New option to dump call stack
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-24 11:37:22 +08:00
Huang Qi
8ae5a1b148
Fix some hard coded buffer len of snprintf
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-21 20:57:56 -03:00
Xu Xingliang
f32aa2df59
lua: download tarball from github release tag
...
The tarball from github has same file layout as git repo while the tarball from ftp doesn't.
Update Makefile to accommodate this change.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-03-21 20:38:29 -03:00
Xiang Xiao
f3c104b99a
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-19 14:53:44 -06:00
Xiang Xiao
86080a110e
apps: Remove the check of CONFIG_SERIAL_TERMIOS
...
If the code only change c_oflag, c_iflag and c_lflag, not c_cflag in termios.
Follow up the change from kernel: https://github.com/apache/nuttx/pull/8843
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-19 14:53:44 -06:00
YAMAMOTO Takashi
04a156e0d0
toywasm: regen config-dependent files
...
With the regen script:
```
REF=7c6ff3925d0b0f4d5122df9b1b5761bc2954e014 ./regen.sh
```
2023-03-17 12:07:02 -03:00
YAMAMOTO Takashi
b962c02c05
toywasm: add a script to regenerate config-dependent files
...
This is a manual step mainly because it involves extra
tools including cmake.
2023-03-17 12:07:02 -03:00
Huang Qi
4b1d59d40d
bas: Don't ECHO input in repl
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-17 12:00:55 -03:00
jturnsek
e599bbcd24
Initial LuaJIT interpreter load
2023-03-17 09:28:58 +08:00
YAMAMOTO Takashi
ad9a44d606
interpreter/toywasm: Update toywasm version
...
Tested on esp32-devkitc.
2023-03-09 01:40:38 +08:00
simbit18
73301dd16d
apps/interpreters/bas/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-08 13:50:23 -03:00
simbit18
2a255db413
apps/interpreters/ficl/Make.defs: Add missing Apache Foundation copyright header
...
Add missing Apache Foundation copyright header
2023-03-08 13:50:23 -03:00
simbit18
c1d859c249
apps/interpreters/bas/Make.defs: Add missing Apache Foundation copyright header
...
Add missing Apache Foundation copyright header
2023-03-08 13:50:23 -03:00