Jiuzhu Dong
aaf6f5c4cb
fsutils/mkmbr: support mbr partition format
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-28 08:54:30 +02:00
Jiuzhu Dong
b480d00323
rexec: support send command with arguments
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-23 03:58:49 -05:00
songlinzhang
98dfaa3eff
dhcpc abnormal block
...
The logic changes are as follows:
1、Loop sending the DISCOVER up to CONFIG_NETUTILS_DHCPC_RETRIES times
and exit if failure
2、Loop sending the REQUEST up to CONFIG_NETUTILS_DHCPC_RETRIES times
and exit if failure
Signed-off-by: songlinzhang <songlinzhang@xiaomi.com>
2021-10-22 09:20:25 -03:00
anjiahao
80dcc185f3
echo: support echo opthon -e
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-21 23:33:09 -05:00
Alan C. Assis
1028d5abbe
apps/btask: Fix line feed when there is not advertised data
...
Note the item "4." doesn't appear at right place:
nsh> bt bnep0 scan start
nsh> bt bnep0 scan stop
nsh> bt bnep0 scan get
Scan result:
1. addr: 5a:ae:bd:0b:88:b9 type: 1
rssi: -96
response type: 3
advertiser data: 1e ff 06 00 01 09 20 02 72 36 18 d5 2c 3f 38 e5
fd a5 49 f8 3c e8 a9 f8 15 a8 0e 20 ea 51 02
2. addr: f3:d5:9a:7f:79:54 type: 1
rssi: -61
response type: 0
advertiser data: 02 01 06 05 03 0a 18 e7 fe 0b ff 34 12 fe e7 f3
d5 9a 7f 79 54 05 09 44 4b 30 38
3. addr: f3:d5:9a:7f:79:54 type: 1
rssi: -61
response type: 4
advertiser data: 4. addr: e8:b4:9f:83:66:fd type: 1
rssi: -96
response type: 0
advertiser data: 02 01 1e 0a ff 75 00 01 00 02 00 01 03 02 03 19
c0 00
5. addr: 38:6d:34:58:86:6d type: 1
rssi: -92
response type: 3
advertiser data: 1e ff 06 00 01 09 20 02 e7 45 ff 96 96 eb 1a e8
aa 18 cf 37 04 d3 f9 00 28 98 67 97 8a ce 84
nsh>
2021-10-21 23:31:41 -05:00
baggio63446333
562239ecb2
tools/mksymtab.sh: Fix issue to generate symtab_apps.c for MSYS
...
The file permission is used to get the execlist, but the file permission
cannot be changed for MSYS environment. As a result, symtab_apps.c cannot
be generated correctly. This commit removes the permission match.
2021-10-05 06:23:29 -07:00
Xiang Xiao
8d3a536650
examples/charger: Update enum type usage per kernel change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-30 15:37:05 +09:00
Alan C. Assis
cb1b8e10db
chat: Replace _info with ninfo to avoid polluting the nsh
2021-09-27 10:31:43 +02:00
liuyang34
ab3cca4ae1
wapi: add 5g channel map in wapi
...
Signed-off-by: liuyang34 <liuyang34@xiaomi.com>
2021-09-24 13:48:47 +08:00
Jari van Ewijk
7cbe2db2c9
SLCAN: Fix incorrect format identifier in print function
2021-09-17 08:20:08 -05:00
SPRESENSE
d8757a6bcf
examples/camera: Fix some issues and update license
...
Fix some issues and update license to apache.
- Fails to open the video driver.
- Change format from YUV422 to RGB565,
and add captured image output to LCD.
- An application cannot exit by infinite loop.
- In video-only mode without capturing still images,
do not allocate capture memory for still images to
reduce the memory usage.
2021-09-16 10:45:36 +02:00
Alin Jerpelea
7ffa080a2a
examples: camera: add EXAMPLES_CAMERA_OUTPUT_LCD
...
until the camera patches are merged we must add the
EXAMPLES_CAMERA_OUTPUT_LCD option to Kconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 14:47:45 +08:00
YAMAMOTO Takashi
78fb3bc240
webclient: handle EINTR in a few places
2021-09-14 14:39:29 +08:00
Jiuzhu Dong
2add33e6a3
rexecd/rexec: support AF_RPMSG to communicate
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-13 09:00:20 +08:00
Jiuzhu Dong
00e7be92dc
netutils: support rexec and rexecd
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-13 09:00:20 +08:00
Vagner Guadagnin
b11dcc34c6
examples/wgetjson: fix concatenation len buffer json
2021-09-12 09:08:49 -03:00
Jiuzhu Dong
5c1626c764
netutils: add NETLIB_SOCK_TYPE for AF_RPMSG
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:37:53 +08:00
Jiuzhu Dong
5a5448df04
nsh: fix compile break about closing CONFIG_NSH_DISABLESCRIPT
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:37:19 +08:00
Jiuzhu Dong
16c9068d5f
nsh: fix compile break about closing CONFIG_NSH_DISABLEBG
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:36:54 +08:00
Jiuzhu Dong
293b89af44
sensortest: modify errno type when api not support
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-11 23:02:21 +02:00
Gustavo Henrique Nihei
b989c3d536
github: Update links to Docker Linux image
...
GitHub's Docker registry has been replaced by the Container registry.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-04 14:25:07 +08:00
Alexander Lunev
7a88209077
examples/ipforward: improved ipforward test to analyze the order of forwarded packets
2021-09-04 14:24:47 +08:00
Erdem Meydanli
c222043ed1
system/termcurses: Add terminate operation into the termcurses_ops_s interface
...
The existing implementation of the termcurses_deinitterm calls
termcurses_setcolors with some hard-coded values, leading to different
terminal emulators' behavior. Instead, a reset call needs to be made to
the implementation to roll back changes.
A new operation (terminate) has been added to the termcurses_ops interface
to achieve this functionality.
The vt100's terminate implementation ensures that default foreground and
background colors are applied portably across different terminals emulators.
2021-08-28 21:12:40 +08:00
Juha Niskanen
4f095a193e
testing/smart: fix wrong hard-coded device pathname and sector size
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-08-27 10:56:57 +08:00
Juha Niskanen
b283289986
apps: fix miscellaneous typos
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-08-26 11:39:28 -07:00
Gustavo Henrique Nihei
602092dc81
boot/mcuboot: Bump MCUboot version
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 13:23:38 -03:00
Gustavo Henrique Nihei
325a40b4d1
boot/mcuboot: Deactivate warnings to enable build of MCUboot library
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 13:23:38 -03:00
Gustavo Henrique Nihei
ea5eb0c1d0
boot/mcuboot: Default to Tinycrypt as crypto backend
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 06:44:15 -03:00
Gustavo Henrique Nihei
794cfd0c5c
boot/mcuboot: Add support for MCUboot bootloader
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-20 06:44:15 -03:00
raiden00pl
e6b767f185
examples: add Hall effect sensor example
2021-08-19 08:32:24 -07:00
SPRESENSE
8e0892b2f2
nshlib: Fix write buffer position in nsh cp command
...
The iobuffer for write buffer position need to be update if write
API cannot write data at once.
2021-08-19 08:31:34 -07:00
Alin Jerpelea
1c3d08a738
canutils: libcanutils: add GPL build barrier
...
Exclude libcanutils from build unless the license is set to
allow GPL code in the build.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-18 13:28:17 -03:00
YAMAMOTO Takashi
23e0325698
webclient: check content-length
...
While it's better to use a reliable transport like
TLS with working close notify, it isn't always possible.
2021-08-16 09:47:44 -07:00
Alin Jerpelea
c9bee94bd7
apps: canutils: libcanutils: move error.h from NuttX
...
This file is used by the libcanutils and can be isolated in apps
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 09:45:33 -07:00
Xiang Xiao
605c90aedc
examples/userfs: Implement the dummy callback of fchstat and chstat
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-15 12:52:47 +02:00
YAMAMOTO Takashi
66650f223b
netlib: Change the type of url_s:port to uint16_t
...
uint16_t is what's used in netlib and webclient in most of places.
There is a static analizer complaining on the type mismatch.
(It's actually harmless as far as I understand though.)
2021-08-12 04:33:44 -07:00
YAMAMOTO Takashi
f6c194944c
netlib.h: Fix an nxstyle error
2021-08-12 04:33:44 -07:00
Juha Niskanen
c6436bfdbb
fsutils/mksmartfs: fix confusing ioctl return value with errno value
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-08-11 10:38:00 -03:00
YAMAMOTO Takashi
bdae564c22
webclient: Add _s suffix to internal structures
...
To follow our coding standard.
I left the structures which is a part of the API for now.
(E.g. struct webclient_context)
2021-08-11 03:11:14 -07:00
raiden00pl
4fa7248036
examples/qencoder: add an option to configure the encoder maximum position
...
Signed-off-by: raiden00pl <raiden00@railab.me>
2021-08-11 03:08:45 -07:00
YAMAMOTO Takashi
b8fd862965
webclient: Add some assertions on webclient_context state
2021-08-08 22:34:26 -07:00
YAMAMOTO Takashi
cb1f7c9dfe
webclient.h: Document webclient_client lifetime
2021-08-08 22:34:26 -07:00
YAMAMOTO Takashi
0bae950b63
webclient: Implement non-blocking I/O
...
* webclient_perform
* Add a new flag to use non-blocking mode (WEBCLIENT_FLAG_NON_BLOCKING)
* Implement restarting
* Add a few associated API functions
* webclient_get_poll_info: get the descriptor info for poll/select
* webclient_abort: abort the operation (instead of restarting)
2021-08-08 22:34:26 -07:00
Xiang Xiao
d4d2f13f89
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
...
since boardctl isn't a libc feature
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 11:04:35 +02:00
Xiang Xiao
967f526850
Rename LIB_ to LIBC_ for all libc Kconfig
...
follow other libc component naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-05 16:42:32 +02:00
Xiang Xiao
ad3f44bc77
Change match to fnmatch
...
follow the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-02 16:15:57 -03:00
Xiang Xiao
1120bc844a
examples/media: Fix the compiler warning
...
format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'off_t' {aka 'long long int'}
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-02 15:52:11 +02:00
chao.an
72abd300e6
system/dumpstack: add dump stack tool support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-01 23:56:36 -07:00
Xiang Xiao
4109f0e8ba
examples/media: Fix the compiler wanring after off_t type change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-02 10:05:59 +08:00
Nakamura, Yuuichi (ITDD)
f6dfd1dbb2
system/trace: Fix trace output for the correct display in Trace Compass
2021-08-01 08:43:24 -07:00