This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a change to branch SocketCAN
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.
from e6cb5ae Merge branch 'master' into SocketCAN
new 2915c66 Added CAN FD driver support
new 09886c8 FlexCAN transmit CAN FD support
new e0a445c Added CAN_RAW_FD_FRAMES sockopt support
new 0c98f1c Fixed SocketCAN IOB default config and IOB typos
new 35a5157 SocketCAN removed NET_TCP and NET_PKT dependencies
new 5a43e01 SocketCAN recfrom added non-blocking behavior support FlexCAN
support sending extended CAN id
new e6d8100 Added functional support for CAN_RAW_FILTER sockopt
new ddbada8 SocketCAN added protocol 0 to suport netlib_ifup with NET_PKT
disabled
new ffed555 Added devif_cansend.c (forgotten in commit e485581)
new d4938eb Added support for SO_TIMESTAMP in socketlayer and SocketCAN
Cleanup FlexCAN driver driver Disabled workqueue based TX in FlexCAN
new b6c052f Added support for SO_TIMESTAMP in socketlayer and SocketCAN
Cleanup FlexCAN driver driver Disabled workqueue based TX in FlexCAN
new 1ce948c S32K1XX Added High res timer support FlexCAN allocate memory
for timestamp
new fcc2663 S32K1XX SocketCAN style fixes
new 1ab8f13 Code style fixes
new a24f46f Code style fixes 2
new 7f49bf3 Code style fixes 3
new ae2db43 Socket: Control message addded initial stubs for sendmsg()
new 22d7298 Code style fixes 4
new d40347c Implement NET_CAN_RAW_TX_DEADLINE in SocketCAN and S32K1XX
FlexCAN driver
new 8900eb6 Made can/error.h nxstyle compliant
new fe5a83b NET_CAN_RAW_TX_DEADLINE use relative time with watchdog
Instead of a polling timer, also every mailbox get its own watchdog and gets
cancelled when a tx interrupt for the corresponding mailbox occurs.
new 0959a29 Backport code style fixes
new 13858e4 Use LPO 32Khz clock for RTC
The 23 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
arch/arm/src/s32k1xx/Kconfig | 1 +
arch/arm/src/s32k1xx/hardware/s32k1xx_flexcan.h | 49 +-
arch/arm/src/s32k1xx/s32k1xx_flexcan.c | 1010 +++++++++++---------
arch/arm/src/s32k1xx/s32k1xx_flexcan.h | 4 +-
arch/arm/src/s32k1xx/s32k1xx_rtc.c | 81 +-
arch/arm/src/s32k1xx/s32k1xx_rtc.h | 8 -
.../s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c | 2 +-
fs/vfs/fs_write.c | 5 +-
include/netpacket/can.h | 48 +-
include/nuttx/can.h | 1 -
include/nuttx/can/error.h | 129 +++
include/nuttx/mm/iob.h | 8 +-
include/nuttx/net/can.h | 10 +-
include/nuttx/net/net.h | 26 +-
include/nuttx/wqueue.h | 12 +-
include/sys/socket.h | 53 +-
libs/libc/net/lib_recvmsg.c | 7 +-
libs/libc/net/lib_sendmsg.c | 4 +-
net/bluetooth/bluetooth_sockif.c | 38 +-
net/can/Kconfig | 41 +
net/can/can.h | 66 +-
net/can/can_callback.c | 22 +-
net/can/can_conn.c | 22 +-
net/can/can_getsockopt.c | 98 +-
net/can/can_input.c | 2 +-
net/can/can_recvfrom.c | 365 ++++++-
net/can/can_send.c | 212 +++-
net/can/can_setsockopt.c | 58 +-
net/can/can_sockif.c | 74 +-
net/devif/Make.defs | 2 +-
net/devif/devif.h | 110 ++-
net/devif/{devif_pktsend.c => devif_cansend.c} | 12 +-
net/devif/devif_pktsend.c | 2 +-
net/devif/devif_poll.c | 37 +-
net/icmp/icmp_sockif.c | 18 +-
net/icmpv6/icmpv6_sockif.c | 32 +-
net/ieee802154/ieee802154_sockif.c | 51 +-
net/inet/inet_sockif.c | 22 +-
net/local/local_sockif.c | 12 +-
net/netdev/netdev_register.c | 6 +-
net/netlink/netlink_sockif.c | 21 +-
net/pkt/pkt_sockif.c | 4 +
net/socket/Kconfig | 18 +
net/socket/Make.defs | 6 +
net/socket/getsockopt.c | 20 +-
net/socket/{recvfrom.c => recvmsg.c} | 104 +-
net/socket/{recvfrom.c => sendmsg.c} | 125 +--
net/socket/setsockopt.c | 40 +-
net/socket/socket.h | 2 +-
49 files changed, 2193 insertions(+), 907 deletions(-)
create mode 100644 include/nuttx/can/error.h
copy net/devif/{devif_pktsend.c => devif_cansend.c} (94%)
copy net/socket/{recvfrom.c => recvmsg.c} (73%)
copy net/socket/{recvfrom.c => sendmsg.c} (67%)