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
Xiang Xiao
68ed2a2afc
build.yaml: Change arm-11 to arm-12
...
since arm-12 finish more quickly than arm-11
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:30:17 -06:00
Xiang Xiao
0c84e22aaf
example: Remove all APPNAME from Makefile
...
which doesn't use anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:29:34 -06:00
Xiang Xiao
4431d770b4
.gitignore: Add more entries found during prcheck testing
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:29:34 -06:00
Xiang Xiao
a82d74b8a1
nshlib: Call BOARDIOC_FINALINIT in nsh_telnetstart if CONFIG_NSH_CONSOLE not define
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:15:23 -06:00
Xiang Xiao
b1b45de3db
Revert "nshlib: Move BOARDIOC_FINALINIT into nsh_initscript"
...
This reverts commit ac5632fc50
.
2020-04-19 10:15:23 -06:00
Xiang Xiao
650b58d6b2
nshlib: Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
de8a56d149
nshlib: Split shell functionality from nsh to sh
...
1.Improve the compatiblity as other OS
2.Avoid call nsh_initialize more than once
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
3f9302561c
nshlib: Enhance nsh to execute the shell script
...
and support the interactive shell too
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
d307758c3c
nshlib: Rename 'sh' command to 'source' command
...
since this command change the parent environment variable and
add new '.' command which has the same functionality as 'source'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
9ab5e2ff45
nshlib: Add login argument to nsh_session for controling the login process
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
7b4d34e352
system/taskset: Call system to launch application instead of nsh_system
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
9dbdc73df6
nshlib: Reset NSH_NP_SET_OPTIONS_INIT in nsh_initscript
...
to ensure the reset get executed in all console implementation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00