Commit Graph

5067 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
e1cfa52efa netutils/dhcpd/dhcpd.c: Fix syslog formats 2020-11-26 19:28:14 -08:00
YAMAMOTO Takashi
6520eb65b3 netutils/webserver/httpd.c: Fix syslog formats 2020-11-26 19:28:14 -08:00
Xiang Xiao
0eac035245 examples/cctye: change std::isascii to isascii
since isascii isn't a standard defined function and then
may not exist in all cctype header file(e.g. libc++):
cctype_main.cxx: In function 'int cctype_main(int, char**)':
cctype_main.cxx:64:45: error: 'isascii' is not a member of 'std'; did you mean 'isascii'?
   64 |                       std::isspace(i), std::isascii(i), std::isprint(i), std::isgraph(i),
      |                                             ^~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I8c4fd5ccf120ae5a1566cd4d90695e47ffc30cad
2020-11-27 09:48:40 +09:00
YAMAMOTO Takashi
72d9b34fb1 netutils/tftpc/tftpc_put.c: Fix syslog formats 2020-11-24 18:44:23 -08:00
YAMAMOTO Takashi
5a4bf6b349 netutils/tftpc/tftpc_get.c: Fix a syslog format 2020-11-24 18:44:23 -08:00
YAMAMOTO Takashi
eeded9daa1 netutils/ntpclient/ntpclient.c: Fix syslog formats 2020-11-24 18:44:23 -08:00
YAMAMOTO Takashi
13424fc404 netutils/ftpc/ftpc_putfile.c: Fix syslog formats 2020-11-24 18:44:23 -08:00
YAMAMOTO Takashi
2a3f2ea8c6 netutils/ftpc/ftpc_putfile.c: Appease nxstyle 2020-11-24 18:44:23 -08:00
YAMAMOTO Takashi
7b3ccfa9da netutils/ftpc/ftpc_getfile.c: Fix a syslog format 2020-11-24 18:44:23 -08:00
YAMAMOTO Takashi
f83caca9ac netutils/ftpc/ftpc_getfile.c: Appease nxstyle 2020-11-24 18:44:23 -08:00
Xiang Xiao
24b6f9199a examples/mld: Fix undefined reference to `mld_catfile'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I0948b75fe3aea2351c3584cda9bcb7dd41cdd1f9
2020-11-24 19:33:57 +01:00
Xiang Xiao
a4ae159277 examples/i2schar: Fix the compile error
2schar_main.c: In function 'parse_args':
i2schar_main.c:199:20: error: 'struct i2schar_state_s' has no member named 'rxcount'
  199 |             i2schar->rxcount = (uint32_t)value;
      |                    ^~
i2schar_main.c:211:20: error: 'struct i2schar_state_s' has no member named 'txcount'
  211 |             i2schar->txcount = (uint32_t)value;
      |                    ^~
i2schar_main.c: In function 'i2schar_main':
i2schar_main.c:276:16: error: 'struct i2schar_state_s' has no member named 'rxcount'
  276 |       g_i2schar.rxcount = CONFIG_EXAMPLES_I2SCHAR_RXBUFFERS;
      |                ^

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ie85a9bc46516f44e4a286da3d40f1b02a2bbfde0
2020-11-24 04:07:55 -08:00
Xiang Xiao
736a21f0d5 examples/chrono: Rename button_daemon to chrono_daemon
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1aaf0a6ec8466c35c96a35b30896def7917c8c03
2020-11-24 04:07:36 -08:00
Xiang Xiao
54d5def4d5 examples/chrono: Fix error: 'CONFIG_EXAMPLES_SLCD_DEVNAME' undeclared
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I04c09878ec55cbf910159ab84e0b402cc94dad9b
2020-11-24 04:07:36 -08:00
YAMAMOTO Takashi
99633aba70 graphics/nxwm/src/ccalibration.cxx: Fix syslog formats 2020-11-24 03:33:34 -08:00
YAMAMOTO Takashi
4f11793e9d graphics/nxwm/src/ctouchscreen.cxx: Fix syslog formats 2020-11-24 03:33:34 -08:00
YAMAMOTO Takashi
2667fb265b graphics/nxwidgets/src/cimage.cxx: Fix a syslog format 2020-11-24 03:33:34 -08:00
YAMAMOTO Takashi
747ca594d6 canutils/candump/candump.c: Fix printf formats 2020-11-24 00:11:33 -08:00
YAMAMOTO Takashi
a875ed2be7 Revert "Fix printf compile warning regarding time_t"
This reverts commit 8cde672b5b.

NuttX's time_t is uint32_t.
It's wrong to assume it either long or int.
2020-11-24 00:11:33 -08:00
Peter van der Perk
8cde672b5b Fix printf compile warning regarding time_t 2020-11-23 18:30:25 -08:00
YAMAMOTO Takashi
69da172c5f system/cle/cle.c: Fix syslog formats 2020-11-23 18:23:24 -08:00
YAMAMOTO Takashi
5065d470ce netutils/netlib/netlib_ipmsfilter.c: Fix a syslog format 2020-11-23 04:59:11 -08:00
YAMAMOTO Takashi
cbaf05bfd0 netutils/netlib/netlib_ipmsfilter.c: Appease nxstyle 2020-11-23 04:59:11 -08:00
YAMAMOTO Takashi
37aa346da6 netutils/dhcpc/dhcpc.c: Fix syslog formats 2020-11-23 04:59:11 -08:00
dongjiuzhu
85f96e379e testing/irtest: test ir by LIRC interface
N/A

Change-Id: I008d2cf3f1db18cfa24bc20a5643f4960a97be3e
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-21 18:47:29 -08:00
YAMAMOTO Takashi
89ada765d3 fsutils/mkfatfs/mkfatfs.c: Fix a syslog format 2020-11-21 18:46:07 -08:00
YAMAMOTO Takashi
aea1ba9f5f wireless/wapi/src/driver_wext.c: Fix a syslog format 2020-11-20 22:24:29 -08:00
YAMAMOTO Takashi
e4584b00d6 fsutils/mkfatfs/writefat.c: Fix syslog formats 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
807fab7836 fsutils/mkfatfs/writefat.c: Appease nxstyle 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
2c0c033b43 fsutils/mkfatfs/configfat.c: Fix syslog formats 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
b92526ab2b fsutils/mkfatfs/configfat.c: Appease nxstyle 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
2319502ea3 fsutils/mkfatfs/mkfatfs.c: Fix syslog formats 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
73fb7baa05 webclient: Distinguish request size and buffer size in body callback
This fixes the case when webclient_set_static_body is used
for data larger than webclient_context::buflen.

Note: as of writing this, webclient_set_static_body is the
only user of body_callback in NuttX apps tree.
2020-11-19 18:46:38 -08:00
dongjiuzhu
a96867a65d test/sensor: fix test failed when some apis are NULL
N/A

Change-Id: Ieb40b3ce73240057a181ee0dd482564cf27f6afa
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-18 00:05:28 -08:00
dongjiuzhu
6189a8df4b app/system/readline: fix compile break
N/A

Change-Id: I562b96492be9976611199e6215c55c03f1e154c8
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-17 20:12:57 -08:00
YAMAMOTO Takashi
086d8db204 canutils/candump/candump.c: Fix scanf format warnings 2020-11-17 20:12:08 -08:00
Philippe Coval
4e4c92fa98 fxos8700cq_test: Adjust rate and lint json output
Change-Id: Iab80381e4f451ac186515cd5593434d80e4c7421
Relate-to: https://github.com/rzr/aframe-smart-home/issues/3
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-11-17 20:11:38 -08:00
Philippe Coval
4a5152fc91 netutils/netcat: Add netcat tool
Check readme for usage and demo:

[![weboftwins-osvehicle-2020-rzr](
https://files.mastodon.social/media_attachments/files/105/163/916/892/863/178/original/05468e28b4463f95.png
)](
https://mastodon.social/@rzr/105225153152922220#weboftwins-osvehicle-2020-rzr
"weboftwins-osvehicle-2020-rzr")

Change-Id: I2eac915954ca6cf585f01addb53df581631a7ae6
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Relate-to: https://github.com/rzr/aframe-smart-home/issues/3
Origin: https://github.com/CrossStream/nuttx-apps/tree/sandbox/rzr/review/master/netutils/netcat
Forwarded: https://github.com/apache/incubator-nuttx-apps/pull/482
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-11-17 09:12:54 -08:00
YAMAMOTO Takashi
c1b11a1e35 testing/sensortest/sensortest.c: Fix a printf format warning 2020-11-16 00:38:24 -08:00
YAMAMOTO Takashi
1c6c2ad646 graphics/nxwm/src/chexcalculator.cxx: Fix typos
Typos in the following change:

    commit c48e65414b
    Author: YAMAMOTO Takashi <yamamoto@midokura.com>
    Date:   Mon Nov 16 14:16:46 2020 +0900

        graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
2020-11-15 23:15:32 -08:00
YAMAMOTO Takashi
2d4d8aa643 examples/touchscreen/tc_main.c: Fix a printf format warning 2020-11-15 21:33:25 -08:00
YAMAMOTO Takashi
c48e65414b graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings 2020-11-15 21:33:25 -08:00
YAMAMOTO Takashi
2a74046c2d testing/sensortest/sensortest.c: Fix printf format warnings 2020-11-15 21:33:25 -08:00
YAMAMOTO Takashi
3690669242 examples/fboverlay/fboverlay_main.c: Fix a printf format warning 2020-11-15 19:43:36 -08:00
YAMAMOTO Takashi
c408462892 examples/romfs/romfs_main.c: Fix a printf format warning 2020-11-14 17:49:14 -08:00
YAMAMOTO Takashi
473fef4e58 examples/romfs/romfs_main.c: Appease nxstyle 2020-11-14 17:49:14 -08:00
YAMAMOTO Takashi
fa727e08f1 examples/fboverlay/fboverlay_main.c: Fix printf format warnings 2020-11-14 17:49:14 -08:00
YAMAMOTO Takashi
0d3fde2d6b examples/media/media_main.c: Fix printf format warnings 2020-11-14 17:49:14 -08:00
YAMAMOTO Takashi
780891f8aa examples/media/media_main.c: Appease nxstyle 2020-11-14 17:49:14 -08:00
Alan C. Assis
03284a07b9 Fix license headers on Make.defs and Makefile 2020-11-13 05:52:38 -08:00