wushmg 发表于 2018-3-13 13:27:12

keil5.24链接.lib文件的时候出现这个错误,有哪位大神帮看下

.\Objects\USART1.axf: Error: L6366E: expeed_cloudapi.o attributes are not compatible with the provided attributes .
Object expeed_cloudapi.o contains Build Attributes that are incompatible with the provided attributes.
    Tag_CPU_arch = ARM v7 (=10)
    Tag_CPU_arch_profile = The microcontroller profile 'M' (e.g. for Cortex M3) (=77)
    Tag_THUMB_ISA_use = Thumb2 instructions were permitted (implies Thumb instructions permitted) (=2)

toofree 发表于 2018-3-13 14:35:54

先把工程clean一下,然后重新编译,会生成新的expeed_cloudapi.o文件。

如果还有问题,发个工程吧。

也有很可能是你.lib与你现在用的MCU不兼容。也可能是编译器版本问题。
页: [1]
查看完整版本: keil5.24链接.lib文件的时候出现这个错误,有哪位大神帮看下