我在编译 从dm3xx_sd_boot-6.1 for 368 中截取的 spi.c 部分代码的时候 ,
遇到缺少 变量定义的情况,
但我在哪里都找不到以下的 变量定义 或 宏定义,
如果哪位能帮我找到, 请寄给我这个头文件, 谢谢!! 我的email: taiwane@ gmail.com
所缺定义如下:
error messages in spi.c :
error: 'DEVICE_SPIRegs' undeclared (first use in this function)
error: 'SPI_PERIPHERAL_CNT' undeclared (first use in this function)
error: 'SPI0' undeclared (first use in this function)
error: 'E_PASS' undeclared (first use in this function)
error: conflicting types for 'SPI_xferOneChar'
error: 'SPI_MEMORYMAP_SPACING' undeclared (first use in this function)