Xiang Xiao
3f933d073c
netuitls/thttpd: Add $(APPDIR)/netutils/thttpd into search path
...
to fix config.h can't be found
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-22 12:25:09 +01:00
Masayuki Ishikawa
34305351c4
netutils: ftpd: Fix style violations in ftpd.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-22 16:53:37 +08:00
Masayuki Ishikawa
e6196d2c9c
netutils: ftpd: Fix EPSV mode in ftpd.c (IPv4 only)
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-22 16:53:37 +08:00
Masayuki Ishikawa
13479e0a8c
wireless: gs2200m: Update help messages in gs2200m_main.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-22 10:30:16 +02:00
Xiang Xiao
ea135b89c6
build: Replace all -I to INCDIR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
liuhaitao
b64d3533ba
Application.mk: fix generated empty Make.dep for SRCS with VPATH
...
https://github.com/apache/incubator-nuttx-apps/pull/250 resulted in generated empty
Make.dep for SRCS with VPATH.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-21 13:22:13 +01:00
Masayuki Ishikawa
8d1f2d52da
system: nxplayer: Introduce max host and file name for http url
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-21 18:48:02 +08:00
Xiang Xiao
36bce2959a
build: Remove the duplicated definition
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 14:53:21 -06:00
Xiang Xiao
9be0be5d47
build: host executable should use HOSTEXEEXT not EXEEXT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 08:58:10 -06:00
Masayuki Ishikawa
bd47c468c5
nshlib: Introduce CONFIG_NSH_WGET_BUFF_SIZE
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-18 20:00:28 -06:00
Xiang Xiao
6a26547dec
build: Move INCDIROPT to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
Xiang Xiao
d232823e63
build: Replace WINTOOL with CYGWIN_WINTOOL Kconfig
...
so the correct value can be determinated by Kconfig system automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
Xiang Xiao
0a6f978771
app/builtin: simplify the application registraion flow
...
Change-Id: I6b92385e72d0e1a30123f12dbb9c4fd3e90b0315
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-18 09:51:09 -06:00
chao.an
224c4767fe
apps: correct the program name to avoid invalid dependent targets
...
Change-Id: Iec6ca1b04a25afee16a4b600ee496620fec97577
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-18 09:51:09 -06:00
chao.an
8997213c2a
nsh/parse: Try FILE_APPS first in the case of builtin
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-18 06:53:57 -06:00
chao.an
898c1ce4d2
Revert "This critical behavior was broken by this commit:"
...
This reverts commit 9b06b508f9
.
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-18 06:53:57 -06:00
Masayuki Ishikawa
e2414cd731
wireless: gs2200m: Fix to receive a big packet
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-18 09:44:37 +02:00
Gregory Nutt
4f54a75c48
apps/nshlib/nsh_parse.c: Add some comments.
...
Add some comments to nsh_parse.c emphasizing the reason that things are done in the order that they are. Perhaps such comments will avoid similar breakage in the future.
2020-05-18 10:03:17 +08:00
Gregory Nutt
60428baed6
apps/nshlib/nsh_parse.c: Run through nxstyle.
2020-05-17 23:38:05 +01:00
Gregory Nutt
9b06b508f9
This critical behavior was broken by this commit:
...
commit 9a28ccf836
Author: chao.an <anchao@xiaomi.com>
Date: Fri Feb 21 09:54:47 2020 +0800
nsh/parse: try the builtin configuration first
In the case of enable the BUILTIN_APPS/FILE_APPS at the same time,
try the builtin list first to ensure that the relevant configuration
(stacksize, priority) can be set normally.
This commit breaks the feature because it changes the order to that the built-in application is tried first. Hence, the version on the file system will never replace the built-in version.
That commit must be reverted in order to restore the correct functionality.
Revert "nsh/parse: try the builtin configuration first"
This reverts commit 9a28ccf836
.
2020-05-17 23:38:05 +01:00
liuhaitao
994af95576
tools/mksymtab.sh: suppress 'find apps/bin' No such file or directory error msg
...
Suppress apache nightly build find error msg as below:
find: '/home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/apps/bin': No such file or directory
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 07:29:37 -06:00
liuhaitao
79e544f032
exmaples: some nxstyle fixes for module/sotest/thttpd
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 13:36:05 +08:00
liuhaitao
0c60624276
Update make dependency for elf/module/nxflat/posix_spawn/sotest/thttpd
...
Update make dependency for elf/module/nxflat/posix_spawn/sotest/thttpd examples which make use of
mksymtab.sh. This could avoid them built twice in 'make depend' and 'make all' which would result
in file truncated build break. Now only build once by 'make all'.
Change-Id: I5d8f1ebbf73e3b12d7d2118f1f51b4233d0ed007
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 13:36:05 +08:00
Masayuki Ishikawa
ba3baa57a5
examples: ftpc: Fix style violations in ftpc_main.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 18:17:57 -06:00
Masayuki Ishikawa
9a90b65355
examples: ftpc: Fix a compile warning for IPv4 only configuration
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 18:17:57 -06:00
Ouss4
cc2ac7452c
system/netdb/netdb_main.c: Eliminate a warning when
...
CONFIG_NETDB_HOSTFILE is not set.
2020-05-14 16:40:12 -06:00
Xiang Xiao
3b98acc87c
netutils/dhcpd: correct the option header check
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-14 07:51:55 -06:00
Xiang Xiao
ed3ac15526
netutils/dhcpd: Fix the minor typo error
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-14 07:51:55 -06:00
Masayuki Ishikawa
f3934ec6d8
wireless: gs2200m: Add support for getsockname() to gs2200m
...
NOTE: need to update nuttx repo as well
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 07:50:16 -06:00
Xiang Xiao
9d78e5b4c2
Remove executable bit from source code
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-13 06:52:34 -06:00
chao.an
7a9eea5aba
netutils/dhcpd: fix nxstyle warning
...
Change-Id: I92c4c9426629c728c70b3f6bb047f218816580a2
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-09 13:31:15 -06:00
chao.an
3aefe08cba
examples/dhcpd: reuse the router ip/mask from dhcpd lib
...
Change-Id: I6a9a783b9d9c8b9a4e56a885232a759f0adaeccb
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-09 13:31:15 -06:00
chao.an
018c9420ac
netutils/dhcpd: cancelable dhcp daemon
...
Change-Id: Iea3c0b8f91b0d6d8ececcd3932d8756a9d021608
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-09 13:31:15 -06:00
Gregory Nutt
baea789137
examples/thttpd/content/tasks/tasks.c: nxstyle check.
2020-05-09 14:55:38 -03:00
Gregory Nutt
3abdf30e8c
examples/thttpd/content/tasks/tasks.c: Update OS internal name
...
This logic uses the OS internal nxsched_foreach() function. This is a violation of the POSIX OS interface. But for now, we just update the name.
2020-05-09 14:55:38 -03:00
liuhaitao
d7a5313aca
Revert "CI: use 'git diff $commits' as a whole patchset to do checkpatch"
...
This reverts commit 9c4cdc5331
.
If one PR is on a former master code base, using 'git diff $commits' would result in
abnormal checkpatch report sometimes. So revert it anyway.
2020-05-09 14:10:48 +08:00
Gregory Nutt
f918be8d2a
Rename CONFIG_NPTHREAD_KEYS to CONFIG_TLS_NELEM
...
After the redesign of pthread-specific data, CONFIG_NPTHREAD_KEYS is removed and replaced with CONFIG_TLS_NELEM
2020-05-08 17:43:28 +01:00
liuhaitao
9c4cdc5331
CI: use 'git diff $commits' as a whole patchset to do checkpatch
...
So avoid the duplicate print logs sometimes and rename file not opened issue.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-08 17:26:16 +01:00
Gregory Nutt
b2d8c501f6
Remove use of set_errno() from application code.
...
The normal assignment errno = errcode should work fine now.
2020-05-07 22:23:19 +01:00
Gregory Nutt
8a92862e03
Remove CONFIG_TLS
...
A first step in implementing the user-space error is force TLS to be enabled at all times. It is no longer optional
2020-05-07 17:29:02 +01:00
Huang Qi
ed54b894b2
graphics/littlevgl: Add missing configs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I0332365858f7bf9288a43778de8540b6117ddc8a
2020-05-07 06:40:18 -06:00
Pelle
0704bd2e49
Example application for the hdc1008 driver.
2020-05-07 03:09:27 +01:00
Gregory Nutt
779635afa6
netutils/usrsock_rpmsg: Fix build failures
...
Not all files were correctly modified when usrsock_rpmsg was moved from apps/system to apps/netutils. Changes were overlooked in the Makefile and Make.defs file.
2020-05-07 03:00:27 +01:00
Xiang Xiao
4389885cf6
Move usrsock_rpmsg from system to netutils folder
...
This is a more suitable location
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-06 08:59:53 -06:00
Xiang Xiao
7a99d62ca1
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaox
iang@xiaomi.com>
2020-05-06 07:31:10 -06:00
Xiang Xiao
8a1f5ee34c
debug: Reduce CONFIG_CPP_HAVE_VARARGS usage
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-06 07:31:10 -06:00
Brennan Ashton
005ef92990
Restore Git Credentials on NuttX repo
...
Something change on the GitHub side that has broken credentials
between the the fetch and buld workflow steps. There is no
way to tell the checkout action to only re-auth so we have it
checkout the repo again, but it will use what it already has.
In the future we can change fetch step to just compute the
target refs and store them in a script that we can call to
set the environment variables for the targets much like
this patch.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-05 15:28:51 +08:00
Xiang Xiao
e72608e0d8
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-02 09:45:44 -06:00
Xiang Xiao
dea4dc4c0a
.asf.yaml: Disable squash and merge option
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 23:13:22 -07:00