Xiang Xiao
054cf3b1cb
Change all sizeof(arr)/sizeof(arr[0]) to nitems
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-17 22:51:51 +03:00
liuhongchao
75f04dd775
drivertest:Add touch panel test case.
...
Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
2023-08-14 09:05:52 +08:00
Peter Bee
04e86fc2d5
graphics/libyuv: refine patching logic
...
Only stable branch need custom patch, main is fixed by upstream
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-09 13:51:50 +08:00
Peter Bee
24caccbd02
graphics/libyuv: add -Wno-undef
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-09 13:51:50 +08:00
Xiang Xiao
8083b094c3
Kconfig: Simplify the conditional default statement
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-25 09:51:09 +08:00
chao an
4d79a5cbaf
add initial cmake build system
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-08 13:52:02 +08:00
simbit18
83bddd86c5
Fix Kconfig style
...
Remove TABs from Kconfig files
Add comments
2023-06-21 00:36:52 +08:00
Xiang Xiao
7032c72f2f
Indent the define statement by two spaces
...
follow the code style convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-21 07:39:53 +03:00
Xiang Xiao
0acd68b391
Indent the include statement by two spaces
...
follow the coding style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-13 10:16:26 -03:00
Xiang Xiao
f95d60366a
Fix the nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
Xiang Xiao
73701cd7cd
Replace all strncpy with strlcpy
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
Xiang Xiao
7c37421266
Replace all sprintf with snprintf
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
simbit18
1707be3977
graphics: Fix nxstyle errors
...
error: Bad alignment
error: Right brace must be followed by a blank line
error: Long line found
2023-05-03 17:35:05 +08:00
halyssonJr
b00f612470
nxwidget: Fix incorrect #endif position
...
remove space
2023-05-02 13:41:53 +08:00
Fotis Panagiotopoulos
c50ff7ff61
Fixes in asprintf usage.
2023-04-23 17:16:34 +08:00
Xiang Xiao
aa99d267b7
Change the private default signal number to 32
...
and remove the unused private signal number macro
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-04-05 03:38:24 -07:00
zhangyuan21
4454c8d02f
apps: remove unnecessary sem_setprotocol code
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-17 11:58:03 -03:00
simbit18
0d34e55d9e
apps/graphics/nxglyphs/Makefile: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
simbit18
d8dd8ff61e
apps/graphics/nxglyphs/Make.defs: fix nxstyle
...
fix error: Relative file path does not match actual file
2023-03-17 03:23:12 +01:00
Karel Kočí
cf9dd1c653
lvgl: silent download and unpack
...
This introduces changes from NuttX commit
03b164f59ce40a3f5677b0588af2aee8d9697bf6.
2023-03-02 22:24:54 +08:00
pengyiqiang
ca403ffaf7
lvgl/port: optimize fbdev buffer sync algorithm
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-03-02 13:52:05 +08:00
lilei19
41f60bd669
change strcpy to strlcpy
...
Change-Id: I8b9429a3c225a82842fce136bdb14b8b135066d3
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-02-22 23:09:55 +08:00
Karel Kočí
6b44c59bee
graphics/lvgl: fix build due to no-format-security
...
Without this change the build produces error:
error: ‘-Wformat-security’ ignored without ‘-Wformat’
2023-02-22 23:07:20 +08:00
pengyiqiang
6f192bd1e0
lvgl/port: add libuv porting
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-02-22 15:33:53 +02:00
pengyiqiang
8bee2e2fe0
lvgl/port/lv_port_touchpad: add cursor display
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-02-19 10:53:42 +08:00
chao an
42d34fcef3
build/Kconfig: fix warnings detected by kconfiglib
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 19:45:36 +08:00
Xiang Xiao
0f9642d403
graphics/ft80x: Fix error: implicit declaration of function 'getpid
...
report here: https://github.com/apache/nuttx/actions/runs/4100097451/jobs/7070641033
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-07 12:15:35 +02:00
Xiang Xiao
a29d9ea9da
fsutils/examples: Include unistd.h explicitly
...
to get the prototypes or macros are defined in it
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-05 08:46:59 +02:00
Gustavo Henrique Nihei
b0da60e498
apps: Use MIN/MAX definitions from "sys/param.h"
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-02-02 00:35:14 +02:00
haopengxiang
fc7a957554
graphics/libyuv: fix with using git repo check
...
There is no subfolder called "libyuv" in libyuv's folder, check
libyuv/libyuv may trigger download libyuv in everytime, hence fixed by
check libyuv repo.
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-01-29 20:42:26 +08:00
Xiang Xiao
cfed5f08fd
Minor typo fix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-25 23:20:07 +02:00
pengyiqiang
a610b633d2
graphics/lvgl: Upgrade to lvgl v8 version
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-01-01 10:14:55 -03:00
Peter Bee
091ff57126
graphics/libyuv: fix strict-prototype warning
...
Added a patch file to fix the warning
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-09 15:21:59 +08:00
Peter Bee
a8e6a07b0a
graphics/libyuv: add libyuv
...
Library for video format conversions
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-07 00:01:09 +08:00
qinwei1
c86509be4c
apps: getpid should return process id not thread id
...
Summary:
following the change in the nuttx kernel, implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id
Refer:
https://github.com/apache/incubator-nuttx/issues/2499
https://github.com/apache/incubator-nuttx/pull/2518
Nuttx Kernel PR:
https://github.com/apache/incubator-nuttx/pull/7597
update apps code
Testing PASSED with qemu( 32/64 )
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:45 +08:00
Xiang Xiao
89ec8cbf96
Fix Error: slcd_trapezoids.cxx:84:5: error: array designators are a C99 extension [-Werror,-Wc99-designator]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-12 18:29:31 +01:00
Xiang Xiao
82ee0d1e24
Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-11 21:12:22 +01:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
Xiang Xiao
a95d34c346
Fix error: 'NXWidgets::CTextBox::insertText' hides overloaded virtual functio
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
e1cc1199bb
Fix error: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
1f78f8a9c6
Fix Error: src/cscaledbitmap.cxx:456:26: error: result of comparison of constant 256 with expression of type 'uint8_t' (aka 'unsigned char') is always true
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
8554db0b5e
Fix slcd_trapezoids.cxx:38:5: error: array designators are a C99 extension
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
yinshengkai
2c3c2edcb7
Makefile: Remove INCDIROPT
...
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.
See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
2022-10-25 13:48:16 +08:00
Xiang Xiao
b659f0fbdf
Remove the unnecessary cast for main_t, NULL and argv
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 18:40:23 +02:00
Alin Jerpelea
d6f787afca
apps: system: add libjpeg
...
This package contains C software to implement JPEG image encoding, decoding,
and transcoding. JPEG is a standardized compression method for full-color
and grayscale images.
The distributed programs provide conversion between JPEG JFIF format and
image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats. The
core compression and decompression library can easily be reused in other
programs, such as image viewers. The package is highly portable C code;
we have tested it on many machines ranging from PCs to Crays.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-18 23:58:40 +08:00
Xiang Xiao
964747dd36
nshlib: Call nsh_telnetstart in nsh_initialize to avoid the dupliation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 15:39:10 -04:00
Xiang Xiao
893387b2c5
Fix the minor style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:07:16 +02:00
Xiang Xiao
4941182cc6
Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
...
to support the tristate option correctly and unify the usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 14:59:08 +02:00
Xiang Xiao
a86790c367
poll: Don't need monitor POLLERR or POLLHUP explicitly
...
since spec require the implementation always report POLLERR/POLLHUP:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-05 05:58:02 +02:00
Huang Qi
2e2630e838
Don't download tarballs if a local git repo found
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 17:20:47 +08:00