nuttx/drivers/can
Alexey Matveev 369755d00b drivers/can: Fix close drain, write-only reader lifecycle, and STM32 RX header
Always allocate per-file can_reader on open so write-only descriptors get msgalign / ioctl state; free that context on close when it was never linked into cd_readers (fixes leak).

Cap each drain loop (20×500 ms) so close() cannot block forever when bxCAN retries without ACK or dev_txempty never clears.

Fix stm32can_vputreg debug log to print the written value (correct parameter name).

Signed-off-by: Alexey Matveev <tippet@yandex.ru>
2026-04-28 10:32:56 -03:00
..
can.c drivers/can: Fix close drain, write-only reader lifecycle, and STM32 RX header 2026-04-28 10:32:56 -03:00
can_common.c drivers/can: move CAN utils to CAN common files 2025-05-14 10:30:25 -03:00
can_sender.c drivers/can: repair compiler error 2026-01-16 01:37:50 +08:00
CMakeLists.txt drivers/can: move CAN utils to CAN common files 2025-05-14 10:30:25 -03:00
ctucanfd.h ctucanfd: increase rwcnt bitfield width and fix structure alignment 2026-01-17 12:43:48 +01:00
ctucanfd_pci.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Kconfig can: strict TX priority ordering to avoid priority inversion 2026-01-06 16:03:14 +08:00
kvaser_pci.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Make.defs drivers/can: move CAN utils to CAN common files 2025-05-14 10:30:25 -03:00
mcp2515.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mcp2515.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
sja1000.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sja1000.h drivers/can: add Kvaser PCI card driver (qemu only) 2024-12-13 11:19:22 +08:00