Other Parts Discussed in Thread: SYSBIOS
编译工程时需要用到大端模式,编译报错,显示pdk中的CSL库与设置的大端模式冲突,添加库文件时发现只有小端模式的库文件,没有大端模式的库文件,请问如何设置,还是需要自己重新编译生成大端模式的库文件?
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.
编译工程时需要用到大端模式,编译报错,显示pdk中的CSL库与设置的大端模式冲突,添加库文件时发现只有小端模式的库文件,没有大端模式的库文件,请问如何设置,还是需要自己重新编译生成大端模式的库文件?
CSL似乎只支持小端模式。
请参考以下链接中的表格endian部分。
software-dl.ti.com/.../index_device_drv.html
您是编译的哪个工程?是将工程编译为大端的时候报错吗?
编译的是自己写的一个SRIO的裸机工程,没有用到sysbios,显示报错:
<Linking>
fatal error #16001: object files have incompatible byte orderings ("D:/ti/pdk_c667x_2_0_16/packages/ti/csl/lib/c6678/c66/release/ti.csl.ae66<csl_pllcGetBaseAddress.oe66>" = little endian, "./srio_initiator.obj" = big endian)
才想起来更换相关的库文件,结果没有找到对应的大端库文件,看了下之前的pdk_C6678_1_1_2_6中是有大端库文件的,所以比较奇怪,以为是自己安装的问题。谢谢了!