jturnsek
97b4900c59
Bug fixes and improved interrupt support for mcp23x17 driver
2023-03-06 08:40:33 +08:00
raiden00pl
468f2e3222
boards/nrf5340-dk: add sdc support
2023-03-05 19:31:07 -03:00
raiden00pl
9dc8f27dda
arch/nrf53: add SoftDevice support
2023-03-05 19:31:07 -03:00
raiden00pl
5fd321e54d
arch/nrf53: add systimer configuration
2023-03-05 19:31:07 -03:00
raiden00pl
3b92819792
arch/nrf53: initial clock configuration
2023-03-05 19:31:07 -03:00
raiden00pl
15a932f8e1
arch/nrf53: add more registers definitions
2023-03-05 19:31:07 -03:00
raiden00pl
e3f2443fc3
boards/nrf52: normalize sdc configurations
2023-03-05 21:32:11 +02:00
raiden00pl
242606a7d9
arch/nrf52/nrf52_sdc: fix memory configuration for MULTIROLE
2023-03-05 21:32:11 +02:00
raiden00pl
238b606057
arch/nrf52: fix configuration for SoftDevice, LFCLK is required but it doesn't have to be XTAL
2023-03-05 21:32:11 +02:00
raiden00pl
cf5cd222d6
Revert "arch/nrf52/Kconfig: update comment about SoftDevice used PPI channels"
...
This reverts commit 688d2bb820
.
It's not clear how many PPI channels is required.
Let's assume the worst case scenario, which is the previous version.
2023-03-05 21:32:11 +02:00
Bernd Walter
5ca9adbe61
Copy I2C_M_NOSTART support from sam7v/sam_twihs.c driver
2023-03-06 01:39:21 +08:00
raiden00pl
c4c2b14623
tools/nxstyle: add 'IRQn_Type' to whitelists
2023-03-05 17:56:37 +02:00
Huang Qi
e7bf464c7a
arch/imx6: Fix a compilation error with UBSan
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-05 11:06:48 +02:00
qinwei1
e3f0f86514
arm64: add arm64_serialinit/arm64_earlyserialinit
...
Summary:
add arm64_serialinit/arm64_earlyserialinit function prototype
to arm64_internal.h as common function for arm64 based chip.
Testing with ostest in SP and SMP
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-03-05 09:44:51 +08:00
Tiago Medicci Serrano
a3badd26a0
drivers/serial: Echo CR if NL is detected if console
...
Echoing console's input is now performed by the serial driver
(https://github.com/apache/nuttx/pull/8691 ). In order to keep old
behavior of CR being echoed by the device, it's needed to detected
whenever NL is being echoed and send CR before sending it.
2023-03-05 09:44:26 +08:00
raiden00pl
99b0bad94e
arch/armv8-m: DSP extension is optional
2023-03-05 09:43:52 +08:00
qinwei1
e696e99d9a
arm64: Update readme.txt for FVP platform
...
Summary:
Updating Readme.TXT for FVP platform.
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-03-05 01:56:17 +08:00
Michal Lenc
1d88bceb79
samv7: raise input flow control warning only for serial drivers
...
Hardware flow control for serial requires the usage of DMAC channels
which is not yet supported for SAMv7 MCU. However the same config option
CONFIG_SERIAL_IFLOWCONTROL is also used for USB CDC/ACM flow control which
works well. Therefore the warning message should be raised only if
flow control is configured for USART driver and not for USB CDC/ACM.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-03-04 23:22:00 +08:00
raiden00pl
84d8b821e0
armv8-m/arm_ramvec_initialize.c: fix printf warning
2023-03-04 22:33:53 +08:00
raiden00pl
342fb22c3f
arch/nrf52/.gitignore: clean up after SoftDevice update
2023-03-04 22:33:53 +08:00
raiden00pl
688d2bb820
arch/nrf52/Kconfig: update comment about SoftDevice used PPI channels
2023-03-04 22:33:53 +08:00
raiden00pl
bac798af07
arch/nrf52/sdc: remove no more needed core_cm4.h
2023-03-04 22:33:53 +08:00
Xiang Xiao
454921eac7
arch/boards: Rename up_lowputc to [arm64|renesas]_lowputc
...
follow other arch coding style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-04 11:08:00 +02:00
yinshengkai
da4e2671f5
trace: Add kernel tracepoint support
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-03-04 12:57:48 +08:00
Gustavo Henrique Nihei
312d6223d3
xtensa: Remove non-supported options from CPUs' specs
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-04 12:56:58 +08:00
Gustavo Henrique Nihei
bf9951f939
xtensa/esp32: Move attribution to CMN_ASRCS to common makefile
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-04 12:56:58 +08:00
raiden00pl
5fa2dc3c5b
nrf5340-dk/nsh_cpunet: add net core configuration
2023-03-04 12:35:14 +09:00
raiden00pl
2ec564eb11
boards/nrf53/nsh_cpuapp: fix ram size
2023-03-04 12:35:14 +09:00
raiden00pl
49446c8e76
arch/nrf53: support for APPROTECT, and disable it at default for now
2023-03-04 12:35:14 +09:00
raiden00pl
ad4af9b9c9
arch/nrf53: boot the net core
2023-03-04 12:35:14 +09:00
raiden00pl
150b3622a8
arch/nrf53_gpio: add interface to assign GPIO to the net core
2023-03-04 12:35:14 +09:00
raiden00pl
e3008e13f3
arch/nrf53_gpio: MCUSEL is available only for the app core
2023-03-04 12:35:14 +09:00
raiden00pl
7cbaa98d88
nrf52/nrf53_serial: remove redundant include
2023-03-04 12:35:14 +09:00
raiden00pl
d58753725e
arch/nrf53: add initial register definitions for CTRL-AP, RESET and UICR
2023-03-04 12:35:14 +09:00
yinshengkai
b8e622ea5d
libc/stream: unify stream behavior
...
Return the error code when all gets occur when an error is wrong
and return immediately when obtaining any valid data
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-03-04 01:48:22 +08:00
Gustavo Henrique Nihei
9f44391828
boards/esp32-devkitc: Adjust defconfig for WAMR after dependency fix
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-04 01:47:20 +08:00
Gustavo Henrique Nihei
1fcb2be0e3
boards/sim: Adjust defconfig for WAMR after dependency fix
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-04 01:47:20 +08:00
chao an
a7de849944
tools/ci: setup wasi-sdk/wamrc into cibuild
...
wasi-sdk:
https://github.com/WebAssembly/wasi-sdk
wamrc:
https://github.com/bytecodealliance/wasm-micro-runtime
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-04 01:40:25 +08:00
zhangyuan21
83bbb54558
tools/ci: Don't build simusb on macOS
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 14:31:30 -03:00
zhangyuan21
0af63cfc48
sim/usb: add sim usb host
...
signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 14:31:30 -03:00
zhangyuan21
c61c694a77
sim/usb: add sim usb device
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 14:31:30 -03:00
zhangyuan21
699c930987
drivers/usb: fixed sim usb dev and host build issue
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 14:31:30 -03:00
wangbowen6
14ba7a7dd1
sched: build error fix in task_exithook
...
CC: task/task_recover.c task/task_exithook.c: In function 'nxtask_exithook':
task/task_exithook.c:464:11: error: 'struct tcb_s' has no member named 'cmn'
464 | if ((tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_KERNEL)
| ^~
CC: opus/silk/shell_coder.c make[1]: *** [Makefile:60: task_exithook.o] Error 1
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2023-03-03 20:10:43 +08:00
Xiang Xiao
a2190aeb35
Fix error: '%s' directive output may be truncated
...
writing up to 31 bytes into a region of size 27 [-Werror=format-truncation=]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-03 04:08:22 -08:00
Huang Qi
44857ab30e
driver/serial: Echo only determined by ECHO flag with termios enabled
...
Fix a bug that can not disable echo even if termios is enabled.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-03 09:44:30 +02:00
zhangyuan21
392eebf5e2
arch/armv7-a: fixed scu cpu tagram mask define issue
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 11:41:33 +08:00
Huang Qi
68384e9db4
drivers/serial: Echo input in driver layer
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-03-03 11:37:41 +08:00
raiden00pl
74ffdb0b49
boards/nrf52: update sdc configs
2023-03-03 09:41:17 +08:00
raiden00pl
eda99e35bb
arch/nrf52: use the lates SoftDevice release (v2.3.0)
...
A list of breaking changes:
- SoftDevice libraries was renamed and libaries are now cmpatible with all platfroms with a given faimily.
- The random number generator was decoupled from the controller and must now be provided by the user.
We use arc4random_buf NuttX API for this.
- sdc_support_ API must be called before sdc_cfg_set()
- update public API terms to Bluetooth Core Specification v5.3 (mainly change slave/master to central/peripheral)
NuttX NRF52 configuration options properly updated.
- BLE features are supported only if the proper BLE role is selected
- sdc_hci_evt_get() and sdc_hci_data_get() have been replaced by sdc_hci_get()
2023-03-03 09:41:17 +08:00
Xiang Xiao
66c5f86018
sched: Disable stdio api by default when DEFAULT_SMALL equals y
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-03 00:18:03 +02:00