David Sidrane
e89e7eab8d
s32k1xx:serial:Fix selection of RTS to iflow
2022-12-20 01:51:10 +08:00
David Sidrane
033adeced4
imxrt:serial:Fix selection of RTS to iflow
2022-12-20 01:50:57 +08:00
anjiahao
70791af8e2
procmeminfo:support memdump can show specific task
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-12-19 20:43:33 +08:00
Lee Lup Yuen
377477a948
arm64/a64: Add driver for TCON0
...
This PR adds the driver for TCON0 (Timing Controller) on Allwinner A64 SoC. The TCON0 Driver will be used by the upcoming Display Driver for PINE64 PinePhone.
`arch/arm64/src/a64/Kconfig`: Added the Kconfig option for "A64 Peripheral Selection > TCON0" (`CONFIG_A64_TCON0`), which enables the TCON0 Driver
`arch/arm64/src/a64/hardware/a64_memorymap.h`: Added the Base Address for TCON0
`arch/arm64/src/a64/Make.defs`: Added the TCON0 Driver to the Makefile
`arch/arm64/src/a64/a64_tcon0.c`, `a64_tcon0.h`: TCON0 Driver for Allwinner A64
`platforms/arm/a64/boards/pinephone/index.rst`: Added TCON0 as supported peripheral for PinePhone
2022-12-19 20:10:54 +08:00
Peter van der Perk
b5fd0b2381
S32K3XX MR-CANHUBK3 Add protected knsh support
2022-12-19 20:10:34 +08:00
Alan Carvalho de Assis
9eea82a61d
Doc: Explain how to rebase and squash PR's commits
2022-12-19 10:31:12 +08:00
Xiang Xiao
4d2794250f
net/local: Support the abstract path
...
https://man7.org/linux/man-pages/man7/unix.7.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-18 20:12:30 +02:00
Xiang Xiao
6b36ba0b6e
net/local: Remove LOCAL_TYPE_UNTYPED
...
let's represent the unbound local socket as LOCAL_TYPE_UNNAMED
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-18 20:12:30 +02:00
Xiang Xiao
aea8f8175a
net/local: Return -EINVAL if the address length passed to local_bind is too small
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-18 20:12:30 +02:00
chao an
6f15b32e34
net/tcp: rename NET_TCP_RECV_CONTIG to NET_TCP_RECV_PACK
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-19 01:32:05 +08:00
chao an
4f239e145e
Revert "mm/iob/contig: enhance iob contig to support iob chain"
...
This reverts commit 56a4e90dc4
.
2022-12-19 01:32:05 +08:00
chao an
794adc5814
net/tcp: contig received data to reducing iob consumption
...
Fragmentation of network data will intensify iob consumption, if
the device receives a message storm of fragmented packets, the iob
cache will not be effectively used, this is not allowed on iot devices
since the resources of such devices are limited. Of course, this
also takes some disadvantages: data needs to be copied.
This option will brings some balance on resource-constrained devices,
enable this config to reduce the consumption of iob, the received iob
buffers will be merged into the contiguous iob chain.
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-18 21:15:47 +08:00
chao an
56a4e90dc4
mm/iob/contig: enhance iob contig to support iob chain
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-18 21:15:47 +08:00
Xiang Xiao
da9a2b9770
compiler.h: Add fopen_like and popen_like macro
...
and apply them to the related functions
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-18 09:47:12 -03:00
Xiang Xiao
e1f45857e3
compiler.h: Add malloc_like? and realloc_like macro
...
and apply them to the related functions
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-18 09:47:12 -03:00
Xiang Xiao
6e66603da5
arch/sim: Disable interrupt in up_interrupt_context for SMP
...
like other arch to fix the race condition
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 18:03:27 +02:00
Xiang Xiao
07758d9b58
arch/sim: Rename sim_interruptcontext.c to sim_doirq.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 18:03:27 +02:00
Xiang Xiao
1905a02ddf
arch/sim: Change up_interrupt_context to inline function like arm
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 18:03:27 +02:00
Xiang Xiao
b6f1be8e03
arch/sim: Move up_nputs to sim_uart.c
...
and remove arch/sim/src/sim/sim_nputs.c
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 18:03:27 +02:00
Xiang Xiao
86c692f7a7
arch/sim: Move sim_macho_init.c to posix folder
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 18:03:27 +02:00
Xiang Xiao
87f3681629
arch/sim: Remove arch/sim/src/sim/sim_romgetc.c
...
since it's no sense to support it on sim platform
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 18:03:27 +02:00
Xiang Xiao
243983328a
drivers/video: Correct the code style
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
Xiang Xiao
21e35362a3
drivers/video: Add stop_capture function
...
and ensure imgsensor_ops_s::stop_capture get called
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
Xiang Xiao
eb4dabaac6
drivers/video: Check th size for IMGSENSOR_CTRL_TYPE_U[8|16|32]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
Xiang Xiao
4773eec916
drivers/video: Move the clip operation from video_s_selection to validate_frame_setting
...
to ensure the validation is same for VIDIOC_S_SELECTION, VIDIOC_S_PARM and VIDIOC_S_FMT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
Xiang Xiao
10d79195ba
drivers/video: Replace malloc/realloc/free with kmm_[malloc/realloc/free]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
Xiang Xiao
ec1cbed9b0
drivers/video: Zero all fields in an output struct
...
and don't zero fields which is used as input
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
Xiang Xiao
5eb8189c26
drivers/video: Remove validate_frame_setting NULL check from video_[s|try]_fmt
...
since the check is already done in validate_frame_setting
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 20:43:07 +08:00
yinshengkai
6f66c0ea0b
drivers/note: sched_note support mulit-channel
...
call callbacks for different channels in sched_note_*
noteram channel is enabled by default
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-12-17 19:41:21 +08:00
GD32-MCU
659bd495b0
Add i2c driver for gd32f450 MCU
2022-12-17 17:12:26 +08:00
zhangyuan21
3462061624
task: show thread main entry when display thread name
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-17 14:53:59 +08:00
zhangyuan21
3d2ffed8ae
Revert "pthread: Change the default name from <pthread> to <0xyyyyyyyy>"
...
This reverts commit 092d23b25d
.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-17 14:53:59 +08:00
Gustavo Henrique Nihei
aac0228c74
ci: Force reinstall of python tools to workaround GitHub cache issue
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-17 14:02:20 +08:00
Petro Karashchenko
cc0ee12092
arch/arm/samv7: add ARCH_RAMVECTORS support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-17 13:57:03 +08:00
Petro Karashchenko
e28e4fd320
arch/arm: fix typos in start files
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-17 13:56:17 +08:00
zhangyuan21
37789e75aa
task_setup: set sigprocmask directly to improve performance
...
signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-17 13:52:15 +08:00
TimJTi
ad33ccfa53
SAMA5 serial and flexcom serial corrections
2022-12-17 01:09:43 +02:00
Xiang Xiao
7e75c475d4
arch/sim: Move '\n' process from tty_send to up_putc
...
to avoid this special process happen twice
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 01:04:15 +02:00
Xiang Xiao
4b3ea5b052
arch/sim: Don't need check isconsole in tty_setup and tty_shutdown
...
since serial framework never call these callbacks in case of console
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 01:04:15 +02:00
Xiang Xiao
9cc608e4c4
drivers/serial: Don't call uart_shutdown if the serial work as a console
...
since uart_setup is skip at line 556 for the console device
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-17 01:04:15 +02:00
Xiang Xiao
d5689e070b
net/arp: Remove nuttx/net/arp.h
...
1.move ARPHRD_ETHER to netinet/arp.h
1.move arp_entry_s to net/arp/arp.h
2.move arp_input to nuttx/net/netdev.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-16 22:10:59 +02:00
zhangyuan21
453a1a7332
arch: move stack and task dump to common code
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-17 01:59:35 +08:00
Gustavo Henrique Nihei
739aca095a
risc-v/esp32c3: Prevent double initialization of SHA peripheral
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-16 16:19:47 +02:00
Gustavo Henrique Nihei
7114cc2978
risc-v/esp32c3: Revert aes_cypher name change introduced in #6920
...
"aes_cypher" is a function from NuttX crypto, so better use instead of
defining a new interface in the driver.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-16 16:19:47 +02:00
zhangyuan21
632d87ee71
arch: remove up_release_pending function
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-16 21:29:57 +08:00
Masayuki Ishikawa
548c417858
boards: sabre-6quad: Improve iperf performance
...
Summary:
- This commit improves iperf performance
- Also, adjusts CONFIG_IDLETHREAD_STACKSIZE
Impact:
- None
Testing:
- Tested with QEMU-7.1
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-12-16 09:49:11 -03:00
Peter van der Perk
19ca5ecbb0
Fix S32K1XX PM which was broken by #7869
2022-12-16 20:37:47 +08:00
Xiang Xiao
06842c824a
sched/note: Change sched_note_[begin|end] to macro
...
improve the speed
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-16 12:20:53 +02:00
yinshengkai
552cf4b549
merge sched_note_spinxx into sched_note_spincommon
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-12-16 17:03:53 +08:00
Peter Bee
aeed8f5d26
include/nuttx/video: remove validate_buf
...
Removing validate_buf since it's only locally called in driver
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-16 17:03:35 +08:00