是spidev_test.c这个文件么 只是编译一下怎么就这么多错误呢
看别的帖子说spi是给驱动调用的驱动 是什么意思?听着迷迷糊糊的呀 还请美女多多帮忙哦
[root@libra_boy VM]# arm-linux-gcc -o spidev_test spidev_test.c
arm-none-linux-gnueabi-gcc: spidev_test: No such file or directory
spidev_test.c: In function 'parse_opts':
spidev_test.c:145: error: 'SPI_NO_CS' undeclared (first use in this function)
spidev_test.c:145: error: (Each undeclared identifier is reported only once
spidev_test.c:145: error: for each function it appears in.)
spidev_test.c:148: error: 'SPI_READY' undeclared (first use in this function)
[root@libra_boy VM]#