Commit Graph

6798 Commits

Author SHA1 Message Date
Huang Qi
0af64dc045 system/cle: Remove cle_getcursor()
Fix https://github.com/apache/nuttx/issues/8731, don't rely on the vt100 to report
the cursor position.

This avoid the implicit input (response of get cursor command) during the user inputs.

Notice: This assume that the nsh prompt is always shown at line start.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-17 12:08:04 -03: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
Xiang Xiao
503b4ccf82 Fix the indent issue found in build script
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-17 12:00:17 -03:00
Ville Juven
5d9811a03d nshlib/nsh_vars.c: Add missing stdio.h
nsh_vars.c: In function 'nsh_setvar':
nsh_vars.c:285:3: error: incompatible implicit declaration of built-in function 'sprintf' [-Werror]
  285 |   sprintf(pair, "%s=%s", name, value);
2023-03-17 11:59:37 -03:00
XinStellaris
7ab1f2a957 Add Arch-specific libc test case.
Signed-off-by: XinStellaris <tianxin7@xiaomi.com>
2023-03-17 11:59:13 -03:00
zhangyuan21
4454c8d02f apps: remove unnecessary sem_setprotocol code
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-17 11:58:03 -03:00
simbit18
0d34e55d9e apps/graphics/nxglyphs/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
d8dd8ff61e apps/graphics/nxglyphs/Make.defs: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
da6998434b apps/fsutils/mkmbr/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
a37267e644 apps/examples/xbc_test/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
3a912b8778 apps/examples/watcher/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
5578539c88 apps/examples/sht3x/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
826b95a377 apps/examples/posix_spawn/filesystem/hello/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
1a0cd7211a apps/examples/nxscope/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
311e1edbdb apps/examples/nxflat/tests/struct/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
478ad2c782 apps/examples/noteprintf/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
e4f0a55673 apps/examples/mount/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
63a80df4e2 apps/examples/hello_zig/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
de4c99f870 apps/examples/hello_rust/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
0a187004c1 apps/examples/hello_nim/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
2235f33033 apps/examples/hello/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
4713edf5a8 apps/canutils/lely-canopen/Make.defs: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
bfdb76c609 apps/examples/cordic/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
Huang Qi
ea4437fc76 termios: Fix wrong ECHO flag
Follow https://github.com/apache/nuttx/pull/8800

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-17 03:22:08 +01:00
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