⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt.bak

📁 一个非常有用的SPI驱动程序,是在LINUX平台下的,但也可以一直到其他平台
💻 BAK
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -