chao.an
fe915679b1
style/Document: remove unnecessary trailing whitespace
...
N/A
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:10 +01:00
chao.an
b5692d8034
style/code: remove unnecessary trailing whitespace
...
N/A
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:10 +01:00
Xiang Xiao
d64929d736
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-28 12:19:39 +01:00
Xiang Xiao
12a5a5cce9
examples: Ignore the default action if app call sigwait
...
Because the configured signo may have the default action(e.g. SIGPIPE),
and then will generate the bad side effect before the caller wakeup.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-28 12:19:39 +01: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
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
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
YAMAMOTO Takashi
2d4d8aa643
examples/touchscreen/tc_main.c: Fix a printf format warning
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
Alan C. Assis
048c44cd61
Add ESP32 High Memory Application Example
2020-11-13 05:52:38 -08:00
YAMAMOTO Takashi
590e6432cb
examples/udp/udp_client.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
4f99572f65
examples/chrono/chrono_main.c: Fix a few printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
a0c7a719c4
examples/chrono/chrono_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
229d62eddb
examples/mount/mount_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
e2b94845b8
examples/can/can_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
8532f0ee96
examples/ina219/ina219_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
e4823bc62c
examples/bmp180/bmp180_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
1c30ff6fe4
examples/dac/dac_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
31118b0a94
examples/dac/dac_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
b2299b4c8f
examples/can/can_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
ff130be078
examples/fboverlay/fboverlay_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
20c7a06a84
examples/fboverlay/fboverlay_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
379c0c1fd4
examples/fb/fb_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
69b6bb32a8
examples/nrf24l01_term/nrf24l01_term.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
2ff55ac151
examples/nrf24l01_term/nrf24l01_term.c: Appease nxstyle
...
Still has a few errors because of include/nuttx/wireless/nrf24l01.h.
examples/nrf24l01_term/nrf24l01_term.c:125:33: error: Mixed case identifier found
examples/nrf24l01_term/nrf24l01_term.c:129:15: error: Mixed case identifier found
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
0b792be90a
examples/pwm/pwm_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
acc750c8d6
examples/can/can_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
a9e8b5c3b0
examples/can/can_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
4ff27f2a03
examples/serialrx/serialrx_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
575063150d
examples/serialrx/serialrx_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
6d2bba1004
examples/pwlines/pwlines_update.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
2556c6f800
examples/pwlines/pwlines_update.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
20b7b28f55
examples/bridge/bridge_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
c3e63c2a3b
examples/bridge/bridge_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
5a766cd93b
examples/elf/elf_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
1723a68b0a
examples/posix_spawn/spawn_main.c: Fix a type mismatch
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
67f18f8f2c
examples/touchscreen/tc_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
c8f2f0f262
examples/touchscreen/tc_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
89a4d02fce
examples/adc/adc_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
5576c127fd
examples/adc/adc_main.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
7fa6f69756
examples/sx127x_demo/sx127x_demo.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00