Commit Graph

524 Commits

Author SHA1 Message Date
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
Xiang Xiao
7ce7eff9a9 Remove the non standard c++ header file inclusion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-15 22:23:25 +03:00
Alin Jerpelea
d60fb1168d nxstyle fixes
fixes for nxstyle errors reported by CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
b99070589a graphics: nxglyphs: Add Apache License
The initial contribution was missing a license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
chao.an
25d7dfe990 fs/epoll: fix compile break about change type of pollevent_t
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-07 16:23:47 +08:00
Petro Karashchenko
2d8798d260 graphics/nxwidgets/UnitTests: correct configuration option name in README.md
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 17:35:48 +08:00
Petro Karashchenko
566be8c7b1 definitions: unify MAX and MIN macro definitions
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-16 23:20:17 +08:00
Alin Jerpelea
33254aaaad apps: graphics: pdcurs34: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
ad626736fc apps: graphics: nxwidgets: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
a53c38c057 apps: graphics: slcd: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
cd0e847c79 apps: graphics: twm4nx: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
39c4ef6ca2 apps: graphics: tiff: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
ab5f5c7838 apps: graphics: screenshot: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
38ef30b9cc apps: graphics: nxwm: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
875c8542c4 apps: graphics: nxglyphs: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
68b777c399 apps: graphics: lvgl: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
dd20c1355b apps: graphics: ft80x: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-11 00:14:32 +02:00
Alin Jerpelea
c6ed25aa16 apps: graphics: Jose Pablo Carballo: update licenses to Apache
Gregory Nutt has submitted the SGA
Jose Pablo Carballo has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-08 01:44:49 +08:00
Xiang Xiao
2385718f1c graphics/nxwidgets: Fix the compiler warning
src/cprogressbar.cxx: In member function 'virtual void NXWidgets::CProgressBar::drawContents(NXWidgets::CGraphicsPort*)':
Error: src/cprogressbar.cxx:185:22: error: '%d' directive writing between 1 and 8 bytes into a region of size 6 [-Werror=format-overflow=]
  185 |       sprintf(text, "%d%%", (100 * m_value) / (m_maximumValue - m_minimumValue));
      |                      ^~
src/cprogressbar.cxx:185:21: note: directive argument in the range [-3276800, 3276800]
  185 |       sprintf(text, "%d%%", (100 * m_value) / (m_maximumValue - m_minimumValue));
      |                     ^~~~~~
src/cprogressbar.cxx:185:14: note: 'sprintf' output between 3 and 10 bytes into a destination of size 6
  185 |       sprintf(text, "%d%%", (100 * m_value) / (m_maximumValue - m_minimumValue));
      |       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-07 00:58:19 +08:00
Xiang Xiao
497c69c514 graphics/nxwidgets: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:52:43 +01:00
Petro Karashchenko
9480c0ec12 include: fix double include pre-processor guards
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-16 17:36:21 +08:00
Fotis Panagiotopoulos
bc5d8034f1 Typo fixes. 2022-01-06 10:30:41 +08:00
Petro Karashchenko
5ac15130db apps: remove space befone newline in logs
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-27 20:52:08 -06:00
chao.an
7c7841b53f graphics/nxwidgets: Change CONFIG_USER_ENTRYPOINT to CONFIG_INIT_ENTRYPOINT
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-25 07:28:29 -06:00
Xiang Xiao
d4d2f13f89 Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
since boardctl isn't a libc feature

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 11:04:35 +02:00
SPRESENSE
0dc9be9596 graphics/pdcurs34: Fix a compile warning
Fix a compile warning when CONFIG_PDCURSES_MULTITHREAD=n.
2021-07-03 23:20:31 -05:00
SPRESENSE
95aece012a graphics/pdcurs34: Fix compile error
Fix a compile error when CONFIG_SYSTEM_TERMCURSES=y.
2021-07-03 23:20:31 -05:00
Alin Jerpelea
89d6bbbcd6 graphics: fix relative path CI error
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
869535e470 examples: nxstyle fixes
fixes for nxstyle errors reported by CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
efcc22ab6e author: Ken Pettit: update licenses to Apache
Ken Pettit has submitted the ICLA

Gregory Nutt is has submitted the SGA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
ec339bc49a Makefiles: Gregory Nutt: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Xiang Xiao
719b37cfdc Include assert.h in necessary place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-02 17:03:04 +09:00
Abdelatif Guettouche
99ec1bec61 examples/lvgl & graphics/lvgl: Use the usual Q variable for quiet instead of @.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 09:07:31 -05:00
Xiang Xiao
d6d458c60b Include assert.h in necessary place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 14:11:16 +09:00
Xiang Xiao
6e15af3786 graphics/twm4nx: Fix error: 'sleep' was not declared in this scope
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-24 08:33:58 +09:00
Xiang Xiao
6ff7e42e01 include debug.h for xerr/xinfo/xwarn caller
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-20 08:43:17 +01:00
Gustavo Henrique Nihei
62e0c2451b examples: Fit INPUT related configs to new naming template 2021-04-08 10:15:22 -03:00
Gustavo Henrique Nihei
ad5fff4b0b graphics/lvgl: Add config to enable LVGL Performance Monitor 2021-04-08 07:59:23 -03: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
pengyiqiang
1b5b8c5167 lvgl: Add file system interface.
N/A

Change-Id: Iae291f0250284ef7fe8af60e02f66c326b54d979
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2021-01-03 08:04:34 -06:00
Huang Qi
3040c59ae9 Replace all wget with curl
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 22:45:46 -06:00
Matias N
02c3298fca LVGL: use NuttX's printf() 2020-11-30 22:28:29 -06:00