zouboan
b3ff4ce301
arch/sparc change common file to support SMP
2022-10-28 17:26:24 +09:00
Xiang Xiao
488a56280a
fs: Correct the comment of file_allocate
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 10:12:08 +02:00
Xiang Xiao
604eea453b
fs/vfs: Let caller control whether add the reference count of inode in file_allocate
...
to simplify the caller in some special case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 10:12:08 +02:00
Xiang Xiao
4d4bb458da
fs/vfs: Move file_allocate from fs/inode/inode.h to include/nuttx/fs/fs.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 10:12:08 +02:00
Xiang Xiao
4af98af376
fs/vfs: Rename files_allocate to file_allocate
...
align with the intention better
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 10:12:08 +02:00
luoyong1
126ce6428e
sched/semaphore: add the wdog judge before cancel
...
N/A
to avoid entering critical again in wd_cancel when wdog not actived. But when the wdog is actived, may add more judge
2022-10-28 09:34:52 +02:00
Xiang Xiao
1047b65ab5
net: Remove the unused nx_[send|recv]msg
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-28 08:27:29 +02:00
chao an
a8d3286258
net: move device buffer define to common header
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-28 00:32:16 -04:00
Petro Karashchenko
6908b6823c
libs/libc/time: fix regression in clock_calendar2utc
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-28 10:21:05 +08:00
Xiang Xiao
6940ca8677
fs: Remove the duplication umount macro
...
which is already defined in include/sys/mount.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 23:14:25 +02:00
Xiang Xiao
19bded4738
fs: Remove the unused nx_pipe to prefer file_pipe for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 23:14:25 +02:00
Xiang Xiao
fc1efe2c0b
fs: Remove the unused nx_fcntl to prefer file_fcntl for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 23:14:25 +02:00
Xiang Xiao
b22cc1e2b8
fs: Remove the unused nx_dup to prefer file_dup for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 23:14:25 +02:00
Xiang Xiao
cf21319d3a
fs: Remove the unused nx_poll to prefer file_poll for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 23:14:25 +02:00
Xiang Xiao
aa31648c9f
fs: Remove the unused nx_[v]ioctl to prefer file_[v]ioctl for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 23:14:25 +02:00
Alan Carvalho de Assis
06d0dbc927
esp32c3-devkit-rust-1: Remove not needed -msmall-data-limit=0 compilation flag
2022-10-27 23:12:43 +02:00
Alan Carvalho de Assis
09d5919563
esp32c3-devkit: Remove not needed -msmall-data-limit=0 compilation flag
2022-10-27 23:12:43 +02:00
Minh Nguyen
153060d34d
Update errno to match asm-generic
...
Modify some comment.
2022-10-28 02:19:26 +08:00
Lucas Saavedra Vaz
4d164bb995
doc: Add and fix Secure Boot and Flash Encryption section for ESP boards
2022-10-28 01:14:20 +08: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
Gustavo Henrique Nihei
2a20db7697
xtensa: Define COMMON_CTX_REGS for chips without FPU (e.g. ESP32-S2)
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-27 23:28:47 +08:00
Xiang Xiao
05d40eeeff
net: Remove the unused nx_recv[from] to prefer psock_recv[from] for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 16:47:32 +02:00
Xiang Xiao
3e982b6556
net: Remove the unused nx_send to prefer psock_send for kernel
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 16:47:32 +02:00
Petro Karashchenko
fdff92fd19
libs/libc/time: mktime normalize struct tm
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-27 21:22:08 +08:00
ligd
fd07e7b012
openamp: fix rptun don't wait issue when get tx patyload buffer
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-10-27 21:21:35 +08:00
anjiahao
2156a102cf
fix bl602 i2c sem init mistake
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-27 21:21:01 +08:00
liuxuanfu
29be2481e9
drivers/timers/capture: Fix mutual exclusion lock
2022-10-27 19:10:16 +08:00
Gustavo Henrique Nihei
facdd4f2b9
esp32[-s2/-s3/-c3]: Re-sort SPI Flash configs
...
- Reduce "SPI Flash configuration" menu dependency on SPI Flash driver
just to MTD-related configs.
- Move SPI Flash Mode and Frequency configs to SPI Flash configuration
menu.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-27 10:07:40 +08:00
Xiang Xiao
677a907dc8
sched: Pass idle thread environment variables to the child task through copy
...
because if we pass predefined environment variables table explicitly,
the environment variables created by the board code will be lost.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 10:28:05 +09:00
Tiago Medicci Serrano
0bf7afad25
xtensa/esp32: add i2s_mclkfrequency to set master clock on I2S
2022-10-27 00:09:01 +08:00
Tiago Medicci Serrano
b4b0624f6a
drivers/audio: add support for setting I2S's mclk on CS4344 codec
...
Set the mclk frequency on I2S lower half by 1) checking supported
sample rate, data width and mclk multiplier table and 2) setting
this value using the I2S_MCLKFREQUENCY macro. I2S driver may or
may not implement the i2s_mclkfrequency method for setting the
master clock.
2022-10-27 00:09:01 +08:00
Tiago Medicci Serrano
41475e11e0
drivers/audio: fix CS4344 supported sample rates
2022-10-27 00:09:01 +08:00
Tiago Medicci Serrano
6f1fbc29ee
audio/i2s: add i2s_mclkfrequency method to the I2S lower half
...
This method allows the codec driver to set a specific mclk
frequency for the I2S lower half. This provides support to change
it on run time according to the supported master clock frequency
of the audio codec, the sample rate and the data width.
2022-10-27 00:09:01 +08:00
Roberto Bucher
dfcfce24f6
New configuration for CAN bus
2022-10-26 21:56:17 +08:00
Roberto Bucher
bc432118b0
New files for pysimCoder
2022-10-26 21:56:17 +08:00
chao an
b60b48411c
net/ipforward: correct application data offset
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-26 14:33:56 +02:00
nietingting
f361d1cd41
CI: add example to sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-26 10:55:50 +08:00
Karel Kočí
61b1791584
libs/libc: add obstack
2022-10-26 09:11:52 +08:00
Xiang Xiao
739210708a
arch: Replace __builtin_bswapxx with bswapxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-25 20:24:19 -03:00
SPRESENSE
6eb0ef618d
drivers/video/isx019: Use clock function instead of gettimeofday
...
Change to use clock_systime_timespec() to avoid using libc API
from the driver layer.
2022-10-26 03:57:26 +08:00
SPRESENSE
8a0ce3f000
drivers/video/isx019: Fix incorrect JPEG DQT table
2022-10-26 03:57:26 +08:00
SPRESENSE
5e4e8f6809
drivers/video/isx019: Fix white balance control and capability
2022-10-26 03:57:26 +08:00
SPRESENSE
d57324473e
drivers/video/isx019: Increase waiting time for HW initialization
2022-10-26 03:57:26 +08:00
SPRESENSE
254139bcec
drivers/video/isx012: Add missing FAR qualifier
2022-10-26 03:57:26 +08:00
SPRESENSE
e48f8be8c5
drivers/video/isx012: Support clip feature
2022-10-26 03:57:26 +08:00
SPRESENSE
277c8e368b
drivers/video: Update API to dump register for debug
2022-10-26 03:57:26 +08:00
SPRESENSE
1332bdb9a7
drivers/video: Add get frame interval API
2022-10-26 03:57:26 +08:00
Xavier Del Campo
8684814e09
strftime: Add support for the %T specifier
2022-10-26 00:54:59 +08:00
Xavier Del Campo
097faac22f
strftime: Add support for the %R specifier
2022-10-26 00:54:59 +08:00
Andrés Sánchez Pascual
b5052a8475
board/stm32h7: update mcuboot-loader configuration
...
Signed-off-by: Andrés Sánchez Pascual <tito97_sp@hotmail.com>
2022-10-26 00:53:29 +08:00