Juha Niskanen
f8f16975a9
webclient: use getaddrinfo to get IPv4 addresses on dual stack systems
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-04-23 09:29:36 -06:00
Xiang Xiao
51cbd42227
Revert "build.yml: Remove -G from cibuild.sh command line"
...
This reverts commit 989988fa72
.
2020-04-22 17:56:19 +01:00
Alin Jerpelea
2749e6467b
system: nxplayer & nxrecorder: nxstyle fixes
...
nxstyle fixes for nxplayer & nxrecorder apps
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
1697c64994
examples: nxwidget: nxstyle fixes
...
nxstyle fixes for nxwidget exaples
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
c9eaf0beaa
examples: i2sloop: nxstyle fixes
...
nxstyle fixes for i2sloop exaple
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
3cdb81077b
examples: i2schar: nxstyle fixes
...
nxstyle fixes for i2schar exaples
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Xiang Xiao
989988fa72
build.yml: Remove -G from cibuild.sh command line
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-22 00:46:26 +08:00
Juha Niskanen
f18b283ea8
nshlib: add printf command to README.TXT
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-04-21 08:02:32 -06:00
Xiang Xiao
63288eb81f
fix apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:550:20: error: ‘m_xyinput’ was not declared in this scope
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-20 07:08:56 -06:00
Xiang Xiao
68ed2a2afc
build.yaml: Change arm-11 to arm-12
...
since arm-12 finish more quickly than arm-11
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:30:17 -06:00
Xiang Xiao
0c84e22aaf
example: Remove all APPNAME from Makefile
...
which doesn't use anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:29:34 -06:00
Xiang Xiao
4431d770b4
.gitignore: Add more entries found during prcheck testing
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:29:34 -06:00
Xiang Xiao
a82d74b8a1
nshlib: Call BOARDIOC_FINALINIT in nsh_telnetstart if CONFIG_NSH_CONSOLE not define
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:15:23 -06:00
Xiang Xiao
b1b45de3db
Revert "nshlib: Move BOARDIOC_FINALINIT into nsh_initscript"
...
This reverts commit ac5632fc50
.
2020-04-19 10:15:23 -06:00
Xiang Xiao
650b58d6b2
nshlib: Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
de8a56d149
nshlib: Split shell functionality from nsh to sh
...
1.Improve the compatiblity as other OS
2.Avoid call nsh_initialize more than once
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
3f9302561c
nshlib: Enhance nsh to execute the shell script
...
and support the interactive shell too
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
d307758c3c
nshlib: Rename 'sh' command to 'source' command
...
since this command change the parent environment variable and
add new '.' command which has the same functionality as 'source'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
9ab5e2ff45
nshlib: Add login argument to nsh_session for controling the login process
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
7b4d34e352
system/taskset: Call system to launch application instead of nsh_system
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
9dbdc73df6
nshlib: Reset NSH_NP_SET_OPTIONS_INIT in nsh_initscript
...
to ensure the reset get executed in all console implementation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
ac5632fc50
nshlib: Move BOARDIOC_FINALINIT into nsh_initscript
...
1.Avoid the code duplication
2.Call BOARDIOC_FINALINIT onnce and only once
3.Ensure BOARDIOC_FINALINIT get called in all case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
6c4dc44e04
nshlib: Ensure nsh_initscript always follow usbtrace_enable immediately
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 08:07:06 -06:00
Xiang Xiao
b813944a7a
example/nettest: tcpclient and tcpserver to .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 21:48:38 +08:00
chao.an
4adb83c754
nshlib: remove the dependency of date on RTC
...
Change-Id: I98bd022fdc901ecb4e2e45a0faf779d83c260844
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-18 07:35:40 -06:00
Brennan Ashton
f2fb8c8a42
Add retry to pull docker image
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-17 15:20:24 -06:00
liuhaitao
a0a2c40c79
Fix bas_program.c nxstyle complaints
...
Note that mixed case identifier still keep in use.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-17 17:06:01 +08:00
liuhaitao
5a29e86847
Fix bas_program.c build warning under macos
...
bas_program.c:234:35: error: adding 'size_t' (aka 'unsigned long') to a string does not append to the string [-Werror,-Wstring-plus-int]
FS_putChars(chn, " " + len);
~~~~~~~~~~~^~~~~
bas_program.c:234:35: note: use array indexing to silence this warning
FS_putChars(chn, " " + len);
^
& [ ]
1 error generated.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-17 17:06:01 +08:00
YAMAMOTO Takashi
1b572ff169
Use MODULESTRIP where appropriate
2020-04-17 14:43:33 +08:00
Alan C. Assis
6e403fc343
Fix remaining issues with nxstyle
2020-04-16 20:39:47 -06:00
Alan C. Assis
04856ccfde
Rescue incorrectly removed line
2020-04-16 20:39:47 -06:00
Alan C. Assis
d10eb2ae3a
Fix nxstyle issue for Juha patch
2020-04-16 20:39:47 -06:00
Juha Niskanen
89b981bdb6
nshlib/nsh_codeccmd.c: fix potential NULL dereference and check malloc return values
2020-04-16 20:39:47 -06:00
liuhaitao
d2625c8b9d
CI: refine checkpatch commits in check.yml
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-16 21:09:54 +08:00
Xiang Xiao
e4b101d2ef
system/cu: Echo NULL char too
...
since zero is also a valid character
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-16 20:50:40 +09:00
Qi Huang
5018ee264c
graphics/littlevgl: Fix lvgl internal warning with patch
...
examples/lvgldemo: Fix build warning with specific config
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
2020-04-16 19:06:05 +08:00
liuhaitao
b8dc15f646
examples/thttpd: align to elf/posix_spawn exmaples to fix depend build warning
...
Build warning logs as below:
arm-none-eabi-gcc: warning: ./hello/Makefile: linker input file unused because linking not done
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-15 11:39:15 -03:00
Qi Huang
771811c1d7
examples/lvgldemo: Fix nxstyle
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
2020-04-15 11:38:24 -03:00
Qi Huang
a749b42164
graphics/littlevgl: Fix nxstyle
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
2020-04-15 11:38:24 -03:00
Qi Huang
4555e73b3e
graphics/littlevgl: Change tarball version from 5.3 to 6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
2020-04-15 11:38:24 -03:00
Qi Huang
972a31c16a
graphics/littlevgl: Update theme config symbol name in Kconfig
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I34be5049fb42a0e293f088dfefe6e9025838403b
2020-04-15 11:38:24 -03:00
Qi Huang
2bb4cbf9ca
examples/littlevgl: Add missing btn event handler
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I4048fbd4907e465fe8f3a1a57c8ff830730a5bc3
2020-04-15 11:38:24 -03:00
Qi Huang
1775ccde1b
graphics/littlevgl: Correct color depth description
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: Ice795f62179d5762cd46c5c9495997ccde0d021e
2020-04-15 11:38:24 -03:00
Qi Huang
94b8dbe7aa
examples/lvgldemo: Port all demos to LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: Ie139af71e88d887bffefcd9b97977124c5a9e1c3
2020-04-15 11:38:24 -03:00
Qi Huang
13606dc253
apps/examples/lvgldemo: Port new simple demo from LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I1051edc15b6f66ce34d2f813964e0e8630ec351f
2020-04-15 11:38:24 -03:00
Qi Huang
5bee0377cb
graphics/littlevgl:Fix nxstyle for lv_conf.h
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: Icdf39551357d32f2af57c6cffe10a07101e3aebe
2020-04-15 11:38:24 -03:00
Qi Huang
b7e96b473d
apps/examples/lvgldemo: Update the lvgl init procedure
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I36d250d7839a86d486dcb8f720fcf12f9b954327
2020-04-15 11:38:24 -03:00
Qi Huang
1fa30e59d3
apps/examples/lvgldemo: Port tp_cal.c for LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I1fead13274822276e08d3f54016b079b174a1544
2020-04-15 11:38:24 -03:00
Qi Huang
6f2ed3dfd4
apps/graphics/littlevgl: Update include guard macro of lv_conf.h
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I467354c5a26407eee6d1bc780f6accd091e9b3d2
2020-04-15 11:38:24 -03:00
Qi Huang
25876e8222
apps/examples/lvgldemo: Update fb flush callback for LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I72a6ff628f2ea2b0b505e444c84b266ba3a28d87
2020-04-15 11:38:24 -03:00