报错
我在keil mdk中使用AC6作为编译器,在给f4移植dsp库时报错,照网上教程配置好了,编译后报错
Error: L6242E: Cannot link object arm_common_tables.o as its attributes are incompatible with the image attributes.
Error: L6242E: Cannot link object arm_cos_f32.o as its attributes are incompatible with the image attributes.
在网上搜了一圈无果,看到类似的问题,尝试用它的方法解决也不行。
https://blog.csdn.net/crown133/article/details/103333704
解决
最后在arm的官方开发者网站找到了答案
https://developer.arm.com/documentation/ka003983/latest
简而言之就是AC5和6 wchar_t的默认大小不一样
根据官网解决方案,在这里开启这个选项即可
以后遇到问题还是要多通过官方途径寻找答案