Fotis Panagiotopoulos
b6eb3c828c
Removed obsolete option NET_ALLOC_CONNS.
2023-02-20 09:06:46 +08:00
Fotis Panagiotopoulos
8f9dfe0be1
Improvements in TCP connections allocation.
2023-02-20 09:06:46 +08:00
chao an
1e7014262c
sim/windows: fix build break on visual studio
...
1. fix build break on visual studio
2. enable more net config
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-13 20:37:25 +08:00
ligd
1cc6e4b1fa
sim: add uart dma mode & use work instead of loop.
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-02-10 13:54:42 +08:00
Xiang Xiao
916fa4d759
boards/sim: Enable CONFIG_SIM_M32 in nimble
...
please reference this pr:
https://github.com/apache/mynewt-nimble/pull/1125
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-09 14:36:05 +08:00
raiden00pl
fc322a9c78
boards/sim: add nxscope config
2023-02-08 10:06:59 +08:00
chao an
68970fe8a1
sim/dynconns: enable more configs to catch compile warning
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-08 02:42:59 +08:00
Xiang Xiao
d8a8c2fdd8
boards: Enable assert for citest
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-06 21:33:15 +09:00
Xiang Xiao
83764079a1
boards/sim: Enable CONFIG_ARCH_MATH_H for libcxxtest
...
to undefine __GLIBC__, otherwise libcxx misthink it work with glibc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-04 21:00:54 +02:00
Huang Qi
8b27d60bcd
tools: Make zig available for arm/riscv/sim
...
Add essential compile flags to make zig available out of box.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-02-01 11:12:44 +08:00
Xiang Xiao
fcdba7a3ef
sim/usrsocktest: Enable CONFIG_DEBUG_ASSERTIONS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 12:08:05 +09:00
chao an
ac77492dd1
sim/rpserver/rpproxy: remove colon from syslog prefix
...
Before:
[server: ] show_tasks: PID PRI STACKBASE STACKSIZE COMMAND
[server: ] dump_task: 0 0 0xfff8e088 69600 Idle Task
After:
[server] show_tasks: PID PRI STACKBASE STACKSIZE COMMAND
[server] dump_task: 0 0 0xff870c58 69600 Idle Task
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-30 20:07:04 +08:00
liangchaozhong
ade9d39478
make iperf works on SIM platform
...
Solution:
1. enable iperf on SIM projects
2. enlarge IOB's settings
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-29 16:20:02 +08:00
Xiang Xiao
267e80a9e7
boards: Update Administrator tea result to 8Tv+Hbmr3pLVb5HHZgd26D
...
continue the change: https://github.com/apache/nuttx/pull/6843
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-26 17:11:07 +02:00
Xiang Xiao
fd64e38072
build: Add STACK_USAGE(-fstack-usage) to assist the stack analysis
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 10:35:20 -03:00
Xiang Xiao
f64da13e9b
libxx: Add CXX_STANDARD to select -std=c++??
...
and default to "c++17"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-16 15:41:57 +02:00
chao an
415a09115d
boards/sim/windows: enable custom options
...
1. boards/sim: enable child status
2. boards/sim/windows: enable custom options
3. sim/windows: enable hostfs
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-16 20:30:39 +08:00
Xiang Xiao
03c572c372
boards/sim: Update usrsock related stuff in README.txt
...
follow up https://github.com/apache/nuttx/pull/8022
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-13 11:30:44 +02:00
xinbingnan
383458c64e
sim/Kconfig: move some i2c,spi configs from board to arch
...
Move `SIM_I2CBUS_ID` and `SIM_SPIDEV_NAME` from board to arch.
This allows you not to rely on board configuration.
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2023-01-11 17:28:43 +08:00
梁超众
aca1a065a8
move usrsock to kernel space
...
Signed-off-by: 梁超众 <liangchaozhong@xiaomi.com>
2023-01-11 15:14:03 +08:00
Zhe Weng
8fb98bc9d1
script: support IPv6 in simhostroute.sh
...
1. Change IP address format to addr/prefix, to be compatible with both IPv4/IPv6.
- When adding address in CIDR type, netmask/route will be automatically added.
2. Since route of whole subnet is added automatically, not specifying NuttX's IP any more.
- Multiple NuttX simulators (with IP 10.0.1.x) attached to same bridge can surf the net at same time.
3. NAT66 is used to make sure it works even if host has only one IPv6 address.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-05 23:36:43 +08:00
pengyiqiang
1c62181b0d
boards: adapt LVGL v8 defconfig
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-01-01 10:15:08 -03:00
Neo Xu
1697723b63
sim/config: enable luamodule
...
Enable existing luamodules: csjon, lfs, lsyslog and luv
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2022-12-22 15:26:11 +08:00
ligd
1544adb548
sim: open CONFIG_SIM_WALLTIME_SIGNAL=y in sim:nsh sim:smp
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 16:59:56 +09:00
Peter Bee
80fa70da4e
boards/sim: Add nxcamera config
...
Config which enables nxcamera app and video framework.
Exclude from CI macOS test because macOS does not have V4L2.
(Maybe consider adding it back after porting with avfoundation)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-14 21:20:27 +08:00
anjiahao
3d2f0c0e27
crypto:support nuttx /dev/crypto
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-12-14 02:33:56 +08:00
Xu Xingliang
57190efe84
sim/lua: enable luv module by default
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2022-12-13 20:51:47 +08:00
Peter Bee
a5a1a68a25
arch/sim: add v4l2 driver for sim
...
communicate with Linux host v4l2 drivers
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-09 23:37:49 +08:00
Xiang Xiao
ee93e6ea0d
boards/sim: Decouple CONFIG_MM_UBSAN_ALL from CONFIG_MM_UBSAN_ALL
...
like other arch(e.g. arch/arm/src/common/Toolchain.defs)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-06 19:01:25 +08:00
qiaohaijiao1
e6ec6e1a94
sim/alsa: enable CONFIG_SIM_M32 config
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2022-12-02 22:55:38 +08:00
Xiang Xiao
fd268d7123
drivers/segger: Add STREAM_RTT option
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-27 23:10:39 +01:00
chao an
6d8c28a83c
boards/citest: disable NET_ARP for usrsocktest
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-24 20:54:18 +08:00
Xiang Xiao
39338ce96c
boards: Refresh ursock related config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-22 20:45:26 +09:00
zhangyuan21
a8fa51e6bf
arch: rename arch special function name
2022-11-22 16:27:56 +08:00
Xiang Xiao
33dabe3c38
sim: Always enable full UBSan feature to catch more error
...
since the resource is plenty on simulator
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-08 10:18:27 -03:00
Xiang Xiao
55083b31a9
boards/sim: Enable CONFIG_NSH_FILE_APPS for loadable config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-31 12:46:58 +09:00
wangbowen6
f56710c121
rpmsgblk: rpmsg block device support
...
Like rpmsgdev and rpmsgmtd, rpmsgblk allow the local cpu to
access the block device in the remote cpu.
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-10-28 01:13:58 +08:00
nietingting
f361d1cd41
CI: add example to sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-26 10:55:50 +08:00
nietingting
8438396f33
ci: add qemu run support
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-21 14:57:43 +08:00
Xiang Xiao
dcbad62fef
boards/sim: Restore ostest from https://github.com/apache/incubator-nuttx/pull/7109
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-19 08:22:56 +09:00
Xiang Xiao
7923ea3bef
boards: Refresh defconfig after the default value of FS_PROCFS_EXCLUDE_xxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 15:10:26 +09:00
Xiang Xiao
c6f3ad3da5
boards/sim: Enable CONFIG_NSH_TELNET_LOGIN for adb
...
to test the telnet login functionality
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 08:01:28 +09:00
liangchaozhong
f9a9a02e3e
usersock: Add driver with type of rpmsg interface
...
move usrsock rpmsg driver from userspace to kernel to reduce extra
context switch for usrsock operations
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-10-11 00:57:49 +08:00
nietingting
70053700b8
add ci run on sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-09 20:12:39 +08:00
wangbowen6
5d8cbfb279
rpmsgdev: add rpmsgdev poll() support.
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-10-09 02:40:06 +08:00
Xiang Xiao
2a574427c6
boards: Remove CONFIG_NETDEVICES=y from board defconfig
...
since it's enabled by default now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-01 19:12:15 +02:00
Xiang Xiao
d906c2ff3b
sim/adb: Enable netdb
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-30 15:37:48 -03:00
Xiang Xiao
d6bb08f6fd
boards/sim: Enable telnetd in adb config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-29 19:12:33 -03:00
chao an
d71e8dacd4
sim/windows: add more net configs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-26 00:14:49 +09:00
liangchaozhong
62cbd72149
remove access on /dev/usrsock in up_usrsock.c
...
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-09-10 13:08:22 +08:00