Commit graph

1089 commits

Author SHA1 Message Date
chao.an
e8ce4f7f20 sim/remoteproc: boot the usrsock at startup
Change-Id: I918eb2256f53d45a8e9b495db2478b70a6b81b97
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-20 00:25:04 +08:00
zhouliang3
4735c430f0 nuttx/wamr: WAMR configuration based on NSH added
N/A

Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
Change-Id: Id17d3ae72142d83bb8c1f7a0186c66d4e66b52cf
2021-03-19 12:44:29 +08:00
Jiuzhu Dong
7a6a1c1f42 fs: allocate file/socket dynamically
MIRTOS-273

Change-Id: I8aea63eaf0275f47f21fc8d5482b51ffecd5c906
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 21:15:26 +08:00
Jiuzhu Dong
d07669e2ed fs: delete NFILE_DESCRIPTORS for allocating dynamically
N/A

Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 21:15:04 +08:00
ligd
1da573d2b0 boards/romfs: fix romfs folder size increase when append-compile rcS
Change-Id: I29b2a745d61147da6dfa9dfc08ddc81aabecf507
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-16 18:16:35 +08:00
Jiuzhu Dong
e966c30cb7 rpserver/rpproxy: support set/get rtc time by rpmsg
N/A

Change-Id: Ib223fd85f7862241bc3c2dd897b3364d7b0fede3
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-16 15:16:16 +08:00
mage1
2053e3a596 mm: add heap policy and anta logic to support mm debug on sim platform
since atan tool will enhance memory debug operation.

Change-Id: Ic953755faff156832e84b6a764452751dc14f0e3
2021-03-12 23:30:59 +08:00
ligd
b8acb6f4c3 boards/sim/rcS: hostfs mount to server if CONFIG_FS_HOSTFS_RPMSG=y
Change-Id: I90758f4e4fcf6ae4f802da80e4b17a287e74c7c0
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-12 22:39:43 +08:00
zhouliang3
e5281760f5 nuttx/wamr: Add the most basic configuration of WAMR to the sim
N/A

Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
Change-Id: I4ff67816eaa6e15232d1b375c86e2b7559c789aa
2021-03-12 16:56:26 +08:00
Xiang Xiao
05abfac89b mm/heap: Move semaphore related declaration to private header
since other subsystem doesn't need call these function anymore

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Idfb217c412db62d9f17f427310b75bb78785dc50
2021-03-10 21:13:56 +08:00
丁欣童
c52a65890b drivers/sensor: fakesensor support batch.
N/A

Change-Id: I8377e359ceb111519c4da7d84c2e0dc3b7234ad3
Signed-off-by: 丁欣童 <dingxintong@xiaomi.com>
2021-03-08 16:02:19 +08:00
chao.an
92baf97625 sim: add fluoride config into etc
Change-Id: I08958d352b0e2f85524fac5599e6bb8be7acd240
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-05 22:35:38 +08:00
dongjiuzhu1
3615d34665 net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
N/A

Change-Id: I85c3fdb651fbe5e36540747be92ee75d652f984d
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-03 22:24:42 +08:00
chao.an
9c946e2af6 make/archive: replace the dependency to preprequisite list
Change-Id: Id63f3cd32906461a54cb016ef8078d4d922845e2
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-01 21:10:15 +08:00
liuhaitao
63829c6895 Revert "net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS"
This reverts commit a0be36d9c2.
2021-02-26 10:24:26 +08:00
Jiuzhu Dong
a0be36d9c2 net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
N/A

Change-Id: I7d10ec460c351e4fbcdc19b3a8284dcb77073722
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-25 16:53:55 +08:00
Peter Bee
ad5c34bde1 boards/sim: add delay to allow kvdbd fully startup
N/A

This allows some persist.*.disable properties to work correctly.

Change-Id: Ie81f0d6da04b998175475be56b694768f8b2235b
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-02-25 11:54:02 +08:00
Peter Bee
3cc8acd454 boards/sim: add kvdb server start on boot
N/A

Works with kvdb server version

Change-Id: I763b39e80795201adb0138f3287e63c056d859fe
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-02-20 16:11:37 +08:00
Jiuzhu Dong
fc2b0eb037 multi-uorb test config
N/A

Change-Id: Ie43cbe28d87e9482dcd55ef23585b7865a095b4c
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-18 09:42:08 +08:00
丁欣童
4fa2a5b4d1 Add fakesensor driver.
N/A

This driver can read data from csv file.

Change-Id: Ibf7af0553441b5c05a4a4f3e6ed4786472771be1
Signed-off-by: 丁欣童 <dingxintong@xiaomi.com>
2021-02-07 17:17:23 +08:00
Xu Xingliang
245112dcdf Update symbol link to miwear/configs.
N/A

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Change-Id: I05b76dd0986d59cde22ba4e89596054586cfbb72
2021-02-02 15:05:08 +08:00
Jiuzhu Dong
2186b3b560 board/sim: Don't Exit immediately if command abnormal exits
N/A

Change-Id: I3b62fa4300d8d38896fce80021ba2cbcb79967f8
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-01-27 17:40:10 +08:00
chao.an
ac9251049b sim/init.d: enable fluoride
Change-Id: I91c1fb4eb9bd44bf33388383ee5a2f0136db6ab2
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-21 22:35:17 +08:00
chao.an
96267fe88c wireless/bluetooth: add BT/BLE dual mode bridge driver
Change-Id: I692228fda27df1a4249f11474ff50a1049becf4b
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-14 23:30:48 +08:00
chao.an
d4947c38eb sim/Make.defs: remove libusb dependent
Change-Id: Iba9b6ea04597e7e52514dcff7ddc7cbe38488e25
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-14 14:47:53 +08:00
Xu Xingliang
b49648663a Added miwear defconfig
N/A

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Change-Id: Iaa61b28116db9898f5ba3d027553d4e4786b3516
2021-01-06 10:44:31 +08:00
danguanghua
a418dc5dc3 arch/sim: enable nxlooper
N/A

Change-Id: Ib8b98e90fa05b035e88dea000818f0f745af6b10
Signed-off-by: danguanghua <danguanghua@xiaomi.com>
2020-12-31 16:47:09 +08:00
chao.an
330253101c sim/hcitty: add hcitty adapter
Change-Id: I5abacce7aced5f394f8b1efe83190840bed0b03e
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-30 19:53:35 +08:00
liuhaitao
211176f930 sim/mirtos: replace mirtos configs symlink to vendor/sim/configs
N/A

So to make nuttx git history more clean.

Change-Id: Id9acb38b43f4e4586b53cb91319b3e7a14599511
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-12-11 10:23:53 +08:00
pengyiqiang
a8f81baa5d sim/mirtos: enable watchx
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Change-Id: I7516287eff6d610ef5a667cef5e275370d061473
2020-12-11 00:00:20 +08:00
chao.an
098efd4949 sim/libusb: add fluoride libusb dependance
Change-Id: I4a99f65c2af67c64adb2f501a02a467b88ab9588
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-07 15:03:22 +08:00
ligd
fe996fc69c socket_rpmsg: add socket rpmsg support
N/A

Change-Id: I1e18a0b3d643e5b74b86624ef245f19ef616bc61
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-12-04 20:36:24 +08:00
paopao
98984a59f3 [test] enable vela fs test
N/A

Change-Id: Ifea113dadfee3c37ee9329febf69f9d6932f1802
Signed-off-by: paopao <v-cuixiaoling@xiaomi.com>
2020-12-03 14:10:40 +08:00
malan
4802a011d6 mirtos_test/defconfig: add the configs about sensor
N/A

Change-Id: I693740b86190a41d8094b029c6ade4e286e8a6c2
Signed-off-by: malan <malan3@xiaomi.com>
2020-12-02 08:52:22 +08:00
nietingting
2e05e2c27a [sim] enable uorb and sensor_test component on sim
N/A

Change-Id: I1b0570b05251d1d97dbeb85f52641341e58b3780
Signed-off-by: nietingting <nietingting@xiaomi.com>
2020-11-30 17:49:03 +08:00
chao.an
90dc86655c style/Makefile: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-30 11:20:05 +08:00
liuhaitao
c24f178af7 Merge remote-tracking branch 'mirtos/master' into dev
Change-Id: I85394b24ce27d20ecbb130b85d844ab540507031
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-11-25 14:44:27 +08:00
YAMAMOTO Takashi
5d7af56982 boards/arm/stm32/stm32butterfly2/src/stm32_spi.c: Fix syslog formats 2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
99c416eedf boards/arm/stm32/stm32butterfly2/src/stm32_spi.c: Appease nxstyle 2020-11-22 19:01:05 -08:00
Matias N
d5b6ec450f Parallelize depend file generation 2020-11-22 09:02:59 -03:00
Brennan Ashton
2df6547d50 board: Add network configuration to nucleo-h743zi
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-22 01:47:13 -08:00
Brennan Ashton
87d8e5dda2 board: nucleo-h743zi USB Host fixups 2020-11-22 00:28:49 -08:00
KernelGuruMeditation
dcb3fd11ea Add proper default config file 2020-11-22 00:28:49 -08:00
KernelGuruMeditation
1a53a2f882 Fix code style 2020-11-22 00:28:49 -08:00
KernelGuruMeditation
c9e40ede2d Fix of the OTG FS HOST for nucleo-h743zi 2020-11-22 00:28:49 -08:00
Brennan Ashton
a0112eee4f stm32h7: Bug where more than CONFIG_MM_REGIONS would be allocated 2020-11-21 19:38:05 -08:00
Juha Niskanen
e9bd306265 boards/arm/stm32/stm32ldiscovery: modernize board init little bit, userleds and buttons like for other boards
Also fix typo in Kconfig
Update some obsolete comments
nxstyle changes

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-21 19:23:11 +01:00
Masayuki Ishikawa
afc8eadf5a boards: lc823450-xgevk: Add CONFIG_USBDEV_DMA=y to rndis/defconfig
Summary:
- This commit adds CONFIG_USBDEV_DMA=y to rndis/defconfig

Impact:
- lc823450-xgevk:rndis only

Testing:
- Tested with ping, telnet

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-11-21 11:34:23 -03:00
YAMAMOTO Takashi
5df47f2828 boards/arm/stm32h7/nucleo-h743zi/src/stm32_ssd1306.c: Fix a syslog format 2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
3415f08b67 boards/arm/stm32/stm32butterfly2/src/stm32_boot.c: Fix a syslog format 2020-11-20 22:22:53 -08:00