ligd
bb281eedfa
cache: add up_get_xcache_linesize() support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-03-20 17:17:22 +08:00
Xiang Xiao
673a4aabf5
arch: Set the default value of ARCH for x86_64
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-20 09:16:44 +01:00
Lwazi Dube
f5575b1b85
boards/sama5d3-xplained: Add reboot support.
...
The peripheral reset flag was added to speed up the reboot.
Rebooting takes too long (15 seconds) if this flag is not set.
2023-03-20 09:13:37 +01:00
Hiroki Noda
cc2b0e2594
Documentation/quickstart: update link for USBIP in WSL2
2023-03-20 08:58:14 +01:00
Xiang Xiao
e7090022a0
drivers/serial: Fix some typo error report in https://github.com/apache/nuttx/pull/8843
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-20 08:08:04 +01:00
Xiang Xiao
75cf216861
sim/adb: Enable CONFIG_NSH_CONSOLE_LOGIN
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-19 14:54:59 -06:00
Xiang Xiao
d9a8d5f2ee
usb/cdcacm: Remove the process for tc_iflag, tc_oflag and tc_lflag
...
since the common code in serial.c already handle them correctly:
https://github.com/apache/nuttx/blob/master/drivers/serial/serial.c#L1556-L1601
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-19 14:54:59 -06:00
Xiang Xiao
b63994b7f7
drivers/serial: Always support c_oflag, c_iflag and c_lflag in termios
...
CONFIG_SERIAL_TERMIOS only decide whether to support c_cflag field since
many terminal application need the first three fields to work correctly.
For more information please reference:
https://www.mail-archive.com/dev@nuttx.apache.org/msg09321.html
before this change(olimexino-stm32:tiny):
text data bss dec hex filename
34884 328 1768 36980 9074 nuttx
after this change:
text data bss dec hex filename
35052 340 1768 37160 9128 nuttx
delta
text data bss dec hex filename
168 12 0 180 b4 nuttx
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-19 14:54:59 -06:00
zhangyuan21
cf56e4113a
arch: remove unnecessary sem_setprotocol code
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-17 16:53:19 -03:00
Gustavo Henrique Nihei
c44d55c70c
risc-v/espressif: Fix bootloader and app potential IRAM overlap
...
Related to a recent fix from esp-idf:
0fb0be3817
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-17 16:51:52 -03:00
Gustavo Henrique Nihei
d0679af1d8
risc-v/espressif: Decouple irom/drom lengths from External Flash size
...
The length of the IROM and DROM segments should be related to the extent
of the address space, and not be limited to the capacity of the External
Flash device.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-17 16:51:52 -03:00
Gustavo Henrique Nihei
e205d790ee
risc-v/espressif: Fix inconsistencies in IRQ interface documentation
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-17 16:51:52 -03:00
zhanghongyu
ec2b74df77
icmpv6: add RDNSS field support for send route advertise
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-03-17 16:50:37 -03:00
zhanghongyu
d9e009cb46
icmpv6: add route advertise RDNSS field handle when icmpv6_input
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-03-17 16:50:37 -03:00
dongjiuzhu1
baa10ee047
sim/uart_ioctl: return -ENOTTY for cmd which don't support
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-03-17 11:48:58 -03:00
Tiago Medicci Serrano
7b807a8540
esp32-esp32c3/wifi: remove naming inconsistencies
...
* Remove the 'COEXISTENCE' suffix from Wi-Fi's STA + SoftAP mode.
Coexistence usually refers to Wi-Fi + BLE, instead of Wi-Fi's
operation mode;
* Remove commented debug code;
* Remove outdate function descriptions;
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
af45eced2b
docs/esp32s3: add documentation for Wi-Fi (STA + SoftAP)
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
0ca7ede228
esp32s3/wifi: fix ability to connect to open networks
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
8ac74e5540
esp32s3/wifi: fix driver parameter setting only when needed
2023-03-16 19:07:25 +01:00
Tiago Medicci Serrano
d4b11a960f
esp32s3/wifi: add support to softAP (softAP and softAP + STA mode)
2023-03-16 19:07:25 +01:00
zhanghongyu
9a28cd2000
tun: fix the access address is incorrect
...
correct eth_hdr address and reset d_iob to NULL after netdev_iob_prepare
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-03-15 22:34:59 +01:00
raiden00pl
af21bb4889
boards/nrf52840-dk: add ostest_tickless configuration
2023-03-15 22:34:07 +01:00
raiden00pl
405f6a5d37
boards/nrf52832-dk: add ostest_tickless configuration
2023-03-15 22:34:07 +01:00
raiden00pl
0976cddd03
arch/nrf52/nrf52_tickless_rtc.c: fix tickless operations - ostest fail without this change
2023-03-15 22:34:07 +01:00
raiden00pl
33b19e967c
arch/nrf52/nrf52_tickless_rtc.c: check configuration
2023-03-15 22:34:07 +01:00
raiden00pl
38631bd560
boards/nrf5340-dk: add PWM configuration
2023-03-15 22:08:27 +01:00
raiden00pl
93ac27ff63
arch/nrf53: add PWM support
2023-03-15 22:08:27 +01:00
raiden00pl
c2abd16dd7
arch/nrf53: add pwm register defintions
2023-03-15 22:08:27 +01:00
zhangyuan21
fd9792b4bd
net: use NXRMUTEX_INITIALIZER for rmutex init
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-15 13:57:08 +01:00
zhangyuan21
443c4c46b0
arch_timer: fixed build issue when enable tickless
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-15 11:52:52 +01:00
Gustavo Henrique Nihei
b864f37613
risc-v/espressif: Add Watchdog support on top of MWDT0
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-14 23:55:35 +01:00
Gustavo Henrique Nihei
81499fcdf2
risc-v/espressif: Add support for ESP32-H2
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-14 23:55:35 +01:00
Gustavo Henrique Nihei
c149e52791
risc-v/espressif: Add support for ESP32-C6
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-14 23:55:35 +01:00
Gustavo Henrique Nihei
17f7f6e86d
risc-v: Add Espressif chip family support on top of esp-hal-3rdparty
...
Initially supporting ESP32-C3 chip, to be followed by other RISC-V-based
chips from Espressif.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-14 23:55:35 +01:00
raiden00pl
a5aa7886ba
boards/nrf5340-dk: add TIMER configuration
2023-03-14 19:22:45 -03:00
raiden00pl
8d2451da0c
arch/nrf53: add TIM support
2023-03-14 19:22:45 -03:00
raiden00pl
ef9190379c
boards/nrf52832-dk: add buttons example
2023-03-14 19:17:31 -03:00
raiden00pl
384cbc2013
boards/nrf52840-dk: add buttons example
2023-03-14 19:17:31 -03:00
raiden00pl
b15244d4b2
arch/nrf52/gpiote: add an interface automatically selecting a free GPIOTE channel for pin interrupts
2023-03-14 19:17:31 -03:00
raiden00pl
bf531fa24a
arch/nrf52/gpiote: fix doc strings
2023-03-14 19:17:31 -03:00
Ville Juven
776e2d774f
signal/sig_dispatch: Add signal action, if task is in system call
...
The _unmasked_ signal action was never added if the task is in system call
and waiting for (a different) signal.
This fixes deliver especially for default signal actions / unmaskable
signals, like SIGTERM.
2023-03-14 11:16:52 +09:00
raiden00pl
a6c1ef3c52
wireless/bluetooth: add RPMSG HCI controller support
2023-03-14 09:51:13 +08:00
raiden00pl
fef4871b01
arch/{nrf52|nrf53}/uid: specify the length of the UID array
2023-03-14 01:28:27 +02:00
raiden00pl
fd7611f144
arch/nrf53: add UID support
2023-03-14 01:28:27 +02:00
yinshengkai
1cc3fd59ed
libc/syslogstream: fix nxstyle error
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-03-13 22:24:53 +02:00
yinshengkai
ca290e85ea
libc: stream adds length check
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-03-13 22:24:53 +02:00
raiden00pl
1c9c6e94f0
arch/nrf53: initialize PM
2023-03-13 22:24:28 +02:00
yinshengkai
e1c9b5def0
tools/parsetrace: fix context swtich parsing error
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-03-13 22:23:35 +02:00
Michal Lenc
0797b03c08
mmcsd: add nxsig_usleep delay after MMC_CMD1 command
...
MMC_CMD1 command is used to check whether card is MMC type (checked if
CONFIG_MMCSD_MMCSUPPORT is enabled). This commit inserts nxsig_usleep
wait if this check fails. This is to ensure the communication recovers
from invalid response as this may take some time on some platforms (
samv7 for example). Following command for SDHC check may fail if sleep
is not used.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-03-13 22:22:54 +02:00
Huang Qi
061e98aa98
drivers/serial: Fix wrong ECHO flag
...
There is a rookie mistake introduced by https://github.com/apache/nuttx/pull/8691 ,
ECHO flag is a part of Local Mode (c_lflags) instead of c_iflags.
nuttx-apps should do the same change in nsh_login and termcurse_vt100.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-13 16:29:36 -03:00