|
发表于 2016-3-14 10:16:35
25940 浏览 8 回复
如何让开发板出现can0
为什么我设置在内核中设置完can后,在ifconfig和/dev下都没有can0的标识
以下是我的内核配置
<*>Networking support --->
<*> CAN bus subsystem support --->
<*> Raw CAN Protocol (raw access with CAN-ID filtering)
<*> Broadcast Manager CAN Protocol (with content filtering)
CAN Device Drivers --->
<*> Platform CAN drivers with Netlink support
CAN bit-timing calculation
<*> Microchip MCP251x SPI CAN controllers
<*> User mode SPI device driver support
<*> Samsung S3C64XX series type SPI
|
|
|
|
|
|
|
|
还要配置下mcp2515的驱动
要把rfid的驱动去掉
可以看下全功能的配置文件
和精英版的对比下就知道了 |
|
|
|
|
|
|
|
楼主|
发表于 2016-3-14 17:16:41
|
|
|
|
|
|
|
楼主|
发表于 2016-3-14 17:32:43
我是精英版,现在手底下没有can的模块。是不是必须要用接好can模块才能在ifconfig 下出现can0。还有那个af-can.c 是不是通过调用mcp2515的方法把数据发出去。而上位机软件调用的af_can.c提供的socket的方法 |
|
|
|
|
|
|
|
发表于 2016-3-31 20:03:55
|
|
|
|
|
|
|
发表于 2017-4-15 10:10:12
|
|
|
|
|
|
|
发表于 2017-5-25 22:22:19
来自手机
jimeixuehua 发表于 2016-3-14 17:32
我是精英版,现在手底下没有can的模块。是不是必须要用接好can模块才能在ifconfig 下出现can0。还有那个a ...
在吗,能请教你一个CAN总线的问题吗? |
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号


|