chao.an
995aef9d99
net/sockopt: move BINDTODEVICE to socket level
...
rename the UDP_BINDTODEVICE to SO_BINDTODEVICE to follow the linux
style to be compatible with non-UDP protocol binding requirements
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-25 00:11:23 +08:00
Fotis Panagiotopoulos
0cdb2cfa48
Fixed compiler warnings.
2022-08-23 01:39:59 +08:00
zouboan
d1cbbcdb41
reset state machine to support identification once more without restart app
2022-08-22 13:57:12 +08:00
zouboan
bd82e8d39f
improve flux linkage identification method
...
improve flux linkage identification method
2022-08-22 13:57:12 +08:00
Huang Qi
511d9d59de
nshlib: Disable dmesg if RAMLOG_SYSLOG disabled
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-22 13:56:54 +08:00
weizihan
c4972d4721
apps: Fix bug by calling getrandom
...
Signed-off-by: weizihan <weizihan@xiaomi.com>
2022-08-18 18:02:01 +08:00
zhanghongyu
8fe295de32
wireless: Add ioctl cmd to setting PTA prio
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-18 11:48:23 +08:00
weizihan
9dd3055014
apps: Fix the bug that setsockopt didn't check return value
...
Signed-off-by: weizihan <weizihan@xiaomi.com>
2022-08-17 22:50:56 +08:00
pengyiqiang
a9f6d66888
add fds initialization and buttonset comparison
2022-08-17 11:41:13 +08:00
pengyiqiang
d3232585b0
fixed non-standard naming and usage
2022-08-17 11:41:13 +08:00
pengyiqiang
2af0fb3815
fix warning
2022-08-17 11:41:13 +08:00
pengyiqiang
2ed3a91426
testing: add monkey test
2022-08-17 11:41:13 +08:00
liuhaitao
e1a382d62a
testing/uclibcxx_test: Define TESTDIR correctly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-16 19:00:01 +03:00
baggio63446333
0d3a2bbae8
nshlib: Change ELF priority and stack size based on builtin list
...
When an application is used as a loadable ELF module, the priority and
stack size of the application task is always fixed at the default values.
This commit changes to get the priority and stack size of the application
from the bulitin list. If it is not on the list, it still works as before.
2022-08-16 23:19:00 +08:00
weizihan
e1ed558543
apps: Fix the bug that didn't initialize structure
...
Signed-off-by: weizihan <weizihan@xiaomi.com>
2022-08-16 23:18:18 +08:00
liuhaitao
14030f6ba4
Add minmea and cmsis .gitignore files
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2022-08-16 12:50:26 +03:00
yinshengkai
1e66c39066
system/input: update input device name
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-08-16 14:59:34 +08:00
jihandong
6afc226350
nxlooper nxplayer nxrecorder: fix coverity bug
...
readline might return EOF.
Signed-off-by: jihandong <jihandong@xiaomi.com>
2022-08-16 14:59:19 +08:00
Xiang Xiao
de26582775
system/uorb: Pass NULL to task_create directly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-16 09:47:17 +03:00
yintao
8e9462985a
examples/rpmsgsocket: fix wrong typo
...
Signed-off-by: yintao <yintao@xiaomi.com>
2022-08-16 01:04:10 +08:00
zhanghongyu
a25f640e54
wapi: Make the initial scan buffer configurable through Kconfig
...
The default value is 4KB which is same as IW_SCAN_MAX_DATA
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 22:27:59 +08:00
zhanghongyu
a755cb72da
wapi: correct scan return value
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 22:27:59 +08:00
zhanghongyu
8c8ebf4503
wapi: fix coverity warning
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 22:27:59 +08:00
raiden00pl
13a0d539fe
examples/foc/Kconfig: EXAMPLES_FOC_SETPOINT_ADC depends on ADC
2022-08-15 16:42:56 +03:00
raiden00pl
1f4f338772
examples/foc/foc_motor_b16.c: fix open loop Q current
2022-08-15 16:42:00 +03:00
zhanghongyu
26892be894
usrsock: fix usrsock close hang when net not ready
...
reason: ept NULL when close request and poll event occur simultaneously
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 16:41:17 +03:00
zhanghongyu
451243accb
usrsock_server: Reduce unnecessary poll prepare
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 16:41:17 +03:00
zhanghongyu
707b7be4da
usrsock: ioctl Remove bad copy operations
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 16:41:17 +03:00
Peter Bee
a3ccf59204
quickjs/Makefile: pass jobserver status to submake
...
N/A
Use +make or $(MAKE) instead of make -C
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-08-15 11:12:33 +03:00
yinshengkai
6895da98e3
system/input: add input tools keyboard support
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-08-15 11:12:21 +03:00
chao.an
451f528bbb
wireless/wapi: correct check of return value
...
1. correct check of return value
----------------------
* Name: ioctl
...
* Returned Value:
* >=0 on success (positive non-zero values are cmd-specific)
* -1 on failure with errno set properly:
2. country code length should contain LF
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-15 10:51:55 +03:00
zhouliang3
ec4f97623a
libuv/tests: Fix libuv extension tests compilation error
...
Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
2022-08-15 10:51:10 +03:00
Xiang Xiao
79e4c66764
testing/sensortest: Keep g_sensor_info in order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-15 10:49:34 +03:00
Xiang Xiao
3021b8d11e
testing/sensortest: Add FAR for pointer type
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-15 10:49:34 +03:00
xiatian6
491f549d1c
fix: sensor: add sensor type of cap
...
Increase the type of cap sensor, including
raw data and detection status.
Signed-off-by: xiatian6 <xiatian6@xiaomi.com>
2022-08-15 10:49:34 +03:00
liuhaitao
06754940c5
dhcpd: fix build warning
...
CC: dhcpd.c
In function 'dhcpd_openlistener',
inlined from 'dhcpd_run.part.0' at dhcpd.c:1513:20:
dhcpd.c:1425:3: error: 'strncpy' specified bound 16 equals destination size [-Werror=stringop-truncation]
1425 | strncpy(req.ifr_name, interface, IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2022-08-14 14:08:52 +03:00
liuhaitao
dbb19c9e5a
tools: add git pre-commit hook for apps
...
VELAPLATFO-1028
tools/pre-commit should be copied to .git/hooks/pre-commit to take
effect.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2022-08-14 14:06:10 +03:00
Xiang Xiao
b515a00fea
zmodem: Move crc16.h and crc32.h from host to host/nuttx
...
to avoid the conflict with the 3rd party library
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-13 13:28:30 +03:00
Huang Qi
29a49f366e
wamr: Add a new option to custom stack guard size
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-10 15:21:26 +08:00
Masayuki Ishikawa
41fe4f177a
system:nsh : Apply CONFIG_NSH_DISABLE_TELNETSTART to nsh_main.c
...
Summary:
- This commit applies CONFIG_NSH_DISABLE_TELNETSTART to nsh_main.c
Impact:
- None
Testing:
- Tested with sabre-6quad:netknsh (will be updated later)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-09 23:17:25 +08:00
Masayuki Ishikawa
a86315050d
system: telnetd: Add telnetd app
...
Summary:
- This commit adds telnetd app
Impact:
- None
Testing:
- Tested with sabre-6quad:netknsh (will be updated later)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-09 23:17:25 +08:00
Masayuki Ishikawa
3f70a78dd3
nshlib: Make nsh_telnetmain() in public
...
Summary:
- This commit makes nsh_telnetmain() in public so that we can
call it from applications.
- Also, CONFIG_NSH_DISABLE_TELNETSTART is introduced so that
we can disable nsh_telnetstart()
Impact:
- nsh with telnet daemon
Testing:
- Tested with sabre-6quad:netknsh (will be updated later)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-09 23:17:25 +08:00
Masayuki Ishikawa
000d1455b4
netutils: Make telnetd_daemon() in public
...
Summary:
- This commit makes telnetd_daemon() in public so that we
can call it from applications.
- Also, adds new configs to support posix_spawnp()
Impact:
- telnetd only
Testing:
- Tested with sabre-6quad:netknsh (will be updated later)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-09 23:17:25 +08:00
Huang Qi
167c551e82
wamr: Add a new option to enable semaphore support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-09 23:17:00 +08:00
Jiuzhu Dong
e04333c986
driver/sensor: rename /dev/sensor -> /dev/uorb
...
because this directory contains all topics by uorb using, not just sensors.
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-08-08 23:11:37 +08:00
Lee Lup Yuen
8b43f9f9ca
testing/sensortest: Update device path
...
Device paths are now named `/dev/sensor/sensor_...`: 3fdd036ba6/drivers/sensors/sensor.c (L49)
2022-08-08 13:31:18 +08:00
Jiuzhu Dong
c0cafab1a7
fsutils/mkfatfs: remove invalid header file
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-08-08 00:55:49 +08:00
Petro Karashchenko
672b5ffbc1
netutils/iperf: fix string for iperf test interface option
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-08-05 13:57:28 +08:00
Petro Karashchenko
6d730e3c25
system/cfgdata: add "format" command to description
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-08-05 13:57:21 +08:00
Peter van der Perk
9179783906
Embedded Template Library (ETL) Example application
2022-08-05 13:56:36 +08:00