Peter van der Perk
a6da6dcec6
LPC17_40 CAN driver SocketCAN support
2022-08-03 17:58:57 +08:00
chao.an
d501e01eef
arm/backtrace: use sp unwind if FRAME_POINTER is enabled on thumb mode
...
GCC toolchain Bug 92172 - ARM Thumb2 frame pointers inconsistent with clang
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-08-03 17:58:36 +08:00
Daniel P. Carvalho
40e6c8dca4
STM32L4 DAC: Added basic support for low level operations
2022-08-02 10:43:59 +08:00
Jari van Ewijk
a554b9ce89
NXP S32K1XX: fix LPI2C reset
2022-08-01 07:34:03 -04:00
Xiang Xiao
c26bb35843
Remove the private NULL, TRUE and FALSE macros
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-31 22:12:57 +03:00
Sergey Nikitenko
ec59125ad3
stm32wb/mbox: fixing ACL transmit buffer
2022-07-31 10:29:29 +08:00
Sergey Nikitenko
30a80a390d
stm32wb/ble: disable default CPU2 host config option
2022-07-31 10:29:29 +08:00
Sergey Nikitenko
9db4caca1d
stm32wb/nimble: workaround for unsupported HCI command
2022-07-31 10:29:29 +08:00
Sergey Nikitenko
cf594b2c81
stm32wb/mbox: renaming msg_buf->cmd_buf
2022-07-30 11:45:15 +08:00
Sergey Nikitenko
49af13c507
stm32wb/mbox: fixing txbuf queue
2022-07-30 11:45:15 +08:00
Michał Łyszczek
e887a4a5b7
stm32wl5: add lower half driver for IPCC
...
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-07-29 23:11:32 +08:00
chao.an
0d28168679
arm/allocateheap: fix multiple definition of 'up_allocate_heap'
...
ld: arch/libarch.a(cxd56_allocateheap.c.obj): in function `up_allocate_heap':
arch/arm/src/cxd56xx/cxd56_allocateheap.c:113: multiple definition of `up_allocate_heap'; arch/libarch.a(arm_allocateheap.c.obj):
arch/arm/src/common/arm_allocateheap.c:110: first defined here
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-07-29 11:57:10 +03:00
chao.an
93f719bccb
arm/hostfs: fix build warning
...
arch/arm/src/common/arm_hostfs.c: In function 'host_read':
arch/arm/src/common/arm_hostfs.c:156:24:
warning: passing argument 1 of 'up_invalidate_dcache' makes integer from pointer without a cast [-Wint-conversion]
156 | up_invalidate_dcache(buf, buf + count);
| ^~~
| |
| void *
In file included from arch/arm/src/common/arm_hostfs.c:26:
include/nuttx/cache.h:261:37: note: expected 'uintptr_t' {aka 'unsigned int'} but argument is of type 'void *'
261 | void up_invalidate_dcache(uintptr_t start, uintptr_t end);
| ~~~~~~~~~~^~~~~
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-07-29 08:52:59 +03:00
zhuyanlin
031c89db89
power: add PM_IDLE_DOMAIN to pm.h and remove definations
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-07-29 11:15:40 +08:00
Xiang Xiao
13a7ae3d06
arch: Call board_reset before up_irq_save and spin_trylock
...
since board_reset may call some kernel functions which try
to acquire the lock again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-28 08:18:24 -04:00
raiden00pl
cce7b7ada6
stm32f7: add showprogress in __start
2022-07-28 20:07:31 +08:00
Sergey Nikitenko
82ad4b0e08
stm32wb: adding BLE support
2022-07-28 15:23:34 +08:00
Sergey Nikitenko
9db6aaa5c7
stm32wb: fixing IPCC 'putreg' calls
2022-07-28 15:23:34 +08:00
Jiuzhu Dong
9d4549d48b
arch: limit output maximum size stackdump when sp is not within stack
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-07-27 20:48:33 +08:00
Jiuzhu Dong
136b1d6d42
arch: using remain to ignore invalid stack content when sp is not within stack
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-07-27 20:48:33 +08:00
Jiuzhu Dong
5c8fd46126
arch/stack: rename do_stack_check with arch prefix
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-07-27 20:48:33 +08:00
Jiuzhu Dong
79597d0caf
arch/up_stack_check: using running_task to get correct task context
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-07-27 20:48:33 +08:00
Peter van der Perk
9e7e45df76
Evaluate n in preprocessor before masking
2022-07-25 23:47:05 +08:00
Peter van der Perk
ec118743ea
NX style fixes
2022-07-25 23:47:05 +08:00
Peter van der Perk
eae3f77673
Fix wrong comment style
2022-07-25 23:47:05 +08:00
Peter van der Perk
b3590f00b3
NXStyle and preprocessor fixes
...
Co-authored-by: Jari van Ewijk <jari.vanewijk@nxp.com>
2022-07-25 23:47:05 +08:00
Jari van Ewijk
dd1096695d
Add initial support for NXP S32K3 MCU family
...
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
2022-07-25 23:47:05 +08:00
raiden00pl
8eae3bb5ff
stm32f0l0g0/stm32_spi.c: fix receiving data for half duplex mode
2022-07-25 23:46:33 +08:00
raiden00pl
351c9dc837
stm32f0l0g0/stm32_spi.c: remove unused spi_readbyte function
2022-07-25 23:46:33 +08:00
raiden00pl
af4d65416a
stm32f0l0g0/stm32_spi.c: add missing SPI mode config and fix ifdef
2022-07-25 23:46:33 +08:00
raiden00pl
69986fad84
stm32f0l0g0/hardware/stm32_spi.h: remove unused definitions
2022-07-25 23:46:33 +08:00
raiden00pl
92b676479a
stm32l4/Kconfig: add support for STM32L476JG and STM32L476JE
2022-07-23 16:51:31 -03:00
curuvar
c21c7ac8dc
Added Adafruit QT Py RP2040 board.
...
Added ability to configure indivdual UART, SPI and I2C pin location.
2022-07-23 18:25:38 +08:00
curuvar
421b8ae3e7
Ability to use newer pico-sdk with RP2040 builds (Issue #4919 )
2022-07-23 14:36:52 +08:00
Fotis Panagiotopoulos
30f8d33bca
Fixed path calculation in BBS RAM.
2022-07-22 10:59:57 +08:00
ligd
df365008b2
arm_secure_irq: fix NVIC_IRQ_DBGMONITOR un-secure set failed
...
NVIC_DEMCR.SDME is a read-only bit
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-07-22 01:48:55 +03:00
Petro Karashchenko
2291f601ee
arch/arm/samv7: fix SPI 16-bit transactions in DMA mode
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-07-21 23:26:20 +08:00
Xiang Xiao
2166c98809
Add printflike and scanflike to all printf/scanf like functions
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 14:14:36 +03:00
Xiang Xiao
aad5fbd2fb
arch: Add up_nputs function to handle the non '\0' string correctly
...
and change up_puts as a simple macro
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-17 17:31:19 +03:00
Michal Lenc
4484d04a8d
samv7: add RX DMA support to serial driver
...
This commit adds RX DMA support to serial driver. The DMA is currently
supported only for USART peripherals, not for UART. It uses two circular
buffers which size can be setup by SAMV7_SERIAL_RXDMA_BUFFER option.
The idle bus interrupt is enabled to ensures data are read even if the
buffer is not yet full. The timeout can be setup by
SAMV7_SERIAL_DMA_TIMEOUT option.
This adds support only for RX transfers.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2022-07-16 15:39:20 +03:00
Michal Lenc
e3e282bd8a
samv7: add DMA API for circular buffers
...
This commit adds functions sam_dmarxsetup_circular() and
sam_dmarxstart_circular() that create API for operating with two or more
circular buffers. This can be used for DMA operation with serial driver
or ADC where ping pong buffers are required to successfully transfer the
data at high speed.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2022-07-16 15:39:20 +03:00
Michal Lenc
89a2b51b96
samv7: add RS-485 mode support to USART driver
...
This commit enhances SAMV7 serial driver with RS-485 mode available to
USART peripherals. The hardware automatically sets RTS pin high when
data are transfered and low then no transfer occurs. Only USART peripherals
support this mode, UART peripherals do not.
This mode can be enabled by configuration option SAMV7_USARTx_RS485MODE.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2022-07-16 15:39:20 +03:00
raiden00pl
8e5e6ab8cb
stm32/Kconfig: stm32_i2s needs SPI_DMA enabled
2022-07-16 11:10:01 +03:00
raiden00pl
a8e7f7742c
stm32f0l0g0/Kconfig: set default n for hidden options
2022-07-16 11:10:01 +03:00
raiden00pl
d307e5a7f5
stm32f0l0g0/Kconfig: hide STM32F0L0G0_SPI_DMA option and select it automatically
2022-07-16 11:10:01 +03:00
raiden00pl
1b45982521
stm32f0l0g0/Kconfig: remove the duplicated SPI DMA section
2022-07-16 11:10:01 +03:00
raiden00pl
e39afbf277
stm32/Kconfig: set default n for hidden options
2022-07-16 11:10:01 +03:00
raiden00pl
12273d0aa9
stm32/Kconfig: hide STM32_SPI_DMA option and select it automatically
2022-07-16 11:10:01 +03:00
raiden00pl
1616edbb81
stm32f7/Kconfig: hide STM32F7_SPI_DMA option and select it automatically
2022-07-16 11:10:01 +03:00
raiden00pl
6aef19617b
stm32h7/Kconfig: hide STM32H7_SPI_DMA option and select it automatically
2022-07-16 11:10:01 +03:00