Commit Graph

4950 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
dcfebf1cea examples/ipforward/ipforward.c: Appease nxstyle 2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
2d9ed6a7e7 system/ping/ping.c: Fix printf format warnings 2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
6e0f188ece system/ping/ping.c: Appease nxstyle 2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
5b1eeb5cae examples/nxlines/nxlines_bkgd.c: Fix printf format warnings 2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
5ee054186c examples/nxlines/nxlines_bkgd.c: Appease nxstyle 2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
862a9fcbda examples/pwm/pwm_main.c: Fix printf format warnings 2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
b04e19ffc7 examples/pwm/pwm_main.c: Appease nxstyle 2020-11-13 05:51:23 -08:00
chao.an
937b67bfa0 wapi/wireless: add get sensitivity support
Change-Id: I9906810466edaad59edf3d63b534959541609aab
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-10 19:37:29 -08:00
chao.an
3959f7535e wireless/wapi: add channel frequency set during associate
Therefore, the associate can support the connection of specified
channel if the scan results contain the multiple AP with same essids.

Change-Id: I4e657c52e638693e7ae19aea2a4fe8a431885547
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-10 19:36:17 -08:00
Subhra Sankha Sarkar
ac5cda8daa Fix for file naming issue for sim:nxffs configuration 2020-11-10 19:06:53 -08:00
YAMAMOTO Takashi
d6b67eb05e nshlib/nsh_dbgcmds.c: Fix a few printf warnings 2020-11-09 04:10:59 -08:00
YAMAMOTO Takashi
a085678879 system/ramtest/ramtest.c: Fix printf warnings 2020-11-09 04:10:59 -08:00
YAMAMOTO Takashi
0fcb94f999 system/ramtest/ramtest.c: Appease nxstyle 2020-11-09 04:10:59 -08:00
YAMAMOTO Takashi
6f6c452991 testing/ostest/signest.c: Fix a printf warning
error: too many arguments for format [-Werror=format-extra-args]
2020-11-09 04:10:59 -08:00
YAMAMOTO Takashi
0a1825b384 testing/ostest/signest.c: Appease nxstyle 2020-11-09 04:10:59 -08:00
Brennan Ashton
0d9579e21c Remove deprecated usage of set-env in workflows
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-08 19:38:15 -08:00
Simon Piriou
a3e27eb1a0 netutils/webserver: fix build error 2020-11-08 17:44:08 -08:00
Simon Piriou
a8a70f219d libuv/adb: add gitignore files 2020-11-08 12:10:11 -08:00
Simon Piriou
c1c488e835 system: add Android Debug Bridge daemon 2020-11-08 13:11:48 -03:00
Simon Piriou
efd81744d1 libuv: fix bugs and add partial pipe support 2020-11-08 13:11:48 -03:00
saramonteiro
2e8f068a61 examples/watchdog/watchdog_main.c: Elapsed var is now being updated through clock 2020-11-07 23:36:14 -08:00
Subhra Sankha Sarkar
c431c25d14 Fix for sim:mount selftest failure 2020-11-05 18:44:15 -08:00
Xiang Xiao
1402e556eb quickjs: Don't define __NuttX__ manually
since nuttx/tools/Config.mk will do it for us

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-05 03:38:46 -08:00
ligd
ee7b0fc1dd nxplayer & nxrecorder: make main thread configurable, set to default
Change-Id: I730f2dab00da245a79fc61d679296e73efc2374f
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-11-03 21:45:59 -08:00
Subhra Sankha Sarkar
3b884cfb87 Fixing coding style issues for rest of nshlib directory - except for the false +ve nsh_timcmds.c 2020-11-02 13:30:18 +01:00
Masatoshi Ueno
0f4ad7dc5f gs2200m: Add function to get IWNWID / IWFREQ / IWSENS information
Summary:
- This commit enables gs2200m application to get IWNWID/IWFREQ/IWSENS information

Impact:
- Affects gs2200m only

Testing:
- Tested with spresense:wifi
2020-11-02 19:59:09 +09:00
Nakamura, Yuuichi
e6e435572b Add task name recording support for trace command 2020-11-01 19:33:08 -08:00
Sebastian Ene
fce08ec029 arch/sim: Fix NXWM test failure
## Summary of changes

Fixed the crash caused by a NULL memory access to an invalid background
window.

Signed-off-by: Sebastian Ene <sene@apache.org>
2020-11-01 11:56:57 -08:00
Matias N
fcc485cc7a nimBLE integration application/library 2020-10-31 13:04:57 -07:00
Matias N
0d7ef382c8 hello: update to Apache license 2020-10-31 09:27:23 -07:00
Matias N
5bcaeff541 lvgl: use malloc/free for memory handling and "tickless" tick interface
This makes LVGL use malloc/free to handle its memory (instead of
their own memory handling) and supports a tick interface by which
LVGL can ask NuttX the elapsed time, instead of having to periodically
"tick" LVGL internal time in a thread.
2020-10-29 22:26:32 -07:00
Masayuki Ishikawa
305bd0e448 nshlib: Fix nsh_configstdio() in nsh_usbconsole.c
Summary:
- This commit fixes nsh_configstdio() to setup stdout and stderr

Impact:
- Affect nsh_usbconsole only

Testing:
- Tested with stm32f4discovery:usbnsh

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-29 20:43:59 +09:00
Xiang Xiao
e76ab9c868 Remove all fclose with stdin, stdout and stderr
since it is wrong to close the builtin stream and specially note
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fclose.html:

Since after the call to fclose() any use of stream results in
undefined behavior, fclose() should not be used on stdin, stdout,
or stderr except immediately before process termination (see XBD
Process Termination), so as to avoid triggering undefined behavior
in other standard interfaces that rely on these streams. If there
are any atexit() handlers registered by the application, such a
call to fclose() should not occur until the last handler is
finishing. Once fclose() has been used to close stdin, stdout, or
stderr, there is no standard way to reopen any of these streams.

and it is also unnecessary because the stream always get flushed.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-29 20:43:59 +09:00
Subhra Sankha Sarkar
36b1be0609 Fixed coding std issues 2020-10-29 04:20:17 -07:00
Xiang Xiao
bd0ad68da8 build.yml: Switch avr-mips-riscv-x86-xtensa.dat to other.dat
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-29 01:08:34 -07:00
Subhra Sankha Sarkar
76e58d9e55 Fixed coding std violations in nsh_fsutils.h 2020-10-28 06:43:43 -07:00
Subhra Sankha Sarkar
0d74608b2c Fixed build issues 2020-10-28 05:57:47 -07:00
Subhra Sankha Sarkar
23ec80fa30 Addressed review comments from @v01d and @xiaoxiang781216 2020-10-28 05:57:47 -07:00
ligd
0781dbf9e9 usrsock_rpmsg: fix can't wake ppoll when no ACTION
N/A

no matter open/close CONFIG_SIGUSR1_ACTION, usrsock always do,
unmask SIGUSR1, set action to NULL.

Change-Id: I39ba51db8e4c77b4923c97598b3cb73c12473a2c
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-10-27 10:16:55 -07:00
ligd
d791afff4c system/cu/cu_main.c: ctrlC will send SIGINT/SIGSTP
N/A

Change-Id: I67f02977d206875cf1bd9cae4973c49af1db4c1d
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-10-27 10:16:55 -07:00
saramonteiro
2279eeb0a7 Examples/WDT: Added argument to select devname 2020-10-27 14:10:35 -03:00
Masayuki Ishikawa
909eff540d wireless: gs2200m: Add support for ioctl(fd, SIOCGIFADDR, ...)
Summary:
- This commit adds support for ioctl(fd, SIOCGIFADDR, ...) to gs2200m_main.c

Impact:
- Only affects ioctl(fd, SIOCGIFADDR, ...) with gs2200m
- Need to update nuttx as well

Testing:
- Tested with spresense:wifi
- Tested with dhcpc

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 12:42:03 +01:00
Masayuki Ishikawa
b71c5f8cb1 wireless: gs2200m: Implement getpeername_request()
Summary:
- This commit adds getperrname_request() to gs2200m_main.c

Impact:
- Affects gs2200m only
- Need to update nuttx as well

Testing:
- Tested with spresense:wifi
- Modify telnetd and add getpeername() to show a client address

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 12:42:03 +01:00
Masayuki Ishikawa
0e9594e107 wireless: gs2200m: Fix to handle address info in accept()
Summary:
- This commit fixes to handle address info in accept()

Impact:
- All use cases which use accept() with gs2200m
- Need to update nuttx as well

Testing:
- Tested with spresene:wifi
- Tested with telnet daemon

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 12:42:03 +01:00
Masayuki Ishikawa
196b1f06df wireless: gs2200m: Fix to handle UDP connect() with bind()
Summary:
- This commit fixes to handle UDP connect() with bind() to local port
- NOTE: GS2200M does not support TCP connect() with bind to local port

Impact:
- All UDP cases which use connect() with gs2200m
- Need to update nuttx as well

Testing:
- Tested with spresense:wifi
- Create a UDP socket and bind() to local port.
- Then connect() to remote address with port and send()

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 12:42:03 +01:00
dongjiuzhu
60342ec862 testing/sensortest: add sensor driver test
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-23 00:43:47 +08:00
Philippe Coval
9134ecff23 fxos8700cq: Remove unused var
Change-Id: I96821efd5f3ed78da5a51b39972596774f5645cf
Bug: https://github.com/apache/incubator-nuttx/pull/199
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-22 00:13:14 +08:00
Philippe Coval
0a77cd35d8 fxos8700cq: Select SENSORS if used
SENSORS_FXOS8700CQ needs SENSORS for linking

Change-Id: Ie0f1ba57517f27fa7697b6c8cf7a1f6558107732
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-21 18:05:25 +08:00
Nakamura, Yuuichi
954c90b4b5 Add SCHED_INSTRUMENTATION_HIRES support 2020-10-21 02:10:51 +08:00
Xiang Xiao
58aa886bad system/sched_note: Change DRIVER_NOTE to DRIVER_NOTERAM
follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 17:54:45 +01:00