171 Commits

Author SHA1 Message Date
Xiang Xiao
b128912bab nshlib: Call nsh_sysinitscript in usb or alt console like normal one
Change-Id: I6367b3cadb6f6965e05b8306832572b25bdfc9c4
2024-11-20 19:28:16 +08:00
Xiang Xiao
d5dc246b40 Fix the coding style issue
Change-Id: If13190ef6421cc50375579dbedd462273c392a1e
2024-11-20 19:28:15 +08:00
Xiang Xiao
f62f59526d nshlib: Reuse nsh_session logic in nsh_telnetmain
Change-Id: I5d07205929e7f97fc4d8b9015e6302a209975e56
2024-11-20 19:28:13 +08:00
chao an
e7142c1a53 apps/application: genarate staging library before copy
Change-Id: Ia74124909f6bdb564982f56b8f7b3ec17d89746a
2024-11-20 19:28:12 +08:00
Xiang Xiao
87edccd7ce nshlib: Move commoin initialization from console_main to nsh_initialize
Change-Id: I206a986f113f8a003857dfda6ddc36a94ead7208
2024-11-20 19:28:10 +08:00
Xiang Xiao
9043795485 nshlib: Call nsh_sysinitscript in usb or alt console like normal one
Change-Id: I1c3cc9f68f7c2d44f49b173b43a44790c8a5359c
2024-11-20 19:28:10 +08:00
liuhaitao
c79e63bab6 Merge remote-tracking branch 'mirtos/master' into dev
Change-Id: I69884b1de57f44e25d337ac1e5d433e1eb88ebfc
2024-11-20 19:23:37 +08:00
pengyiqiang
c9d60a0daa lvgl/lv_porting: add encoder interface.
Change-Id: I89e9e4a0715748e6412108db3b5657160f61ef02
2024-11-20 19:23:36 +08:00
YAMAMOTO Takashi
272b754c20 webclient: handle EINTR in a few places
Change-Id: Ic575890dbbd967a2232ac0bb7aa75b66f39da285
2024-11-20 19:23:35 +08:00
guowei15
bb031b2ebc lvgl/lv_porting:fix underline bug and remove face id when destroy font.
Change-Id: Ia8dba81319f7f885f5eac26967db0cf7390f7ca2
2024-11-20 19:23:34 +08:00
Juha Niskanen
47d5895f85 apps: fix miscellaneous typos
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2024-11-20 19:23:30 +08:00
Xiang Xiao
e4cf63877e Merge commit 'ca70e585b105b94ae74b104b65975d2b58ae7b0b' into dev
Change-Id: Ib21e4b71abe3b57942059ca410606ddef59288d2
2024-11-20 19:23:18 +08:00
ligd
3868eba49c apps: add variable to identify main shell
Change-Id: I58cebf7f2b2f441e7cd07caa2755d564936858b6
2024-11-20 19:23:17 +08:00
wangxuedong
cde2f9b78e Add lvx_msgbox in Kconfig.
Change-Id: I1ce52b1e76c1804429ed6583872b0b328f524d38
2024-11-20 19:23:16 +08:00
ligd
3cc3844141 system/critmon: add thread run time support
Change-Id: I19c16be6c1adec9c89b6944f444f21f43accfbf2
2024-11-20 19:23:13 +08:00
ligd
b22a54225a apps: add variable to identify main shell
Change-Id: Idf4e0978dfecb97c2f27a1c4af3210255f39213d
2024-11-20 19:23:11 +08:00
songnannan
c2ad3ed62a fix(sensortest): move set_interval and batch before activate.
Change-Id: I10c74a80acf32456117db561a64b78d7b1fdae91
2024-11-20 19:23:11 +08:00
ligd
b085035d8f examples/watchdog: add depends on CONFIG_WATCHDOG
Change-Id: Ic7554418650ebf5943f30fd90475f5ebe799189c
2024-11-20 19:23:08 +08:00
pengyiqiang
5c25068e6c lvgl: lv_ffmpeg support dynamic picture decoding.
Change-Id: I9a6f4d8cfb19f6fab90074fe3acacfa4941a8e8a
2024-11-20 19:23:05 +08:00
Peter Bee
742bfa6c9d apps/system: fix command history behavior (2)
Change-Id: Ib68d1c702428d6c0744dc32a227b9352f682d0c2
2024-11-20 19:23:03 +08:00
pengyiqiang
5fd1689122 examples: Update lvgldemo to lvgl v8.
Change-Id: I4f10f0801222fca8d998dfe67ade81978af6cf1f
2024-11-20 19:23:00 +08:00
ligd
a37132d58f system/critmon: add critmon program for critmon once
Change-Id: Ic0fc038f8d9b05fc051314721a0fb1ff559c0c08
2024-11-20 19:22:58 +08:00
lishaoen
db2d8ed871 lv_porting for lvgl v8 (rebase on dev)
Change-Id: I8333736a45489336bbd25db5f29c9279524267d1
2024-11-20 19:22:55 +08:00
Alin Jerpelea
ff5c4da65f include: fix relative path CI error
error: Path relative to repository other than nuttx must begin with the root directory
Change-Id: I57f996f5a3dd852c963cdd5be673d76f7b7049a4
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-11-20 19:22:52 +08:00
Xiang Xiao
cfc54e46d2 nshlib: Ignore the unkonwn option in nsh_session
Change-Id: I2d0483b6a96696c5658c3975b92421c05414fcdb
2024-11-20 19:22:49 +08:00
Alin Jerpelea
cac0e9a85c nshlib: update licenses to Apache
Gregory Nutt is has submitted the SGA

Uros Platise has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-11-20 19:22:46 +08:00
liuhaitao
fb67bc12fd Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507
Change-Id: I3b669569498c05e11001da10561649b1867566ef
2024-11-20 19:22:39 +08:00
liuhaitao
4576d4f3d3 Revert "apps/Makefile: increase the incremental compile speed"
Change-Id: I23a566125e981a8f89e4e6184e9d3f98979cc62b
2024-11-20 19:22:39 +08:00
chao.an
56424d3de6 netutls/usrsock_rpmsg_server: add support for send reassemble
Change-Id: I79891577efcfc0ac1159fefa7e09c1f4fdc30eea
2024-11-20 19:22:36 +08:00
guowei15
ec9b7abee3 lvgl:add lv_freetype driver
Change-Id: Ie80abc4c67e674ae2158e543acadf8550c00694c
2024-11-20 19:22:34 +08:00
Sara Souza
3f2b5c6aac examples/mqttc: If connection() fails, then fd becomes invalid
Change-Id: I448a58930cbcdbce830acc8578d5ea5f52473769
2024-11-20 19:22:32 +08:00
Huang Qi
7e65d6f6f3 system/libuv: Bump to v1.41.0
Change-Id: I22f1954d99c49e0131fb0b9385ca06cb514c9212
2024-11-20 19:22:31 +08:00
Gustavo Henrique Nihei
f721770765 examples/lvgldemo: Check for more specific input subclass on ifdefs
Change-Id: I2ae43ea635e5544df7e1528c97ed8814ad710258
2024-11-20 19:22:29 +08:00
chao.an
bff509818c netutls/usrsock_rpmsg_server: add support for send reassemble
Change-Id: Id435be89e8beefe6073fd8af6e0c6430ff363b3b
2024-11-20 19:22:28 +08:00
Brennan Ashton
a9503206d4 CI: Migrate ci tooling from testing repository to main os repo
Change-Id: I24499eb1dc0f317c2273a354c1a76d8d76d88bea
2024-11-20 19:22:25 +08:00
Jiuzhu Dong
783711a3d1 app: delete NFILE_DESCRIPTORS limits
Change-Id: I8600cce611e17bd40b56fa8008335335136c1ad8
2024-11-20 19:22:21 +08:00
YAMAMOTO Takashi
4006fa271f netutils/iperf/README.md: document what this is
Change-Id: I171870e0ac53f0c509e2f8aae38dd84201f13f48
2024-11-20 19:22:18 +08:00
Peter Bee
18962039fd apps/nshlib: makefile logic refine
Change-Id: If502472cad0c4d2f5d168d19849fd5af7b6220ef
2024-11-20 19:22:16 +08:00
Gustavo Henrique Nihei
63715dd36a system/i2c: Add command for resetting an I2C bus
Change-Id: I3e47b3f3b071fa3863f308134912c459976cf4e8
2024-11-20 19:22:15 +08:00
chao.an
b894a68f76 apps/Makefile: increase the incremental compile speed
Change-Id: Ifc737f49db848b44fe28f3e3fafcac68381b4154
2024-11-20 19:22:13 +08:00
ligd
63b5bdf3c4 apps/md5: fix md5 result error
Change-Id: I6aebd2f0bfad7360df04643e375d9a6d92195910
2024-11-20 19:22:11 +08:00
Jiuzhu Dong
2ed960f21b net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
Change-Id: I942ee35dd862a69beda77c3ee092f53511ad3a5c
2024-11-20 19:22:09 +08:00
YAMAMOTO Takashi
9a1c7d062f ntpclient.c: Avoid integer overflows in offset calculation
The current calculation easily overflows if the local time is
around the unix epoch.  I guess it isn't too unusual for
devices without RTC.  Or, the battery is dead.  Or, whatever.

This commit avoids the overflow by simply dividing everything by 2.
While more sophisticated and precise solutions are possible,
I feel that they are overkill for this simple implementation.

For example,

The unix epoch (1970) is 0x83aa7e8000000000 in
64-bit NTP timestamp. (1900-origin)
The timestamp now, as of writing this, is 0xe3cda16b00000000.

With the code before this commit, the offset will be:

(lldb) p (long long)((0xe3cda16b00000000 - 0x83aa7e8000000000) + (0xe3cda16b00000000 - 0x83aa7e8000000000)) / 2
(long long) $16 = -2295952992316162048
(lldb)

with the new code, it would be:

(lldb) p (long long)((0xe3cda16b00000000 / 2 - 0x83aa7e8000000000 / 2) + (0xe3cda16b00000    / 2 - 0x83aa7e8000000000 / 2))
(long long) $17 = 6927419044538613760
(lldb)

It's the correct offset from the unix epoch:

(lldb) p 6927419044538613760 >> 32
(long) $0 = 1612915435
(lldb)

spacetanuki% date -r 1612915435
Wed Feb 10 09:03:55 JST 2021
spacetanuki%

Change-Id: I1788f683c346cb6c515865db9e153ef24fe50ccd
2024-11-20 19:22:07 +08:00
Jiuzhu Dong
23ac9862bd testing/sensor: fix bug about -h
Change-Id: Ib634a0fbdbcd839662ebadc4ea9e62f97120ea1a
2024-11-20 19:22:05 +08:00
Masayuki Ishikawa
12000f48f8 netutils: iperf: Add pthread_join() to wait for completion
Summary:
- I noticed that lc823450-xgevk:rndis does not work with iperf
- Finally, I found that it does not call pthread_join()
- This commit fixes this issue

Impact:
- No impact

Testing:
- Tested with lc823450-xgevk:rndis
- NOTE: need to add iperf in the defconfig

Change-Id: I49b9fefb5c54647a72873b60d27eb560f8ed814e
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2024-11-20 19:22:03 +08:00
pengyiqiang
46707b453b lvgl: Replace printf and malloc in lv_interface.
Change-Id: If020b5acd35342b447ce0daca64b70053ef8214c
2024-11-20 19:22:02 +08:00
Juha Niskanen
53fdd68eae netutils/ntpclient: add more features
Allow multiple NTP servers, also with runtime configurable list
Add validation of received NTP packets
NTPv4 support with 'Kiss o' Death' message handling
IPv6 support
Collect multiple NTP samples and filter outsiders
Check if system clock has been altered during NTP (if CONFIG_CLOCK_MONOTONIC)

Change-Id: Ibaa4fcedfbf3d95ec58d584ff8baa303ba96cc2c
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2024-11-20 19:22:00 +08:00
chao.an
015f56a412 wireless/wapi: minor fix for wapi help page
Change-Id: I0113de393ef28b412e4882b04a369cfdcd75ca09
2024-11-20 19:21:58 +08:00
nietingting
0e91d383ae ltp: fix build fail issue
Change-Id: Iada4b478cb53010a30d02778c075491dc98bc1f2
2024-11-20 19:21:54 +08:00
chao.an
08a11c06d9 system/readline: check the control ascii only to support multi-languages
Change-Id: I17a2fefc65f6caa5b1e07b5531f270ac1d3e4387
2024-11-20 19:21:53 +08:00