This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X_StarterWare_02_00_01_01 drivers.lib 编译 设置

你好,

       我在win系统CCS6.2.0.00050软件中导入C:\ti\AM335X_StarterWare_02_00_01_01\build\armv7a\cgt_ccs\am335x\drivers\的工程,进行编译,发现出现错误,然后我在include option 中添加了库

"C:\ti\AM335X_StarterWare_02_00_01_01\include\armv7a"
"C:\ti\AM335X_StarterWare_02_00_01_01\include"
"C:\ti\AM335X_StarterWare_02_00_01_01\include\armv7a\am335x"
"C:\ti\AM335X_StarterWare_02_00_01_01\include\hw"

  然后错误少了一点,但是还是有错误,

         

Compilation failure
subdir_rules.mk:7: recipe for target 'cppi41dma.obj' failed
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 110: error #20: identifier "SOC_CACHELINE_SIZE_MAX" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 245: error #20: identifier "SOC_USB_0_BASE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 246: error #20: identifier "USB_0_OTGBASE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 406: error #20: identifier "USB_0_CTRL" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 413: error #20: identifier "USB_0_CTRL" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 419: error #20: identifier "USB_0_TX_MODE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 425: error #20: identifier "USB_0_RX_MODE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 434: error #20: identifier "USB_0_GEN_RNDIS_SIZE_EP1" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 1352: error #20: identifier "USB_0_OTGBASE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 1789: error #20: identifier "USB1_BASE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 1793: error #20: identifier "SOC_USB_0_BASE" is undefined
"C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c", line 2021: error #20: identifier "USB_0_OTGBASE" is undefined
12 errors detected in the compilation of "C:/ti/AM335X_StarterWare_02_00_01_01/drivers/cppi41dma.c".
gmake: *** [cppi41dma.obj] Error 1

      我打算在Beaglebone black 板上使用, 是否我缺部分设置?还是什么原因?

谢谢