driver-avionics-master
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:47KB
下载次数:2
上传日期:2020-03-14 19:24:38
上 传 者:
virgo_girl
说明: arinc429 driver source code for holt ic
文件列表:
COPYING (18693, 2019-10-23)
driver (0, 2019-10-23)
driver\Kbuild (441, 2019-10-23)
driver\devices (0, 2019-10-23)
driver\devices\example.c (3925, 2019-10-23)
driver\devices\hi3593.c (28281, 2019-10-23)
driver\devices\hi3717a.c (29360, 2019-10-23)
driver\devices\lb.c (3517, 2019-10-23)
driver\include (0, 2019-10-23)
driver\include\avionics-device.h (2064, 2019-10-23)
driver\include\avionics.h (3319, 2019-10-23)
driver\net (0, 2019-10-23)
driver\net\avionics.c (5533, 2019-10-23)
driver\net\device.c (8581, 2019-10-23)
driver\net\device.h (662, 2019-10-23)
driver\net\protocol-raw.c (4011, 2019-10-23)
driver\net\protocol-raw.h (767, 2019-10-23)
driver\net\protocol.c (7266, 2019-10-23)
driver\net\protocol.h (1564, 2019-10-23)
driver\net\socket-list.c (6191, 2019-10-23)
driver\net\socket-list.h (1222, 2019-10-23)
tests (0, 2019-10-23)
tests\avionics-config.py (13043, 2019-10-23)
tests\avionics-rx.py (1875, 2019-10-23)
tests\avionics-tx.py (2046, 2019-10-23)
tests\create_lb.sh (211, 2019-10-23)
tests\rate-get.py (3493, 2019-10-23)
tests\rate-set.py (3530, 2019-10-23)
# driver-avionics
Socket based Avionics Networking Driver for Linux
Includes ARINC-429 interfaces, but can be expanded to include new protocols like ARINC-717, MIL-1553, etc.
__NOTE: The linux kernel bust be configured for 1000 ticks per second (CONFIG_HZ_1000) for the higher ARINC-717 Rates to work__
## Notes on Kernel Header Files
In order to create a socket device with a configurable interface we need to add a socket
AF\_index and PF\_index to socket.h, an ARPHRD\_index to if\_arp.h, and an ETH\_P\_index to if\_ether.h.
Since we would prefer this to be an out-of-tree driver (at least for now) we reuse existing but
unused indexes for Ash. Refer to arinc429.h for more details on this ugly hack.
# Kernel Version
All development and testing was done on kernel versions 4.9 to 5.2, this driver will probably work on
different kernels but may require some updates.
近期下载者:
相关文件:
收藏者: