Matias N
053ca8fcca
export APPDIR using 'export' keyword (TOPDIR already exported by nuttx/)
2020-09-16 06:20:06 -07:00
Masayuki Ishikawa
03c3b2ed0f
system: nxplayer: Fix a compile error if CONFIG_DEBUG_AUDIO_ERROR=y
...
Summary:
- This commit fixes a compile error
Impact:
- Affects nxplayer with CONFIG_DEBUG_AUDIO_ERROR=y
Testing:
- Tested with spresense:rndis
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-15 21:15:58 -07:00
Huang Qi
e5e3c36b35
build: Support both .s & .S files
...
Change-Id: I61d213f28e542d7a5df388312281b7601af2f86a
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-09-15 15:07:27 +08:00
Pierre-Olivier Vauboin
bd537f286d
ntpclient: fix NTP daemon state in case of DNS failure
2020-09-15 01:18:37 +08:00
Matias N
18137c0fec
Fix: ensure archive files do not carry object files from prior builds
...
This is the corresponding change to the one on main NuttX repo. In this
case this involves splitting the build of libapps.a into: a) building
all applications (which is safely parallelizable), b) adding each
application's object files to the archive in turns (serial by nature).
This removes the need for the flock used to protect the parallel build.
2020-09-14 15:55:06 +08:00
Huang Qi
52b28ed484
interpreters: Initial wasm3 WebAssembly runtime support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Ib97d7d95a3a5e350e5856e1bb2462dbee7185691
2020-09-14 10:35:29 +08:00
Matias N
282e565676
Remove -x from cibuild.sh call in CI since this will abort the build
...
on first error and we do not want that.
2020-09-13 10:30:06 -07:00
Matias N
5e20ccd366
CI: don't cache sources, use artifacts only
2020-09-12 12:51:11 -07:00
Xiang Xiao
ecae66fe59
Replace all CONFIG_NFILE_STREAMS with CONFIG_FILE_STREAM
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic27ad65d7cc2ea570921e0c17098dcb6bfe1893a
2020-09-11 17:57:58 +08:00
Xiang Xiao
3edfb4a3ac
system/readline: Fix the stack overflow when application name is too long
...
shouldn't zero the memory after tmp_name
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I527001af08da0865c4054b7a5b6ccaf60f585c06
2020-09-04 08:57:03 +02:00
Brennan Ashton
bef5dc32a7
CI: Fix check patch to handle renames / deletes
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-03 20:08:01 -03:00
Huang Qi
d121168fb0
interpreters/quickjs: Initial QuickJS support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Ie6cb7a37c34ef3bd63390eed905b6fb76c31a3d9
2020-09-01 09:14:05 -03:00
Brennan Ashton
d38351cfd0
nxstyle: Fixup existing long lines
2020-08-29 14:04:44 -06:00
Brennan Ashton
14c6d976fc
Bluetooth: Use the new l2cap socket address type
2020-08-29 14:04:44 -06:00
Huang Qi
b989914b16
interpreters/duktape: Add duktape to global search path
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-30 01:25:25 +08:00
Xiang Xiao
68c8a0f708
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-23 15:44:32 -06:00
Xiang Xiao
837b405624
Change all files come from Xiaomi/Pinecone to Apache License 2.0
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-23 15:44:32 -06:00
spiriou
06c7f06b1d
nshlib: remove NSH_HAVE_WRITABLE_MOUNTPOINT to enable mkrd again
2020-08-23 11:38:08 -07:00
Ouss4
aa717d59fd
system/readline/readline_common.c: Don't save the command again in the
...
history buffer if it's the one at the top.
2020-08-22 05:11:02 -07:00
Ouss4
a1b8ad9190
system/readline/readline_common.c: Fix nxstyle issues.
2020-08-22 05:11:02 -07:00
Xiang Xiao
9d80399bd5
nsh: Accept the command line arguments like sh
...
Usage: nsh [<script-path>|-c <command>]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ifb76b27e7fd09d26b1f6e48c391fed0972018041
2020-08-19 14:32:53 -07:00
SPRESENSE
78e8090842
examples: wget: Fix nxstyle issues
2020-08-18 10:07:47 -05:00
SPRESENSE
10386cf5b5
examples/wget: wget example to work without NSH_NETINIT config
...
- Network initialization codes are not needed
with NSH_NETINIT config.
- Suppport commandline argument to set the URL to get.
- Change stack size to independent
2020-08-18 10:07:47 -05:00
SPRESENSE
7a1d626504
netutils/webclient: Enable to send long HTTP request
...
Call send() repeatedly until whole buffer to be sent.
2020-08-18 10:07:47 -05:00
spiriou
18158ed271
system: add libuv port for NuttX
2020-08-17 11:09:47 -03:00
Xiang Xiao
74c506b4d1
nsh: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink
...
since these function don't depend on standard input/output function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I320659eff933d49c4872e43320fa30696d8b8a54
2020-08-17 00:16:21 +01:00
Xiang Xiao
e71e537e24
ftpc_transfer.c:667:15: Fix error: ‘argc’ undeclared
...
forget in commit efeb1d10b1
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I93a99e909dac57821366f7b522404e673fbcd9d8
2020-08-15 18:19:31 +01:00
Huang Qi
aaa198f08c
interpreters/duktape: Clean objects
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Huang Qi
08c5998472
graphics/lvgl: Specific LVGL version by kconfig
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Huang Qi
7099bc4b02
interpreters/duktape: Add console/print/alart support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Xiang Xiao
efeb1d10b1
netutils/ftpc: Change watchdog callback prototype
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-14 08:20:05 -06:00
Oleg Evseev
fcd3937d7c
system/cu: refactor, add option -c to disable \n -> \r\n conversion
...
option -c will disable \n -> \r\n conversion both for serial device and console if it is a tty
refactor: use only one function to set termios parameters, use termious related code and options only if CONFIG_SERIAL_TERMIOS is defined
2020-08-14 00:58:55 +01:00
Xiang Xiao
ebf37162ed
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 12:33:50 -06:00
Xiang Xiao
bf4c36c83f
netutils/ftpc: Embed wdog_s in ftpc_session_s directly
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 12:33:50 -06:00
Xiang Xiao
e6c5ff9208
Remove the unnecessary touch and clean from Makefile
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 19:10:19 +01:00
Masayuki Ishikawa
7f48576218
nshlib: Fix memory corruption in nsh_parse.c
...
Summary:
- Fix memory corruption when pthread_create() failed in nsh_execute()
Impact:
- nsh builtin command execution in background with errors
Testing:
- Tested with hifive1-revb:nsh
- Set CONFIG_MAX_TASKS=4
- Run 'sleep 1000 &' in 3 times will cause pthread_create error
- Run free, ps command
Reported-by: Yoshinori Sugino <ysgn0101@gmail.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-11 13:57:02 +02:00
Huang Qi
a6674b6edc
interpreters/duktape: Fix build warning for sim on macOS
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Iecfdb1dee2060d2f0f0a2dc8dce3d239af8ee273
2020-08-11 01:24:41 -05:00
Xiang Xiao
4136d42596
Change FBIO_UPDATE argument from nxgl_rect_s to fb_area_s
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ibaf4b0180afecdcd3248693a3092c8a23e22a2fa
2020-08-10 10:45:37 +01:00
chao.an
8917467d04
netutils/dhcpd: correct the member name
...
Change-Id: I4dc6be8550a938851ae897fd93200a995e5c5178
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-08-07 14:16:14 -05:00
Huang Qi
6bad964016
interpreters/duktape: Fix warning for sim
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I41cd1dab10fe3f98af757bc19968697f80e84fa4
2020-08-07 14:15:57 -05:00
Huang Qi
2ddcd1d186
interpreters/duktape: Fix tarball download url
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I950d5c676f0772681bd27dfefd35bfab495a2564
2020-08-06 22:46:56 -05:00
Huang Qi
06b64634bf
interpreters: Add initial duktape support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I8909551d565ce9d1ae25607367a005eee13c3860
2020-08-06 10:52:26 -03:00
SPRESENSE
eaeceb516b
apps/examples/usrsocktest: Fix nxstyle issue
2020-08-06 20:52:09 +09:00
SPRESENSE
f29c0dabd4
apps/examples/usrsocktest: Add test scenario of recv
...
Add test scenario of recv for MSG_PEEK flag.
2020-08-06 20:52:09 +09:00
SPRESENSE
4e1a22428a
wireless/gs2200m/gs2200m_main.c: Add passing MSG flags
...
Add passing MSG_* flags for gs2200m driver.
2020-08-06 20:52:09 +09:00
SPRESENSE
c1bf012211
netutils/usrsock_rpmsg: Change to pass the flags to the psock interface
...
Pass the sendto/recvfrom flags argument to the psock interface.
2020-08-06 20:52:09 +09:00
SPRESENSE
4bd506b7f5
apps/examples/usrsocktest: Add MSG_PEEK flag support
...
Do not decrement the recv_avail_bytes if MSG_PEEK flag is specified.
2020-08-06 20:52:09 +09:00
Peter Bee
63a5ddcc7c
testing/cxxtest: increase STACKSIZE to avoid crash
...
The previous version of cxxtest uses a fixed value(4096) for STACKSIZE,
insufficient when no optimization options are set(CONFIG_DEBUG_NOOPT).
This patch increased the STACKSIZE to CONFIG_DEFAULT_TASK_STACKSIZE for
stability and consistency.
Change-Id: I45a4806d2cda1583f60a5cf24b98b8df58f377d0
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2020-08-03 21:05:01 +01:00
Johannes Schock
6aada750d9
Testing for UTF8 support for FAT Filesystem.
2020-07-31 18:03:03 -03:00
SPRESENSE
63cd701958
Makefile: Unify ROOTDEPPATH into DEPPATH
...
DEPPATH is commonly used in nuttx repo, so it to be the same with them.
2020-07-29 15:22:20 +02:00