Commit Graph

4875 Commits

Author SHA1 Message Date
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
Xiang Xiao
c142921dd8 github: Copy PULL_REQUEST_TEMPLATE.md from nuttx repo
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 23:13:22 -07:00
Xiang Xiao
cfe030db40 examples: Replace all -luc with -lc
follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-02 03:34:25 +01:00
liuhaitao
1fbfa8669c Cleanup testdir dir in make distclean
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-01 13:48:39 +08:00
Xiang Xiao
42bde7fb27 examples: Remove the prefix of main from bmi160 and charger
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-30 08:50:20 -06:00
Masayuki Ishikawa
06e74202b5 wireless: gs2200m: Fix to release a bound socket
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 20:17:26 +08:00
Brennan Ashton
ed3c1cbe2d Resolve style issues in ostest/prioinherit
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-30 15:18:04 +08:00
Brennan Ashton
97e487d0d4 Fix uninitialized variable warning in ostest
In lowpri_thread if sem_wait fail nwaiting will not be set even
though the rest of the function uses it.  This is a failure
so really just handling the compiler warning with this.

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-30 15:18:04 +08:00
Xiang Xiao
547bad9e2a Remove the unnecessary BUILD_FLAT dependence from Kconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 11:46:53 -06:00
Gregory Nutt
fcc688e771 wireless/bluetooth/btsak/btsak_security.c: Fix long lines for nxstyle. 2020-04-29 17:50:24 +01:00
Gregory Nutt
9e5d57f492 wireless/bluetooth/btsak/btsak_security.c: Fix newline character
Inspired by Abdelatif's find, here are other cases where /n was used when \n ws intended
2020-04-29 17:50:24 +01:00
Xiang Xiao
dcc620e6b8 Kconfig: Change !BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:23:51 -06:00
Ouss4
679896328d nshlib/nsh_telnetd.c: Print the end line of the MOTD correctly. 2020-04-29 14:46:13 +08:00
liuhaitao
c98960cbf4 CI: Remove -G from cibuild.sh command line
Use make distclean instead of git clean to do check build clean defaultly.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-29 14:45:40 +08:00
Xiang Xiao
7da4a34aac examples: Remove all '#undef __KERNEL__' from source code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-28 08:58:14 -06:00
liuhaitao
e8b5c47eb8 examples/unionfs: clean up the residual files after 'make distclean'
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-28 13:31:22 +08:00
Xiang Xiao
ef19ca0243 cle.c: Fix warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-27 15:29:37 +02:00
Xiang Xiao
f55c5b67ee usrsock: Fix warning: the incompatible pointer type
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-27 15:29:37 +02:00
Xiang Xiao
3bd2bc04b5 examples/unionfs: Remove [a|b]testdir.h in distclean
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-25 20:38:04 -06:00
Brennan Ashton
932efd419d CI: Add logic for determining which branches of OS App and Testing repos should be used
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-26 00:40:47 +01:00
Ouss4
63bb48bbc0 Break long line 2020-04-25 15:31:25 -06:00
Abdelatif Guettouche
09c11d9302
Update the disclaimer to note that some ASF files don't have correct ASF header (#203)
* Update the disclaimer to note that some ASF files don't have correct ASF header
2020-04-25 13:32:32 -06:00
Gregory Nutt
7b2e06b674 Fix errors from DEFAULT_TASK_SIZE change
There were several places where default sector and buffer sizes of 2048 were changed to DEFAULT_TASK_STACKSIZE.  This is not correct.  This was noted by Xiao Xiang.
2020-04-25 16:13:28 -03:00
Gregory Nutt
108e057196 Remove the obsolete ChangeLog.txt file
We do not intend to update the ChangeLog.txt file for releases past 8.2. It used to be a stepping stone between the 'git log' and the ReleaseNotes. However, it no longer serves that purpose. In fact it has no purpose at all; all of the change history is in the 'git log'. That is where people look for historical information, not in the obsolete ChangeLog.
2020-04-24 20:17:11 +01:00
Juha Niskanen
2aabd1c9a7 webclient: run through nxstyle
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-04-23 09:29:36 -06:00
Juha Niskanen
f8f16975a9 webclient: use getaddrinfo to get IPv4 addresses on dual stack systems
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-04-23 09:29:36 -06:00
Xiang Xiao
51cbd42227 Revert "build.yml: Remove -G from cibuild.sh command line"
This reverts commit 989988fa72.
2020-04-22 17:56:19 +01:00
Alin Jerpelea
2749e6467b system: nxplayer & nxrecorder: nxstyle fixes
nxstyle fixes for nxplayer & nxrecorder apps

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
1697c64994 examples: nxwidget: nxstyle fixes
nxstyle fixes for nxwidget exaples

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
c9eaf0beaa examples: i2sloop: nxstyle fixes
nxstyle fixes for i2sloop exaple

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
3cdb81077b examples: i2schar: nxstyle fixes
nxstyle fixes for i2schar exaples

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Xiang Xiao
989988fa72 build.yml: Remove -G from cibuild.sh command line
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-22 00:46:26 +08:00
Juha Niskanen
f18b283ea8 nshlib: add printf command to README.TXT
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-04-21 08:02:32 -06:00
Xiang Xiao
63288eb81f fix apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:550:20: error: ‘m_xyinput’ was not declared in this scope
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-20 07:08:56 -06:00