nuttx/drivers
Pavel Pisa 46c3f354b3 drivers/can: ctucanfd the first round of fixes - mainly for char dev
Corrected CAN FD messages sending in character driver mode.
Assign CAN FD format flag in reception of CAN FD messages.
Corrected some defines mismatches.

The code has been tested in QEMU

qemu-system-x86_64 -m 2G -enable-kvm -smp 1 \
  -cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
  -kernel nuttx/nuttx \
  -nographic -serial mon:stdio \
  -object can-bus,id=canbus0-bus \
  -object can-host-socketcan,if=can0,canbus=canbus0-bus,id=canbus0-socketcan \
  -device ctucan_pci,canbus0=canbus0-bus,canbus1=canbus0-bus

The overall state of this third party CTU CAN FD driver in NuttX
is far from ideal. It would worth to consult and follow more
closely our Linux kernel driver and even better RTEMS CAN/CAN FD
stack design

  https://canbus.pages.fel.cvut.cz/#cancan-fd-subsystem-and-drivers-for-rtems

Signed-off-by: Pavel Pisa <pisa@fel.cvut.cz>
2025-01-15 13:47:04 +01:00
..
1wire drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
aie drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
analog drivers/adc: Rename up_ads1255initialize to ads1255_initialize 2024-11-16 17:39:27 +01:00
audio Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
bch drivers/bch: Drivers may not support command BIOC_FLUSH 2024-12-12 01:56:55 +08:00
can drivers/can: ctucanfd the first round of fixes - mainly for char dev 2025-01-15 13:47:04 +01:00
clk drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
contactless drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
coresight drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
crypto crypto/se05x: Allow set_enable_pin to be NULL and fix error handling 2024-11-07 11:37:58 +08:00
devicetree limits/path: replace CONFIG_PATH_MAX to PATH_MAX to ensure consistency 2024-12-10 14:27:37 +08:00
dma drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
dummy drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
eeprom drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
efuse drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
i2c use small lock in following files 2024-12-22 18:43:26 +08:00
i2s drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
i3c arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
input Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
ioexpander sim/configs/rpserver/rpproxy_virtio: Change the sim 32bit to 64bit compilation 2024-11-15 14:01:11 +08:00
ipcc drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
lcd st7789: add configuration option to set default background color 2024-11-29 18:32:22 +08:00
leds Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
loop uio api tweaks 2025-01-14 20:18:21 +08:00
math drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
misc uio api tweaks 2025-01-14 20:18:21 +08:00
mmcsd drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
modem drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
motor drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
mtd Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
net Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
note sched_note_wdog: add c_section 2025-01-14 12:29:29 +08:00
pci drivers/pci: fix typo addres -> address 2024-12-17 20:48:07 +08:00
pinctrl drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pipes Revert "drivers/pipes: return after short write if buffer is full" 2024-11-26 11:08:02 -03:00
power use small lock in following files 2024-12-22 18:43:26 +08:00
rc drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
regmap drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
reset drivers/reset: fix typo retrun -> return 2024-12-17 20:48:07 +08:00
rf drivers/rf: migrate license to ASF 2024-11-06 19:46:13 +08:00
rmt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
rpmsg rpmsg/rpmsg_virtio_lite: rename rpmsg_virtio to rpmsg_virtio_lite 2024-12-28 22:43:20 -03:00
rptun rptun_bmp: add remote_cpu to rptun_secure_init 2025-01-14 13:34:35 +08:00
segger segger: rm spin_lock_irqsave(NULL) in drivers/segger/config/SEGGER_RTT_Conf.h 2025-01-09 23:52:55 +08:00
sensors drivers/sensors: Wrote a driver for the MCP9600 thermocouple amplifier. 2025-01-14 23:04:18 +08:00
serial drivers/serial/serial.c: adapt to the iovec-based api 2025-01-14 20:18:21 +08:00
spi drivers/spi/ice40: migrate to SPDX identifier 2024-12-16 14:18:35 +08:00
syslog Reduce the size of tcb by four bytes. 2025-01-02 23:18:42 +08:00
thermal Thermal/step_wise: Fix that hysteresis takes no effect 2024-12-26 09:23:10 +08:00
timers drivers/timers/watchdog: add watchdog timer notifier chain 2025-01-12 11:15:42 +08:00
usbdev drivers/usbdev/cdcacm.c: Fix a crash in cdcacm if usbdev gets unregistered while client calls close for the tty 2025-01-10 21:14:55 +08:00
usbhost drivers/usbhost/hid_parser: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
usbmisc driver for STUSB4500 2024-11-30 08:40:08 -03:00
usbmonitor drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
usrsock drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
vhost drivers/vhost-rng: fix compile error in vhost-rng. 2025-01-12 00:06:12 +08:00
video drivers/video: add BRGA8888 support for goldfish gpu fb 2025-01-07 21:47:56 +08:00
virtio virtio-rng: Register /dev/urandom driver if CONFIG_DEV_URANDOM=y 2025-01-03 08:52:20 +08:00
wireless Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
.gitignore
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
drivers_initialize.c Fix some minor style issues 2024-11-20 10:51:07 +01:00
Kconfig AI engine driver 2024-10-16 13:57:23 +08:00
Makefile drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00