Xiang Xiao
4ea0c905e6
ci: Install LLVM Embedded Toolchain for Arm
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-22 17:04:21 +08:00
Tiago Medicci Serrano
b16ed003f1
documentation: add documentation for ESP32-S2/S3/C3
...
Add documentation for ESP32-S2 and ESP32-S2 Saola 1 board
Add links to already existing ESP32-S3 documentation
Add links to already existing ESP32-C3 documentation
2022-10-22 15:18:35 +08:00
Tiago Medicci Serrano
1d0a37cd10
xtensa/esp32: fix if define convention to use parentheses
2022-10-22 15:18:35 +08:00
Tiago Medicci Serrano
ebf9af662e
xtensa/esp32s2: add support for the CS4344 audio codec
...
Include i2schar and audio defconfigs for ESP32-S2-Saola-1 board.
2022-10-22 15:18:35 +08:00
Tiago Medicci Serrano
16b99ee013
xtensa/esp32s2: add initial support for I2S
...
Add initial support for the I2S peripheral on ESP32S2.
Add I2S character driver and generic I2S audio driver.
Include i2schar defconfig for ESP32-S2-Saola-1 board.
2022-10-22 15:18:35 +08:00
anjiahao
1c416b1712
Documentation:add nxmutex Description
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 14:50:48 +08:00
anjiahao
577e550698
libc/semaphore:sem_init change defult protocol
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 14:50:48 +08:00
anjiahao
e1ca516488
use SEM_INITIALIZER inside of NXSEM_INITIALIZER
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 14:50:48 +08:00
anjiahao
5724c6b2e4
sem:remove sem default protocl
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 14:50:48 +08:00
chao an
205c8934a3
sched/msgq: add support of System V message queue
...
https://man.openbsd.org/msgget.2
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-22 12:58:11 +08:00
chao an
96c3debe6a
sched/mqueue: decoupling condition member to common prologue
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-22 12:58:11 +08:00
zouboan
39a2acb821
AUTHORS: Add myself into authors list
2022-10-22 12:05:01 +08:00
Xiang Xiao
b42b8c9275
Revert "Revert "tools/ci: patch for gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022""
...
This reverts commit 8150534a2f
.
2022-10-22 09:12:18 +08:00
AuroraRAS
280aaa7b1d
Implement Interface method for ESP32C3: go_setpintype
...
Signed-off-by: AuroraRAS <chplee@gmail.com>
2022-10-22 09:01:37 +08:00
Alin Jerpelea
06c8e43df9
drivers: modem: update altair modem
...
update Altair modem with the ALT1250 implementation
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-22 09:00:32 +08:00
raiden00pl
2b0ce033d7
net/can/can_xxxsockopt.c: correct the code alignment
2022-10-21 16:24:13 -03:00
Michael Jung
ec3805721c
armv8-m: Fix MPU Region Limit Address config
...
On armv8-m the MPU region limits are inclusive. Thus, we must substract
one byte of size from (base + limit).
Signed-off-by: Michael Jung <michael.jung@secore.ly>
2022-10-21 16:23:49 -03:00
Michael Jung
d4cbb4f5b8
armv8-m: Fix MPU Attribute Indirection reg offsets
...
Both MPU_MAIR0 and MPU_MAIR1 were off by 0x10.
Signed-off-by: Michael Jung <michael.jung@secore.ly>
2022-10-21 16:23:49 -03:00
zhangyuan21
16b6d365e9
fs/procfs: check task status before get group info
...
When ps cmd is invoked during the task exit process, the group information of the task may be deleted.
So need check the task flag before get the task group information.
2022-10-21 18:47:58 +08:00
raiden00pl
36ae5316b7
include/nuttx/can.h: make error definitions compatible with Linux
2022-10-21 18:47:29 +08:00
zhanghongyu
2a6a869962
tcp: Update conn laddr after select device
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 18:47:13 +08:00
Zhe Weng
4ac44bc8b5
arch/sim: fix MTU mismatch on TAP device in host route mode
...
In host route mode (bridge mode disabled), the d_pktsize of TAP device is not initialized and will be set to CONFIG_NET_ETH_PKTSIZE in netdev_register, while the MTU on host side keeps at 1500. Input packets larger than CONFIG_NET_ETH_PKTSIZE will be dropped because 'IP packet shorter than length in IP header'.
This patch fix this issue by reading MTU from host side and set as d_pktsize, just the same as what is done in bridge mode.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2022-10-21 16:57:36 +08:00
zhanghongyu
ae3e1d8ec5
setsockopt: Change return errno to EFAULT when value is NULL
...
behavior alignment to Linux for some testsuite
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:57:20 +08:00
zhanghongyu
dc577b66e4
psock_socket: Add type field check
...
behavior alignment to Linux
Return EINVAL when type field include nonsupport bit
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:57:20 +08:00
zhanghongyu
2be529121a
socketpair: Add SOCK_NONBLOCK support into type field
...
behavior alignment to Linux
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:57:20 +08:00
zhanghongyu
85ffa4bcf3
inet_sockif: errno alignment to Linux
...
cunittest error case: protocol invalid need return 123(EPROTONOSUPPORT)
now return 106(EAFNOSUPPORT)
inet_setup will check type ande protocol
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:57:20 +08:00
zhanghongyu
6b955b0ef0
inet_bind: errno alignment to Linux
...
cunittest error case: addr length is short.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:57:20 +08:00
chao an
d6b441f141
tools/ci: patch for docker gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Fix Wrong Newlib version strings, error when stdlib.h is included
Reference:
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 09:30:36 +02:00
nietingting
8438396f33
ci: add qemu run support
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-21 14:57:43 +08:00
chao an
3f14efa033
wireless/bcm43xxx: Add missing FAR qualifier to bcmf_driver
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
chao.an
d27129bc35
wireless/bcm43xxx: discard auth event if netdev down
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
chao an
d861c7bfd9
wireless/bcm43xxx: subscribe only to the events we need
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
chao.an
1935783392
wireless/bcm43xxx: skip WEP privacy
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
chao.an
38534e06dd
wireless/bcm43xxx: skip bad channel bss
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
chao an
4fe321b6fb
wireless/bcm43xxx: correct auth status if PSK is invaild
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
chao.an
41c86c526a
wireless/bcm43xxx: only report PSK ssid by scan filter
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-21 14:38:45 +08:00
xiangdong6
924c3d8b5f
arch/armv7-r: Fix armclang build warning: L6306W
...
When a function is known to preserve eight-byte alignment of the stack, armclang assigns the build
attribute Tag_ABI_align_preserved to that function. However, the armclang integrated assembler does
not automatically assign this attribute to assembly code.
Signed-off-by: xiangdong6 <xiangdong6@xiaomi.com>
2022-10-21 13:58:23 +08:00
Gustavo Henrique Nihei
ae8ea29379
xtensa: Save SCOMPARE1 on context switches
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-21 11:10:51 +08:00
Xiang Xiao
942513cd37
time: Typedef time_t to int64_t if CONFIG_SYSTEM_TIME64 is defined
...
to handle 2038 problem correctly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-20 22:17:52 +02:00
Xiang Xiao
1e6a8f56d3
sched/spawn: Fix the minor typo error
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-20 21:51:40 +02:00
SPRESENSE
62c98d4187
boards: cxd56xx: Remove unnecessary i2c uninitialize process
...
Remove unnecessary i2c uninitialize process to fix an issue that
i2c tool does not work well.
2022-10-20 21:49:07 +02:00
SPRESENSE
0d87694024
arch: cxd56xx: Fix duplicate definitions in battery_ioctl.h
...
Fix duplicate definitions of arch/arm/include/cxd56xx/battery_ioctl.h
with include/nuttx/power/battery_ioctl.h.
2022-10-20 21:49:07 +02:00
SPRESENSE
2060f7be60
arch: cxd56xx: hostif: Remove -Wformat-truncation warnings
...
Remove -Wformat-truncation warnings in cxd56_hostif.c.
2022-10-20 21:49:07 +02:00
SPRESENSE
52cbfcf3bd
arch: cxd56xx: Remove -Wmissing-braces warning
...
Remove -Wmissing-braces warning in cxd56_cpu1signal.c.
2022-10-20 21:49:07 +02:00
SPRESENSE
d3ed469f00
arch: cxd56xx: Fix compile warning in cxd56_pwm.c
2022-10-20 21:49:07 +02:00
Javier Casas
663bf4d968
Add support for stm32h7b3xx MCU's flash
2022-10-21 01:37:23 +08:00
nietingting
81ff16c675
install qemu-system-misc in dockerw
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-20 17:44:22 +08:00
Alan Carvalho de Assis
11ca921b71
esp32s2-saola-1: Add SPI example using max6675
2022-10-20 10:11:26 +08:00
Alan Carvalho de Assis
0e4c2fed93
esp32s2: Add DMA support to SPI
2022-10-20 10:11:26 +08:00
Alan Carvalho de Assis
a0a7375911
Fix esp32s2_spi.h offset
2022-10-20 10:11:26 +08:00