anjiahao
f403118647
mm:fix typos
...
./mm_heap/mm.h:86:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
86 | FAR strcut tcb_s *tcb; \
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-12-22 20:19:05 +08:00
Ville Juven
3be81e649f
libc/stdio: Flush streams in userspace when process exits
...
This fixes a long standing issue, where the kernel does flushing of file
streams, although it should not handle such streams at all.
2022-12-22 20:16:11 +08:00
Ville Juven
c2fa780ed0
boards/lpc17xx/lpc17_40_symtab: Remove ref. to nxsched_get_streams
...
I don't know how to handle this properly as I don't know what this
symbol table is supposed to do. Most likely the part that uses the
symbol table needs to be patched also...
2022-12-22 20:16:11 +08:00
Ville Juven
2ed51d026c
fs/streams: Move the file streams from the group structure into TLS
...
This is preparation for flushing streams from user space, like it should
be done.
- Move tg_streamlist (group, kernel space) ->
ta_streamlist (TLS, user space)
- Access stream list via tg_info in kernel
- Access stream list via TLS in user space
- Remove / rename nxsched_get_streams -> lib_getstreams
- Remove system call for nxsched_get_streams
2022-12-22 20:16:11 +08:00
yinshengkai
1a8cbc0b99
sched/assert: modify assert message
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-12-22 20:08:27 +08: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
TimJTi
5f7bf743c5
Add LP503x RGB LED driver
...
style corrections
Update lp503x.h
Update lp503x.h
Update lp503x.c
Update lp503x.h
post review changes
2022-12-22 13:39:05 +08:00
Peter van der Perk
7c8f3b4916
LPC17_40 CAN driver SocketCAN enforce TX fifo behaviour
...
Apply suggestions from code review
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-22 11:55:59 +08:00
flyingfish89
035656661e
1
2022-12-22 11:52:00 +08:00
Adam Feuer
e57d0312ca
Update SAMA5D2-XULT entry point
...
- in NuttX 11.x and 12.x the nuttx entry point
for the sama5d2-xult board changed to 0x20008E20
(from 0x2008040).
This change updates defconfigs and the README.txt
to reflect that.
- no code changes
2022-12-22 11:32:28 +08:00
TimJTi
e1b8c02f96
Add SAMA5D2 MCAN support
...
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-21 14:51:57 -03:00
ligd
18beaaa480
sim: remove unused variable in sim_saveusercontext()
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 17:45:32 +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
ligd
ec191d05b6
sim/looper: close interrupt when looper run
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 16:59:56 +09:00
ligd
5744c62443
sim: set timer irq as real timer
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 16:59:56 +09:00
Lee Lup Yuen
64a54d2dfd
arm64/a64: Add driver for Display Engine
...
This PR adds the driver for Display Engine 2.0 on Allwinner A64 SoC. The Display Engine Driver will be called by the upcoming LCD Driver for PINE64 PinePhone.
`arch/arm64/src/a64/Kconfig`: Added the Kconfig option for "A64 Peripheral Selection > DE" (`CONFIG_A64_DE`), which enables the Display Engine Driver
`arch/arm64/src/a64/hardware/a64_memorymap.h`: Added the Base Address for Display Engine
`arch/arm64/src/a64/Make.defs`: Added the Display Engine Driver to the Makefile
`boards/arm64/a64/pinephone/configs/nsh/defconfig`: Removed Scheduler Debug Info (`CONFIG_DEBUG_SCHED_INFO`) from the PinePhone Board Config, because it garbles the Console Output.
`arch/arm64/src/a64/a64_de.c`, `a64_de.h`: Display Engine Driver for Allwinner A64
`platforms/arm/a64/boards/pinephone/index.rst`: Added Display Engine as supported peripheral for PinePhone
2022-12-21 13:17:34 +08:00
Petro Karashchenko
3e36f40130
compiler.h: rename printflike to printf_like
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-21 10:56:45 +08:00
Petro Karashchenko
7f564e0d86
nuttx: add some missing FAR
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-21 10:56:45 +08:00
Petro Karashchenko
b107e4f417
nuttx: unify MIN, MAX and ABS macro definition across the code
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-21 09:31:28 +08:00
pengyiqiang
72fdea5c13
video/fb: initializes the info structure
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-12-21 01:16:55 +02:00
Xiang Xiao
fd0d6a9bf5
compiler.h: Add _ between format|printf|syslog|scanf|strftime and like
...
align with other macro naming style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-21 01:05:19 +02:00
TimJTi
bc9b476d55
Update sam_mcan.c
2022-12-20 19:49:13 -03:00
halyssonJr
cdbb670e5d
Add support to Franzininho board
...
rename files ESP32S2-Franzininho to Franzininho-WiFi and remove some scripts previously tested
2022-12-20 19:47:37 -03:00
ligd
886df37569
sim/fb: remove the lpwork in fb & lcd, merge to looper task
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 01:43:37 +08:00
chao an
e6b37f2b2d
mm/iob: revert "modify iob to support header padding and alignment features"
...
we don't need to implement l2 isolation through io_head, iob offload will use io_offset
-------------------------------------------------------------
Layout of different NICs implementation:
iob_data (aligned by CONFIG_IOB_ALIGNMENT)
|
| io_offset(CONFIG_NET_LL_GUARDSIZE)
| |
-------------------------------------------------
Ethernet | Reserved | ETH_HDRLEN | io_len |
---------------------------------|---------------
8021Q | Reserved | ETH_8021Q_HDRLEN | io_len |
---------------------------------|---------------
ipforward | Reserved | io_len |
-------------------------------------------------
--------------------------------------------------------------------
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-21 01:43:02 +08:00
chao an
6e380c0978
mm/iob: add a helper function to get iob count in chain
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-21 01:40:24 +08:00
wangbowen6
eb884c00e8
minidumpserver: sync the stackdump search string after #7875
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-12-21 01:39:43 +08:00
zouboan
60c0184b76
A64/irq.h: Add irq definition of Allwinner A64 interrupts
2022-12-20 23:34:23 +08:00
zhanghongyu
ba9ef06970
tun: add ioctl cmd TUNGETIFF implement
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-12-20 21:15:50 +08:00
ligd
2dbfd8e798
sim_uart: fix printf error when use irq mode
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-20 18:01:54 +08:00
dongjiuzhu1
eb102a668f
sim/uart: check if txbuffer is not full before uart write
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-20 18:01:54 +08:00
David Sidrane
4fa163ade7
s32k3xx:EDMA fix git count
2022-12-20 18:01:21 +08:00
Peter Bee
2b11fd585f
drivers/video: fix typo
...
Wrong buf used
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-20 17:00:44 +08:00
Peter Bee
9f537d7a3f
sim/video: fix hang when user temporarily blocks
...
host_set_fmt should not return error when EBUSY
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-20 17:00:44 +08:00
Peter Bee
a897fe3005
sim/video: rename dq_buf to dqbuf
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-20 17:00:44 +08:00
jihandong
8e6185f4ad
driver/fb: support linux info.
...
add struct fix_screeninfo and var_screeninfo, and related ioctl,
macro.
Signed-off-by: jihandong <jihandong@xiaomi.com>
2022-12-20 15:54:00 +08:00
David Sidrane
d33475d2d4
s32k3xx:Serial add DMA
2022-12-20 13:28:54 +08:00
ligd
f2de1ce930
sim/alsa: don't let siwtch out when open alsa mixer
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-20 13:28:19 +08:00
ligd
c74627cbec
sim/head: don't let switch out when do poweroff
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-20 13:28:19 +08:00
TimJTi
e6bfaa14ee
SAMA5D2 add Flexcom SPI
...
Flexcom working, DMA not looked at for SAMA5D2
Update sam_flexcom_spi.c
Update sam_flexcom_spi.h
Update sam_config.h
Update hardware/sam_flexcom_spi.h
pkarashchenko reviews
SAMA5 serial and flexcom serial corrections
2022-12-20 12:20:28 +08:00
zhangyuan21
8b5078fc36
sched/semaphore: check sem flags before enable priority inheritance
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-20 11:50:42 +08:00
zhangyuan21
0113865bb0
sched/pthread: Delay pjoininfo allocation time
...
Create pjoininfo until pthread_exit/pthread_canel/pthread_join get called.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-20 10:26:02 +08:00
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