readme.txt.bak

来自「一个非常有用的SPI驱动程序,是在LINUX平台下的,但也可以一直到其他平台」· BAK 代码 · 共 8 行

BAK
8
字号
The following is the procedure for adding the SPI driver file in the linux kernel:
1. Put the the cpm_spi.h file into the directory /include/asm-ppc 
2. Replace the cpm_8260.h file at directory /include/asm-ppc/cpm_8260.h
3. Replace the immap_8260.h file at directory /include/asm-ppc/immap_8260.h
4. Put the cpm_spi.c file into the directory /arch/ppc/8260_io 
5. Replace the Makefile file at directory /arch/ppc/8260_io/Makefile 
6. Replace the Config.in file at directory /arch/ppc/8260_io/Config.in 
7. Compile the kernel with CONFIG_CPM_SPI sets to True

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?