Commit Graph

4821 Commits

Author SHA1 Message Date
Huang Qi
08c5998472 graphics/lvgl: Specific LVGL version by kconfig
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Huang Qi
7099bc4b02 interpreters/duktape: Add console/print/alart support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Xiang Xiao
efeb1d10b1 netutils/ftpc: Change watchdog callback prototype
follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-14 08:20:05 -06:00
Oleg Evseev
fcd3937d7c system/cu: refactor, add option -c to disable \n -> \r\n conversion
option -c will disable \n -> \r\n conversion both for serial device and console if it is a tty

refactor: use only one function to set termios parameters, use termious related code and options only if CONFIG_SERIAL_TERMIOS is defined
2020-08-14 00:58:55 +01:00
Xiang Xiao
ebf37162ed Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 12:33:50 -06:00
Xiang Xiao
bf4c36c83f netutils/ftpc: Embed wdog_s in ftpc_session_s directly
follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 12:33:50 -06:00
Xiang Xiao
e6c5ff9208 Remove the unnecessary touch and clean from Makefile
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 19:10:19 +01:00
Masayuki Ishikawa
7f48576218 nshlib: Fix memory corruption in nsh_parse.c
Summary:
- Fix memory corruption when pthread_create() failed in nsh_execute()

Impact:

- nsh builtin command execution in background with errors

Testing:

- Tested with hifive1-revb:nsh
- Set CONFIG_MAX_TASKS=4
- Run 'sleep 1000 &' in 3 times will cause pthread_create error
- Run free, ps command

Reported-by: Yoshinori Sugino <ysgn0101@gmail.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-11 13:57:02 +02:00
Huang Qi
a6674b6edc interpreters/duktape: Fix build warning for sim on macOS
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Iecfdb1dee2060d2f0f0a2dc8dce3d239af8ee273
2020-08-11 01:24:41 -05:00
Xiang Xiao
4136d42596 Change FBIO_UPDATE argument from nxgl_rect_s to fb_area_s
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ibaf4b0180afecdcd3248693a3092c8a23e22a2fa
2020-08-10 10:45:37 +01:00
chao.an
8917467d04 netutils/dhcpd: correct the member name
Change-Id: I4dc6be8550a938851ae897fd93200a995e5c5178
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-08-07 14:16:14 -05:00
Huang Qi
6bad964016 interpreters/duktape: Fix warning for sim
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I41cd1dab10fe3f98af757bc19968697f80e84fa4
2020-08-07 14:15:57 -05:00
Huang Qi
2ddcd1d186 interpreters/duktape: Fix tarball download url
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I950d5c676f0772681bd27dfefd35bfab495a2564
2020-08-06 22:46:56 -05:00
Huang Qi
06b64634bf interpreters: Add initial duktape support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I8909551d565ce9d1ae25607367a005eee13c3860
2020-08-06 10:52:26 -03:00
SPRESENSE
eaeceb516b apps/examples/usrsocktest: Fix nxstyle issue 2020-08-06 20:52:09 +09:00
SPRESENSE
f29c0dabd4 apps/examples/usrsocktest: Add test scenario of recv
Add test scenario of recv for MSG_PEEK flag.
2020-08-06 20:52:09 +09:00
SPRESENSE
4e1a22428a wireless/gs2200m/gs2200m_main.c: Add passing MSG flags
Add passing MSG_* flags for gs2200m driver.
2020-08-06 20:52:09 +09:00
SPRESENSE
c1bf012211 netutils/usrsock_rpmsg: Change to pass the flags to the psock interface
Pass the sendto/recvfrom flags argument to the psock interface.
2020-08-06 20:52:09 +09:00
SPRESENSE
4bd506b7f5 apps/examples/usrsocktest: Add MSG_PEEK flag support
Do not decrement the recv_avail_bytes if MSG_PEEK flag is specified.
2020-08-06 20:52:09 +09:00
Peter Bee
63a5ddcc7c testing/cxxtest: increase STACKSIZE to avoid crash
The previous version of cxxtest uses a fixed value(4096) for STACKSIZE,
insufficient when no optimization options are set(CONFIG_DEBUG_NOOPT).
This patch increased the STACKSIZE to CONFIG_DEFAULT_TASK_STACKSIZE for
stability and consistency.

Change-Id: I45a4806d2cda1583f60a5cf24b98b8df58f377d0
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2020-08-03 21:05:01 +01:00
Johannes Schock
6aada750d9 Testing for UTF8 support for FAT Filesystem. 2020-07-31 18:03:03 -03:00
SPRESENSE
63cd701958 Makefile: Unify ROOTDEPPATH into DEPPATH
DEPPATH is commonly used in nuttx repo, so it to be the same with them.
2020-07-29 15:22:20 +02:00
SPRESENSE
381b83ea90 tools/check-hash.sh: Add shasum to use checking hash
In macOS, sha*sum tools not found, but shasum can be use instead of them.
2020-07-29 15:22:20 +02:00
SPRESENSE
fb26ef28c6 system/hex2bin: Fix compilation error
Avoid overwrite the PROGNAME.
2020-07-29 15:22:20 +02:00
SPRESENSE
088df5f156 system: Fix typos
Fix typos in following files:

 - system/setlogmask/Kconfig
 - system/tee/Makefile
 - system/telnet/Makefile
 - system/spi/Kconfig
2020-07-29 15:22:20 +02:00
SPRESENSE
bc4b6a8894 Application.mk: Fix minor bugs
- Add .config to depend to update Make.dep by config changed
- Fix mkdep error in some Makefiles

Originally, ROOTDEPPATH should be used, but DEPPATH has been already
written in some Makefiles such as littlevgl and pdcur34. This commit
allows the description of DEPPATH instead of ROOTDEPPATH.
2020-07-29 15:22:20 +02:00
Masayuki Ishikawa
cb9eb7cfd7 netutils: webserver: Replace license header with Apache License 2.0
Summary:
- This commit replaces license header in httpd_dirlist.c

Impact:
- No impact

Testing:
- Buid check only
2020-07-29 01:05:31 -05:00
Masayuki Ishikawa
caaf343bad netutils: webserver: Fix style violations
Summary:
- This commit fixes style violations in httpd_dirlist.c

Impact:
- No impact

Testing:
- Buid check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-07-29 01:05:31 -05:00
Masayuki Ishikawa
813f834018 testing: getprime: Replace license header with Apache License 2.0
Summary:
- This commit replaces license headers under testing/getprime.

Impact:
- No impact

Testing:
- Buid check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
Masayuki Ishikawa
faec1f8614 wireless: gs2200m: Replace license header with Apache License 2.0
Summary:
- This commit replaces license headers under wireleass/gs2200m.

Impact:
- No impact

Testing:
- Buid check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
Masayuki Ishikawa
f6aa7340bc system: taskset: Replace license header with Apache License 2.0
Summary:
- This commit replaces license headers under system/taskset.

Impact:
- No impact

Testing:
- Buid check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
Masayuki Ishikawa
e0c27e1d21 examples: i2sloop: Replace license header with Apache License 2.0
Summary:
- This commit replaces license headers under examples/i2sloop.

Impact:
- No impact

Testing:
- Buid check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
SPRESENSE
f8354b0c03 wireless/gs2200m: Fix freeing uninitialized memory
Add initialize local variable and check the buffer is allocated before free().
2020-07-28 09:46:09 +02:00
Ouss4
c1d060dac3 Directory.mk: The subdirectories' clean and distclean targets need to be
unique to avoid the "overriding recipe for target"  warning.
2020-07-25 10:56:06 -05:00
Ouss4
1dae12ba05 Don't run preconfig, clean or distclean when it's not necessary. 2020-07-25 07:50:28 -06:00
Maciej Wójcik
21049ece6e Rewritten READMEs to Markdown 2020-07-25 01:01:51 -07:00
Maciej Wójcik
51e6645f71 Rename README and README.txt to README.md 2020-07-25 01:01:51 -07:00
Ouss4
a01be75a44 Update boards matrix to add AVR builds. 2020-07-19 09:29:58 -05:00
Masayuki Ishikawa
63068ce602 netutils: netclient: Introduce CONFIG_NETUTILS_NTPCLIENT_WITH_AUTH
NOTE: currently, no authentication-related code is implemented.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-18 04:44:38 -05:00
Maciej Wójcik
d85cbea7f8 Don't copy header outside of LVGL, export LVGL, add README, fix example 2020-07-16 09:16:20 -05:00
Xiang Xiao
4758151b86 examples/nrf24l01_term: Fix the nxsytyle warning 2020-07-12 15:59:54 +01:00
Xiang Xiao
317f0159a4 telnetd: Fix the buffer overflow
Should only memset ipv6 part of socket address(exclude famliy and port field)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-12 14:11:54 +01:00
Xiang Xiao
942f32e22a Fix nxsytle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I36099dc6c07c7ada2f9fcb06fe0267b8d213a61a
2020-07-12 13:56:00 +01:00
Xiang Xiao
deaa6c5b7b build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
and move NUTTXLIB defintion to the common place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Beat Küng
6daab509ca gpio: fix code style (long lines) 2020-07-09 15:17:13 -03:00
Beat Küng
31d198f5b6 gpio: add new GPIO pin types
NuttX PR: https://github.com/apache/incubator-nuttx/pull/1374
2020-07-09 15:17:13 -03:00
qiaowei
d07db1fa5e ostest: fix assert when open CONFIG_SIG_DEFAULT
SIGKILL was captured and call nxsig_abnormal_termination,
which kills the children when SIGCHLD was set. Solution:
change SIGKILL to SIGUSR1.

Signed-off-by: qiaowei <qiaowei@xiaomi.com>
Change-Id: I4a4b06220a28fcf9d50debfd8a3b789fdbdf1976
2020-07-08 00:20:06 +01:00
Xiang Xiao
278c9fe5f5 testing/cxxtest: Fix the compiler warning
cxxtest_main.cxx: In function ‘void test_rtti()’:
cxxtest_main.cxx:199:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  199 |   delete a;
      |   ^~~~~~~~
cxxtest_main.cxx:200:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  200 |   delete b;

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id80100a09f7b1d5931e7898a1a5a75ca00007c75
2020-07-08 00:18:49 +01:00
Xiang Xiao
7789bbb470 zmodem: Remove CONFIG_HAVE_INLINE from compiler.h
follow up the kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-06 01:22:42 +01:00
chao.an
c723283340 make/import: support import zip use relative path
mkimport.sh failure if using relative path:

$ ./tools/mkimport.sh -x ../incubator-nuttx/nuttx-export-9.1.0.zip
unzip:  cannot find or open ../incubator-nuttx/nuttx-export-9.1.0.zip, ../incubator-nuttx/nuttx-export-9.1.0.zip.zip or ../incubator-nuttx/nuttx-export-9.1.0.zip.ZIP.
ERROR: unzip ../incubator-nuttx/nuttx-export-9.1.0.zip failed

Change-Id: Ifc93c5e4dac95ec79a4e909b22ef646fbfe4484d
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-07-03 23:48:00 -05:00