YAMAMOTO Takashi
7903911000
toywasm_config.h: Add a license notice to appease nxstyle
...
* This file is derived from [1], which is covered by [2].
* I'm the solo author of the file. I hereby re-license this version with
the license added by this commit.
[1] e43d33016a/lib/toywasm_config.h.in
[2] e43d33016a/LICENSE
2022-11-10 11:19:43 +08:00
YAMAMOTO Takashi
f1e8e933c5
interpreter/toywasm: update toywasm version
2022-11-10 11:19:43 +08:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
yinshengkai
2c3c2edcb7
Makefile: Remove INCDIROPT
...
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.
See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
2022-10-25 13:48:16 +08:00
YAMAMOTO Takashi
195ffe71e4
Add interpreters/toywasm
2022-10-20 01:06:00 +08:00
Xiang Xiao
4941182cc6
Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
...
to support the tristate option correctly and unify the usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 14:59:08 +02:00
Xiang Xiao
9291d07a87
Fix the coding style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-06 12:20:32 +02:00
yinshengkai
75673fed70
quickjs: add qjs tool configuration item
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-09-09 17:25:12 +02:00
YAMAMOTO Takashi
65b58724ca
interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_DEBUG_INTERP option
...
Tested with sim/Linux/amd64 and esp32 devkit-c.
2022-08-29 14:20:19 +08:00
Huang Qi
2e2630e838
Don't download tarballs if a local git repo found
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 17:20:47 +08:00
Peter Bee
a3ccf59204
quickjs/Makefile: pass jobserver status to submake
...
N/A
Use +make or $(MAKE) instead of make -C
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-08-15 11:12:33 +03:00
Huang Qi
29a49f366e
wamr: Add a new option to custom stack guard size
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-10 15:21:26 +08:00
Huang Qi
167c551e82
wamr: Add a new option to enable semaphore support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-09 23:17:00 +08:00
Xiang Xiao
c252ec1481
Add printflike to all printf like functions
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 14:09:10 +03:00
YAMAMOTO Takashi
e5c07b9a62
interpreters/wamr: Remove WAMR_VERSION_STUB and always use actual tags
...
This allows to use a commit sha1 for CONFIG_INTERPRETERS_WAMR_VERSION.
Note: the existing configs with specific wamr version
need to be updated.
Tested with:
CONFIG_INTERPRETERS_WAMR_VERSION=main
CONFIG_INTERPRETERS_WAMR_VERSION=WAMR-04-15-2021
CONFIG_INTERPRETERS_WAMR_VERSION=3168ba8dcf20d9d8539d75c637420f5fd8682335
2022-06-02 00:35:08 +08:00
YAMAMOTO Takashi
ba08c77000
interpreters/wamr/Kconfig: enable text heap when necessary
2022-05-25 15:25:05 +08:00
YAMAMOTO Takashi
562db060b7
interpreters/wamr/Kconfig: Mention limitations about wasi
2022-05-24 22:38:36 +08:00
YAMAMOTO Takashi
90e164b708
interpreters/wamr/Kconfig: Add an option to enable wasi libc
2022-05-24 22:38:36 +08:00
YAMAMOTO Takashi
137b924b93
interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_PERF_PROFILING
2022-05-20 21:53:34 +08:00
Petro Karashchenko
7eda43768a
interpreters/ficl: add double include guard to nuttx.h
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-24 09:48:56 +08:00
Alin Jerpelea
d60fb1168d
nxstyle fixes
...
fixes for nxstyle errors reported by CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
26e4e29c95
interpreters: ficl: Add Apache License
...
The initial contribution was missing a license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
yinshengkai
cd1bc19bf9
quickjs: fix compile warning
...
optind is a global variable in getopt.h (a macro defined in stdlib.h in nuttx).
Here it is used as a variable, not a variable of getopt
2022-03-29 22:47:11 +08:00
Michael Mogenson
4043522daf
interpreters: lua: replace awk command with shell script
2022-03-24 00:18:28 +08:00
Michael Mogenson
87df63d367
interpreters: add Lua support
2022-03-21 13:49:42 +08:00
zhouliang3
1e7a2bc009
apps/wamr: Add wamr memory Kconfig
...
Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
2022-03-14 20:52:39 +08:00
Xiang Xiao
4cc0c755bf
Remove CONFIG_CLOCK_MONOTONIC special code
...
since this opion doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:44 +08:00
Xiang Xiao
45af16099b
interpreters/duktape: Remove v from tar command
...
to avoid the verbose unzip message
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:53:27 +01:00
Fotis Panagiotopoulos
bc5d8034f1
Typo fixes.
2022-01-06 10:30:41 +08:00
Petro Karashchenko
5ac15130db
apps: remove space befone newline in logs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-27 20:52:08 -06:00
Cocoacrumbs
a846e55a0e
Fixes BAS list 'Error: Break at: end of program' error.
2021-11-04 13:48:57 -05:00
Alin Jerpelea
94f9dfa4df
interpreters: fix relative path CI error
...
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
80773f59c3
interpreters: bas: update licenses to Apache
...
Gregory Nutt is has submitted the SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 10:31:54 -03:00
Alin Jerpelea
c4ed352263
interpreters: bas: revert to original license
...
Rever the license to the original one and add the license to LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 10:31:54 -03:00
Alin Jerpelea
ec339bc49a
Makefiles: Gregory Nutt: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Xiang Xiao
ebb4ade95e
interpreters/bas: Fix the nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-31 08:51:22 +02:00
Xiang Xiao
213e60232f
Include assert.h in necessary place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-31 08:51:22 +02:00
Masayuki Ishikawa
f6f4de1ca2
interpreters: wamr: Add touch in Makefile to avoid unnecessary mv
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-27 08:20:43 +02:00
Masayuki Ishikawa
a077598b6d
interpreters: wamr: Change the default version to "04-15-2021"
...
Summary:
- This commit changes the default version to "04-15-2021"
to fix a compile error for Cortex-M target
Impact:
- WASM micro runtime (WAMR)
- NOTE: There are still compile warnings in the WAMR which
should be fixed later
Testing:
- Tested with spresense (NOTE: need to add -lm)
- Tested with esp32-devkitc
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-27 08:20:43 +02:00
Alan C. Assis
496393a87b
interpreters/ficl: Fix compilation issue
...
A NuttX user told that ficl wasn't working as suggested in the
README.txt, then I found that the root cause was the order of the
Make.srcs inclusion inside the Makefile. I think we can do better:
we could automate the process to download and configure ficl.
2021-04-15 08:09:48 -05:00
Huang Qi
d66bc2c107
interpreters/quickjs: Fix typo in qjsmini.c
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I3ee4a6bde0df7d158a4b5339ec3ffc027d2f42a3
2021-03-17 11:08:08 +01:00
Huang Qi
4439e0c0b5
interpreters/quickjs: Implement a minimal interpreter
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I782d509f6fcc86ade34eda5dbe5845603b819e0e
2021-03-16 20:28:04 -07:00
Huang Qi
19b49ba045
interpreters/quickjs: Bump to latest release
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I1cd96c4333442f8c3a3c58c3f8ae5bfac1734f5c
2021-03-16 20:28:04 -07:00
Huang Qi
3040c59ae9
Replace all wget with curl
...
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 22:45:46 -06:00
Huang Qi
ea5a9a08bc
interpreters/wamr: Support latest snapshot for main branch
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 05:47:12 -06:00
Xiang Xiao
1402e556eb
quickjs: Don't define __NuttX__ manually
...
since nuttx/tools/Config.mk will do it for us
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-05 03:38:46 -08:00
YAMAMOTO Takashi
46650ffc29
interpreters/wamr: This requires CLOCK_MONOTONIC to build
2020-10-13 08:09:36 +02:00
Huang Qi
1efc805b4e
interpreters/wamr: Bump to latest release.
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-09-29 08:45:31 +01:00
Huang Qi
c26d662951
interpreters/wamr: Add configs for heap pool & custom name sections
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-09-27 19:42:08 +01:00
Huang Qi
69956020b4
interpreters/wamr: Add missing options
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Id1783f42842288a8f9c6ddf6105b6718dde757a1
2020-09-17 18:28:17 +01:00