zhuyanlin
96a70b908f
arch:xtena: modify timer interrupt level large to XCHAL_IRQ_LEVEL level.
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-02-01 14:04:44 +08:00
qiaohaijiao1
869d3bfb32
tools/ci/docker/linux/Dockerfile: add libmp3lame-dev:i386
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-02-01 13:29:01 +08:00
wangbowen6
b1948a1631
mm: move preceding to previous free node to reduce the overhead
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2023-02-01 11:14:02 +08:00
wangbowen6
723c6e52e2
mm: reorder the preceding and size and move MM_ALLOC_BIT to size
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2023-02-01 11:14:02 +08: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
qiaohaijiao1
38039df16a
sim/sim_alsa.c: support streaming data when offload playback.
...
Audio offload playback, change data organization from fragmented to
streaming.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-02-01 11:03:36 +08:00
Stuart Ianna
26ac5335e5
litex: Add GPIO driver.
...
GPIO driver with optional ISR support. Allows for multiple GPIO peripherals to be specified at an arbitrary addresses.
2023-02-01 11:02:03 +08:00
Nathan Hartman
fdb149ddb0
Kconfig: Improve help text related to *_SERIALBRK_BSDCOMPAT
...
* arch/arm/src/gd32f4/Kconfig
(GD32F4_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32/Kconfig
(STM32_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32f7/Kconfig
(STM32F7_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32h7/Kconfig
(STM32H7_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32l4/Kconfig
(STM32L4_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32l5/Kconfig
(STM32L5_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32u5/Kconfig
(STM32U5_SERIALBRK_BSDCOMPAT): Improve help text.
* arch/arm/src/stm32wb/Kconfig
(STM32WB_SERIALBRK_BSDCOMPAT): Improve help text.
2023-02-01 10:58:34 +08:00
Nathan Hartman
c65a632788
libc/termios: Fix comment in cfmakeraw docstring.
2023-02-01 09:47:55 +08:00
yinshengkai
64d39a8b7b
Makefile: fix redundant delimiters when using make V=1
...
rm-none-eabi-ar rcs libc.a bin//lib_assert.o bin//lib_builtin_getname.o
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-01-31 15:12:36 -03:00
Lucas Saavedra Vaz
f07885541c
arch/xtensa/esp32: Propagate RTC IRQ status register to lower levels
2023-02-01 00:45:52 +08:00
Xiang Xiao
9f027208d4
fs: Add model field to geometry and mtd_geometry_s
...
the model is very useful to track the device info
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 11:50:28 -03:00
chao an
30aa0ee700
net/devif: correct the judgment condition in devif_send()
...
Regression by:
| commit 7fce145b30
| Author: chao an <anchao@xiaomi.com>
| Date: Mon Jan 30 21:36:39 2023 +0800
|
| net/devif: check the net device before use
|
| Signed-off-by: chao an <anchao@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-31 22:42:58 +08:00
Jukka Laitinen
4f957f8031
arch/arm/src/lc823450/lc823450_i2c.c: Remove extra rounding after MSEC2TIC change to round up
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-31 22:42:29 +08:00
Jukka Laitinen
05eb8541d1
Revert "arch/arm/src/stm32f7/stm32_i2c.c: Round up stm32_i2c_toticks return value"
...
This reverts commit fe6f6870dcc431cecf0fa94187cff05ec040cf47.
2023-01-31 22:42:29 +08:00
Jukka Laitinen
4dd8187afe
include/nuttx/clock.h: Change ?SEC2TICK macros to round up and fix nxstyle errors
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-31 22:42:29 +08:00
Xiang Xiao
3904fd775a
sched: Remove the unused TCB_FLAG_SCHED_OTHER
...
after https://github.com/apache/nuttx/pull/8330
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 16:16:25 +02:00
Ville Juven
da83836da7
drivers/mmcsd: Fix kconfig error regarding MMCSD_IOCSUPPORT
...
Something I noticed in CI:
drivers/mmcsd/Kconfig:32:warning: 'MMCSD_IOCSUPPORT': number is invalid
2023-01-31 13:56:17 +01:00
chao an
7fce145b30
net/devif: check the net device before use
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-31 18:41:50 +08:00
yinshengkai
9c6c9fb0cd
tools/Config.mk: compile with full file path
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-01-31 18:15:59 +08:00
chao an
c3ddb1507b
tools/unix.mk: Pass APPDIR to arch's Makefile
...
make link custom library from apps/staging working
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-31 16:53:33 +08:00
Xiang Xiao
55679aec5f
drivers/camera: Support the private data for imgsensor and imgdata
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 08:04:39 +01:00
David Vosahlik
372fee9412
Added SocketCAN driver implementation to the tiva chip, modified the EK-TC1294XL launchpad board to use the new SocketCAN API
2023-01-31 14:07:23 +08:00
yinshengkai
3f97a87162
tools: add separate flags parameter for COMPILE/COMPILEXX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-01-31 13:42:33 +08:00
dongjiuzhu1
74e032e924
drivers/pipes: fix write busy loop because POLLOUT always ready.
...
the size of pipes buffer +1 as compensate the full indicator
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-01-31 12:45:16 +08:00
Xiang Xiao
004853d6d1
drivers/watchdog: Fix the wrong value of WATCHDOG_AUTOMONITOR_PING_INTERVAL
...
if CONFIG_WATCHDOG_AUTOMONITOR_PING_INTERVAL equals 0, we should set
WATCHDOG_AUTOMONITOR_PING_INTERVAL to CONFIG_WATCHDOG_AUTOMONITOR_TIMEOUT / 2, not 0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-31 11:54:36 +08:00
Huang Qi
570c7587c7
risc-v/Toolchain.defs: Correct indent
2023-01-31 11:19:47 +08:00
Zhe Weng
c9e52cb283
net: Implement shutdown() for local stream socket
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-31 11:15:01 +08:00
Zhe Weng
d3dd349649
net: Implement shutdown() for usrsock
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-31 11:15:01 +08:00
Zhe Weng
8819eeaf15
net: Implement shutdown() interface and tcp shutdown
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-31 11:15:01 +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
lilei19
1d8af7e105
add holder for mutex
...
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-01-31 12:08:05 +09:00
Nathan Hartman
6b89b6f945
Remove executable permissions from source files
...
* arch/arm/src/sama5/sam_flexcom_spi.h,
arch/risc-v/src/mpfs/mpfs_ihc_sbi.c,
drivers/usbdev/adb.c,
libs/libc/math/lib_scalbn.c,
libs/libc/math/lib_scalbnf.c,
net/ipfrag/Make.defs,
net/ipfrag/ipfrag.c,
net/ipfrag/ipfrag.h,
net/ipfrag/ipv4_frag.c,
net/ipfrag/ipv6_frag.c: Remove executable permission.
2023-01-30 20:34:51 -03:00
Nathan Hartman
f63754c4c0
arch/tiva: Remove dead store
...
* arch/arm/src/tiva/common/tiva_can.c:
(tiva_can_initialize): Remove the local variable 'canmod', which was
assigned but never used.
2023-01-31 01:36:09 +08:00
helei8
4b4004b874
drivers/mmcsd: Add MMC_IOC_CMD ioctl
...
Signed-off-by: helei8 <helei8@xiaomi.com>
2023-01-30 14:09:23 -03:00
Zhe Weng
ff68d9ac04
net/tun: Change TUN/TAP to use IOB
...
TUN/TAP is not working after IOB offload, try to fix.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-31 00:39:15 +08:00
Zhe Weng
be89bcc044
mm/iob: Support negative offset when copyin/out.
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-31 00:39:15 +08:00
chao an
0f35ad29a8
arm/unwinder: set default unwinder type to arm exidx/extab
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-31 00:38:42 +08:00
Zhe Weng
af0a35f9ae
net/slip: Change SLIP to use IOB
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-01-30 23:42:01 +08:00
wangxuedong
ba016eb5eb
libc/stdio: fix rounding errors for fractional values less than 1
...
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-01-30 23:39:56 +08:00
chao an
fa63da22ae
libs/netdb: add sanity check to avoid null pointer reference
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-30 23:37:29 +08:00
anjiahao
6f2f62f4ce
watchdog:fix Kconfig typo
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-01-30 15:49:50 +01:00
Ville Juven
0bebb94923
icicle/configs: Update some configs
...
- Remove the annoying color terminal for nsh target
- Add SHMFS for nsh and pnsh
- Increase stack user and kernel sizes for kernel mode
2023-01-30 21:57:25 +08:00
yinshengkai
2466c07aa3
libc/stream: fix syslogstream_addstring length error
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-01-30 14:27:04 +01:00
Jiuzhu Dong
17f410e647
arch/sim: add toolchain library libm
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2023-01-30 20:32:14 +08:00
Fotis Panagiotopoulos
2fe8f37001
Fixed non-UTF characters.
2023-01-30 20:08:03 +08: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
chao an
2ffe564fa2
fs/procfs: sort level0 process id
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-30 14:57:43 +08:00
Masayuki Ishikawa
2ae8a9600f
boards: imxrt1060-evk: Fix iperf performance for netnsh
...
Summary:
- Before: iperf -s 94Mbps, iperf -c 0Mbps
- After : iperf -s 94Mbps, iperf -c 93Mbps
Impact:
- Should be none
Testing:
- Tested with iperf and telnet
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-01-30 13:25:15 +08:00
Masayuki Ishikawa
7af531f677
boards: sabre-6quad: Add netnsh_wb
...
Summary:
- This commits adds netnsh_wb which enables write buffers.
Impact:
- None
Testing:
- Tested with iperf (-s 205Mbps, -c 176Mbps) on QEMU-7.1
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-01-30 13:25:15 +08:00