Xiang Xiao
fc1045271a
Directory.mk: Always generate and remove .kconfig
...
since .kconfig is required to trigger the recursive processing
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-17 03:21:43 +01:00
jturnsek
e599bbcd24
Initial LuaJIT interpreter load
2023-03-17 09:28:58 +08:00
zhangyuan21
922f9932a6
apps: add <assert.h> header file
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-16 12:00:28 +01:00
jturnsek
b67b56111a
Using poll instead of epoll by default
2023-03-10 14:59:16 +08:00
jturnsek
699b7c6a22
Adding sdr group with liquid-dsp library
2023-03-09 01:43:53 +08:00
simbit18
e8dcb60d71
apps/testing/ltp/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-09 01:43:09 +08:00
simbit18
75b2519827
apps/testing/unity/Make.defs: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-09 01:43:09 +08:00
simbit18
5cee3eebd9
uclibcxx_test/Make.defs Fix mistakes in comments
...
apps/testing/uclibcxx_test/Make.defs: Fix mistakes in comments
2023-03-09 01:43:09 +08:00
simbit18
77cc8c96b1
apps/testing/mtd_config_fs/Makefile: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-09 01:43:09 +08:00
simbit18
e8bf439105
apps/testing/cxxtest/Makefile: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-09 01:43:09 +08:00
simbit18
6d7ed39a0d
apps/testing/cxxtest/Make.defs: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-09 01:43:09 +08:00
Lucas Saavedra Vaz
005a4c60c9
benchmarks/coremark: Improve CoreMark result message
2023-03-09 01:42:54 +08:00
Huang Qi
dbf7d34a2a
nsh: Fix a potential buffer overflow in cmd help
...
Follow https://github.com/apache/nuttx-apps/pull/1621 , fix issue of builtin command list.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-09 01:42:38 +08:00
Fotis Panagiotopoulos
dd2c3b3f6a
nsh: Added conditional include of netinit.
2023-03-09 01:41:10 +08:00
YAMAMOTO Takashi
ad9a44d606
interpreter/toywasm: Update toywasm version
...
Tested on esp32-devkitc.
2023-03-09 01:40:38 +08:00
chao an
d33c9d3669
application.mk: add extera objects into $(OBJS) depends
...
Added support for extra object files to describe compilation rules
in private libraries to support some special compilers, especially
they contain some special compilation rules (eg: X86 nasm/yasm)
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-08 18:53:03 +02: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
Zhe Weng
098f5836f9
apps/system: Add tcpdump command
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-03-08 19:47:53 +08:00
chao an
7ad9525c35
Application: fix multiple main target mismatch during incremental compile
...
MAINSRC will fail to match with PROGNAME if one of main source is changed in incremental compilation
this PR will correct this issue.
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-08 08:56:09 +01:00
jturnsek
b13f70ca59
Nng library and pubsub example
2023-03-08 10:49:13 +08:00
simbit18
d325cf048a
apps/system/uorb/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
simbit18
a62f09136e
apps/system/setlogmask/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
simbit18
7b8cc4e74b
apps/system/nxrecorder/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
simbit18
ef908dd83b
apps/system/cachespeed/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
simbit18
dd607dbd11
apps/modbus/ascii/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
simbit18
ab26b11bbc
apps/modbus/functions/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 21:45:12 +02:00
Huang Qi
96cd66cf51
system/cu: Disable echo if it's enabled to avoid double input character
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-07 09:50:54 +01:00
simbit18
4a9752ed3d
Update pwm.h
...
Fix nxstyle
2023-03-07 10:00:43 +08:00
simbit18
5854208e55
apps/examples/dac/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
943fda1aa8
apps/examples/audio_rttl/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
9fc5fea946
apps/examples/audio_rttl/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
2bfa344cc0
apps/examples/relays/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
853e574800
apps/examples/etl/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
15b24123f5
apps/examples/nxdemo/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
b85bd22fe1
apps/examples/esp32_himem/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
82c78c6734
apps/examples/esp32_himem/Make.def:sFix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
b6cd7679e4
apps/examples/pwm/pwm.h: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
71bbfbea43
apps/examples/mtdrwb/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
24667d219e
apps/examples/tcp_ipc_server/Make.defs: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
7c803d28e6
apps/examples/tcp_ipc_server/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
2792127849
apps/examples/tcp_ipc_client/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-07 10:00:43 +08:00
simbit18
13315255e5
apps/examples/tcp_ipc_client/Make.defs: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-07 10:00:43 +08:00
Gustavo Henrique Nihei
f500c64962
Include missing headers throughout the repository
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 09:58:13 +08:00
Gustavo Henrique Nihei
da7d9e3737
system/nsh: Include missing "unistd.h" header
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 18:52:31 +02:00
Gustavo Henrique Nihei
b61686b866
nshlib: Include missing "sched.h" header
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 18:52:31 +02:00
simbit18
02d293d4b7
qe.h: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-06 05:19:02 -08:00
simbit18
baf15a1a89
apps/examples/qencoder/Makefile: Fix mistakes in comments
...
Fix mistakes in comments
2023-03-06 05:19:02 -08:00
chao an
4f11f38c38
interpreters/wamr: add compile role of WebAssembly
...
Add compilation rules to support WebAssembly(WASM/WAMR):
1. Compile Toolchain
1> Download WASI sdk and export the WASI_SDK_PATH path:
$ wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz
$ tar xf wasi-sdk-19.0-linux.tar.gz
Put wasi-sdk-19.0 to your host WASI_SDK_PATH environment variable, like:
$ export WASI_SDK_PATH=`pwd`/wasi-sdk-19.0
2> Download Wamr "wamrc" AOT compiler and export to the PATH:
$ mkdir wamrc
$ wget https://github.com/bytecodealliance/wasm-micro-runtime/releases/download/WAMR-1.1.2/wamrc-1.1.2-x86_64-ubuntu-20.04.tar.gz
$ tar xf wamrc-1.1.2-x86_64-ubuntu-20.04.tar.gz
$ export PATH=$PATH:$PWD
2. Configuring and running
1> Configuring sim/wamr and compile:
nuttx$ ./tools/configure.sh sim/wamr
nuttx$ make
...
Wamrc Generate AoT: /home/archer/code/nuttx/n5/apps/wasm/hello.aot
Wamrc Generate AoT: /home/archer/code/nuttx/n5/apps/wasm/coremark.aot
LD: nuttx
2> Copy the generated wasm file(Interpreter/AoT)
nuttx$ cp ../apps/wasm/hello.aot .
nuttx$ cp ../apps/wasm/hello.wasm .
nuttx$ cp ../apps/wasm/coremark.wasm .
3> Run iwasm
nuttx$ ./nuttx
NuttShell (NSH) NuttX-10.4.0
nsh> iwasm /data/hello.wasm
Hello, World!!
nsh> iwasm /data/hello.aot
Hello, World!!
nsh> iwasm /data/coremark.wasm
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 12000
Total time (secs): 12.000000
Iterations/Sec : 5.000000
Iterations : 60
Compiler version : Clang 15.0.7
Compiler flags : Using NuttX compilation options
Memory location : Defined by the NuttX configuration
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0xa14c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 5.000000 / Clang 15.0.7 Using NuttX compilation options / Defined by the NuttX configuration
Co-Authored-By: Huang Qi <huangqi3@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-06 13:23:44 +02:00