Gregory Nutt
abd444f9ce
candump.c: Must not extern optind, et al
...
optined, et al, are not longer simple globals variables (after incubator-nuttx PR 3170). Redundantly externing them in application code now results in compilation errors.
2021-03-25 03:13:35 -07:00
Gustavo Henrique Nihei
a1df2c634f
build: Fix deplist regeneration after config update
2021-03-25 10:23:33 +01:00
Alan C. Assis
640fd2e860
fstest: Fix printf format error
2021-03-24 23:21:23 +01:00
Sara Souza
bf71741452
examples/oneshot: fixed wrong constant and refactored
2021-03-24 12:08:36 -07:00
Xiang Xiao
d656982f7a
build: Remove the null assignment
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-24 18:38:04 +01:00
Abdelatif Guettouche
3fc062e9cd
fsutils/mkfatfs/Kconfig: Select BCH
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-23 23:53:03 -07:00
Sara Souza
3bf2f31716
fixed coding style issue
2021-03-22 09:47:06 -07:00
Sara Souza
afad97d9f8
Apply 2 suggestion(s) to 2 file(s)
2021-03-22 09:47:06 -07:00
Sara Souza
577598d2df
Apply 2 suggestion(s) to 1 file(s)
2021-03-22 09:47:06 -07:00
Sara Souza
8e3eca1836
apps/examples: Adds termios example
2021-03-22 09:47:06 -07:00
chao.an
4c256e7db3
netutils/dhcpd: handshake the dhcpd message with server port.
...
resolve the dhcpd compatibility issues on some strict system, such as Windows XP,7,10
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-21 20:55:32 -07:00
Nathan Hartman
017f5ed65c
examples/qencoder/qe_main.c: Fix nxstyle errors
2021-03-21 20:52:43 -07:00
Nathan Hartman
331fd61115
examples/qencoder/qe_main.c: Fix printf() format specifier
...
examples/qencoder/qe_main.c:
* main(): Call to printf() had "%d" but argument was
int32_t, leading to compiler warning. Change format
specifier to PRIi32 (suggested by Gregory Nutt).
2021-03-21 20:52:43 -07:00
chao.an
960e63402e
nsh/builtin: Ignore the child status if run the application on background.
...
N/A
fix the leak of child status if the background process
exceeds "CONFIG_PREALLOC_CHILDSTATUS".
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-21 02:18:09 -07:00
Gustavo Henrique Nihei
08f1dd0093
fsutils/mksmartfs: Fix regression caused by BCH separation
2021-03-19 23:11:44 -07:00
Gregory Nutt
9f65362dd4
OS test: Improve reporting from the dual thread sporadic test
...
Results were difficult to interpret because the counts during the high priority, budget interval were included with other counts during the low priority interval. This corrects that reporting by using two counts: One for the low and one for the high priority interval. This makes the results much easier to interpret.
There should be no impact to anything other that the sporadic scheduler case of the OS test.
Tested using the the stm32f4discovery:sporadic configration. That configuration has no yet been merged but is available from incubator-apps PR 3097.
2021-03-19 23:11:35 -07:00
Gregory Nutt
1d3dda49a8
Extend Testing of Sporadic Schedule in OS test
...
This commit adds the test developed by Jan Staschulat with Issue #incubator_nuttx/2935
It is expected to cause the OS test to fail for the time being since that issue reports a bug.
Tested using the (new) stm32f4discovery:sporadic configuratioin.
2021-03-18 19:57:58 -07:00
Jiuzhu Dong
801acce04e
dhcpd/telnet: don't need to dupcalite listen socket when task_create
...
N/A
Change-Id: Id0d613809c4caf902332b16daedebbe45acee7f2
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-19 08:21:27 +09:00
Huang Qi
d66bc2c107
interpreters/quickjs: Fix typo in qjsmini.c
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I3ee4a6bde0df7d158a4b5339ec3ffc027d2f42a3
2021-03-17 11:08:08 +01:00
Huang Qi
4439e0c0b5
interpreters/quickjs: Implement a minimal interpreter
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I782d509f6fcc86ade34eda5dbe5845603b819e0e
2021-03-16 20:28:04 -07:00
Huang Qi
19b49ba045
interpreters/quickjs: Bump to latest release
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I1cd96c4333442f8c3a3c58c3f8ae5bfac1734f5c
2021-03-16 20:28:04 -07:00
YAMAMOTO Takashi
6cc1f189d2
examples/mtdpart: select CONFIG_BCH
2021-03-16 20:27:49 -07:00
YAMAMOTO Takashi
ea8cf7bad4
examples/mtdrwb: select CONFIG_BCH
2021-03-16 20:27:49 -07:00
Xiang Xiao
2f1ecbaf74
Change all .cpp suffix to .cxx suffix
...
follow the coding standard requirement
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-16 13:57:48 -07:00
Sara Souza
1673df81d1
apps/examples/watcher: Fixed an assert failure
2021-03-16 11:30:04 -07:00
Jiuzhu Dong
ff4c3c3fb8
thttpd: add THTTPD_NFILE_DESCRIPTORS limits instead of NFILE_DESCRIPTORS
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-16 07:56:45 -07:00
YAMAMOTO Takashi
f8cb9db729
iperf: Plug a memory leak
2021-03-16 02:13:25 -07:00
YAMAMOTO Takashi
25d29482ea
iperf: plug a thread leak
2021-03-16 02:13:25 -07:00
YAMAMOTO Takashi
5140962436
netutils/iperf/README.md: document what this is
2021-03-15 07:14:16 +01:00
Jiuzhu Dong
4c6ded2661
app: delete NFILE_DESCRIPTORS limits
...
Change-Id: I3ced2b2b7440a2c79a712cfc97b4cd15d2bddd4c
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-12 21:12:07 -08:00
Gustavo Henrique Nihei
6f75c1b3d6
system/i2c: Add command for resetting an I2C bus
2021-03-12 11:08:09 +08:00
ligd
d4259acc15
rpmsgsocket: add rpmsgsocket test case
...
Change-Id: Ia07b5915da2c9c96fa8137bcaecdf1b120c76853
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-05 07:51:51 -08:00
Dong Heng
208df89ab0
netutils/dhcpd: Fix printf format error based on different chip arches
2021-03-05 07:45:07 -08:00
ligd
89e6fb9a42
apps/md5: fix md5 result error
...
MIRTOS-325
Change-Id: I0dd6c3e155b8fe41fe8ea6859271168a0d283829
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-03 22:12:24 -08:00
Jiuzhu Dong
681da55d4a
netutils/thttpd: fix compile break
...
change NSOCKET_DESCRIPTORS to NFILE_DESCRIPTORS
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-03 02:02:22 -08:00
Jiuzhu Dong
3708b6e478
net/socket: recover POLLSOCK and keep polling directly by socket
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-01 09:20:04 -08:00
Jiuzhu Dong
0e1148cf1d
usrsock: delete sock->s_crefs to fix compile break
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-25 01:44:45 -08:00
Jiuzhu Dong
459916f81c
net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
...
N/A
Change-Id: I50376600292a853652af76e2236bb428d1037313
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-24 05:53:14 -08:00
Gustavo Henrique Nihei
f7e9d09566
system/i2c: Fix nxstyle issues
2021-02-23 08:49:19 -08:00
Gustavo Henrique Nihei
f167754743
system/i2c: Fix typo in "repetitions" word
2021-02-23 08:49:19 -08:00
YAMAMOTO Takashi
a63bdcbacb
system/ntpc: Add ntpcstatus command
...
An example output:
nsh> ntpcstatus
The number of last samples: 5
[0] srv 178.16.23.50 offset -0.014006560 delay 0.349967444
[1] srv 5.9.57.158 offset 0.001792161 delay 0.269991633
[2] srv 206.75.147.25 offset 0.009916600 delay 0.129989672
[3] srv 162.159.200.1 offset 0.011508908 delay 0.019917401
[4] srv 185.19.184.35 offset 0.021468135 delay 0.239915030
nsh>
2021-02-20 01:30:55 -08:00
YAMAMOTO Takashi
8ae1267054
ntpclient: Add ntpcstatus() api to query ntpc status programatically
...
For now, just provide the latest samples.
2021-02-20 01:30:55 -08:00
Gustavo Henrique Nihei
771d19b94a
system/cle: Remove column offset for cursor position
2021-02-19 10:39:21 -08:00
Gustavo Henrique Nihei
08c29110a6
system/cle: Fix cle application build
2021-02-19 10:39:21 -08:00
Byron Ellacott
2e17cd2e6b
fsutils: update geometry size (c.f. apache/incubator-nuttx#2861 )
2021-02-18 20:38:56 -08:00
Gustavo Henrique Nihei
7ebd1309dd
examples/watcher: Add missing dependencies on Kconfig
2021-02-18 17:30:17 +00:00
Michal Lenc
72b3f97e24
canutils: changed print_usage function to static
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-17 02:27:27 -08:00
Gustavo Henrique Nihei
5cddb39b4e
nshlib: Fix dependency on FSUTILS_MKFATFS
2021-02-16 04:04:59 -08:00
Brennan Ashton
75690bc31e
Pin Nible release to working commit until stable tag is ready
2021-02-16 09:08:37 +00:00
Gustavo Henrique Nihei
fe5732494b
examples/watchdog: Fix printf format warnings
2021-02-15 20:04:07 -08:00