chenwen@espressif.com
068905d07b
testing/irtest: Fix issue of failure to open multiple IR devices
...
Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
2022-06-14 14:56:18 +02:00
Norman Rasmussen
ce7c9ae65b
wireless/wapi: fix wapi wpa_wconfig_s sta_mode data type error
2022-06-13 21:01:13 +08:00
Adam Kaliszan
835f43524b
serialblaster bugfix
2022-06-13 15:47:44 +08:00
Nimish Telang
1f0ba0db6e
Update examples/elf/tests/helloxx/Makefile
...
Check for the right config variable
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-06-11 17:04:20 +08:00
Nimish Telang
550cb3a1ea
Address #190
...
Should guard against these being included if exception support isn't there
2022-06-11 17:04:20 +08:00
Alin Jerpelea
f55523038d
rename DISCLAIMER-WIP
...
Before graduation We can only remove the WIP from the DISCLAIMER.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-06-08 20:19:53 +08:00
Xiang Xiao
a12707177b
Remove "| O_BINARY" or " |= O_BINARY" since O_BINARY is 0 now
...
follow nuttx kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-07 20:22:38 +03:00
YAMAMOTO Takashi
610b04fa97
webclient: Clear WGET_FLAG_GOT_CONTENT_LENGTH for each request
...
Otherwise, a stale value might be used after a redirection.
2022-06-07 15:09:11 +03:00
YAMAMOTO Takashi
065a130bc8
webclient: Be a bit strict on Location header
...
* Record Location header explicitly
* Bail out / warn on unexpected cases
2022-06-07 15:09:11 +03:00
YAMAMOTO Takashi
0c4c811434
webcilent: Fix a buffer overrun on a malformed status line
2022-06-07 15:09:11 +03:00
YAMAMOTO Takashi
f7b3eb5b44
netlib_parseurl: Make the buffer size assumption explicit
2022-06-07 15:09:11 +03:00
YAMAMOTO Takashi
a7de8dffe7
netlib_parseurl.c: Add a comment
2022-06-07 15:09:11 +03:00
Alin Jerpelea
a5506b379c
Revert "remove DISCLAIMER-WIP"
...
This reverts commit 4a2aa6d8cffb6eef45d445ca42a3653f700a2565.
2022-06-07 09:38:31 +02:00
Xiang Xiao
dd7e98129a
system/libuv: Fix the undefined reference to `uv__strscpy'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-03 20:25:52 +03:00
Xiang Xiao
f5c094aef1
system/libuv: Skip compile strscpy.c when CONFIG_LIBUV_UTILS_TEST enable
...
since test/test-strscpy.c will include it in this case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-03 20:25:52 +03:00
anjiahao
99629e9b5f
fstest:support fstest can run many times
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-06-04 01:14:37 +08:00
YAMAMOTO Takashi
5e3a3dae10
webclient.h: Avoid relying on indirect inclusion
...
Include stdint.h for uint16_t explicitly.
This was necessary when I was trying to build this natively
on Ubuntu. It seems some other headers happen to pull
the uint16_t definition by luck on NuttX and macOS.
2022-06-03 17:28:05 +03:00
YAMAMOTO Takashi
a563014646
webclient: make webclient_get_tunnel assert http_status
2022-06-03 16:33:09 +08:00
YAMAMOTO Takashi
a696c8945e
webclient: Don't forget to check http status before webclient_get_tunnel
2022-06-03 16:33:09 +08:00
YAMAMOTO Takashi
3f4e723ff7
webclient: dispose the response body by default
...
Instead of a NULL dereference.
This fixes a crash on CONNECT failure when trying to proxy https.
2022-06-03 16:33:09 +08:00
YAMAMOTO Takashi
dbee240869
webclient.c: Fix the placement of "Public Function" banner
2022-06-03 16:33:09 +08:00
YAMAMOTO Takashi
c116f8b673
webclient: Add https proxy (https over http) support
...
Use a separate webclient_context for tunnel establishment.
I chose this way (instead of having tunnelling steps in
the state machine of a single webclient_context) because
I want to allow tunnelling of non-HTTP protocols sooner or later.
2022-06-02 12:45:41 +08:00
YAMAMOTO Takashi
a95dd30f0e
webclient: Add tunneling support
...
Add a primitive API for tunnel establishment.
(WEBCLIENT_FLAG_TUNNEL and webclient_get_tunnel)
I plan to use this to implement https proxy support.
That is, the primary user will be webclient itself.
2022-06-02 12:45:41 +08:00
Xiang Xiao
8d1484b562
system/libuv: Include nuttx/tls.h to call task local storage api
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-01 22:50:54 +03:00
YAMAMOTO Takashi
e5c07b9a62
interpreters/wamr: Remove WAMR_VERSION_STUB and always use actual tags
...
This allows to use a commit sha1 for CONFIG_INTERPRETERS_WAMR_VERSION.
Note: the existing configs with specific wamr version
need to be updated.
Tested with:
CONFIG_INTERPRETERS_WAMR_VERSION=main
CONFIG_INTERPRETERS_WAMR_VERSION=WAMR-04-15-2021
CONFIG_INTERPRETERS_WAMR_VERSION=3168ba8dcf20d9d8539d75c637420f5fd8682335
2022-06-02 00:35:08 +08:00
YAMAMOTO Takashi
a46b144ab1
webclient: Remove an extra slash for proxy
2022-06-01 22:42:12 +08:00
zouboan
30dbdf71ff
industry/foc foc_ident: adding flux linkage identification
2022-06-01 01:06:26 +08:00
zouboan
5ae5ab7f44
industry/foc foc_ident: improving the measuring of resistance
2022-06-01 01:06:26 +08:00
Alin Jerpelea
b065d72194
mlearning: add Darknet (Open Source Neural Networks in C)
...
Darknet is an open source neural network framework written
in C and CUDA. It is fast, easy to install, and supports
CPU and GPU computation.
You Only Look Once (YOLO) is a state-of-the-art,
real-time object detection system
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-05-31 23:33:29 +08:00
zrrong
8fd4b6105b
netutils/dhcpc: Change the timeout unit to milliseconds
2022-05-31 11:01:19 +03:00
Adam Kaliszan
e08fdca129
Fixed bug in drawing rectangle using 1 bit palette
2022-05-31 08:01:12 +03:00
Xiang Xiao
26367a66db
testing/ostest: Replace up_tls_info with tls_get_info
...
follow the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-30 15:14:29 +03:00
Ville Juven
871c59dc31
nxwm: Fix warning about on_exit() dependency
2022-05-25 21:52:22 +08:00
YAMAMOTO Takashi
ba08c77000
interpreters/wamr/Kconfig: enable text heap when necessary
2022-05-25 15:25:05 +08:00
YAMAMOTO Takashi
f7b0ad4b74
webclient: Require a port in proxy string
2022-05-24 22:42:54 +08:00
YAMAMOTO Takashi
4798f01449
webclient: Implement proxy
...
Only the very basic case (http over http) for now.
2022-05-24 22:42:54 +08:00
YAMAMOTO Takashi
41aee40a2c
webclient: Add proxy setting in webclient_context
2022-05-24 22:42:54 +08:00
YAMAMOTO Takashi
4f4f4da526
webclient: Separate wget_target_s from wget_s
...
I plan to use the former for proxy settings.
2022-05-24 22:42:54 +08:00
YAMAMOTO Takashi
562db060b7
interpreters/wamr/Kconfig: Mention limitations about wasi
2022-05-24 22:38:36 +08:00
YAMAMOTO Takashi
90e164b708
interpreters/wamr/Kconfig: Add an option to enable wasi libc
2022-05-24 22:38:36 +08:00
Xiang Xiao
1d216fde99
import/Make.defs: Add -noincstd++
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-22 18:12:27 +03:00
Xiang Xiao
dcd481360f
examples/README.md: Remove -nostartfiles and -nodefaultlibs
...
follow nuttx change:
commit b30e0a26efae828b3505059ffaa3a75df74236c0
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Sun May 15 12:32:04 2022 +0800
Move "-nostartfiles -nodefaultlibs" from Make.defs to Toolchian.defs
and replace "-nostartfiles -nodefaultlibs" with "-nostdlib"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-22 18:12:27 +03:00
zhuyanlin
23584669c5
pmconfig: add last state and modify current state to next state
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-05-22 22:00:11 +08:00
David Sidrane
3821121a2e
ostest:priority_inheritance Added priority restoration test
2022-05-21 18:27:55 +03:00
YAMAMOTO Takashi
137b924b93
interpreters/wamr/Kconfig: Add INTERPRETERS_WAMR_PERF_PROFILING
2022-05-20 21:53:34 +08:00
Xiang Xiao
02da51ddf5
examples/nrf24l01: Replace the hardcode value with enum const
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 16:19:46 +03:00
Huang Qi
24c16780e2
libuv: Don't add idna.c to CSRCS if test enabled
...
test-idna.c will include idna.c and then cause multiple definition.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-05-13 08:23:23 +03:00
YAMAMOTO Takashi
59fc69c453
examples/thttpd: -fno-builtin for a file generated by mksymtab.sh
2022-05-12 23:12:39 +08:00
YAMAMOTO Takashi
4b383b397d
examples/sotest: -fno-builtin for a file generated by mksymtab.sh
2022-05-12 23:12:39 +08:00
YAMAMOTO Takashi
dc9103a72d
examples/nxflat: -fno-builtin for a file generated by mksymtab.sh
2022-05-12 23:12:39 +08:00