现象:

.\Objects\1_16Thermopile.axf: Error: L6366E: tpil16t_lib.o attributes are not compatible with the provided attributes .

Object tpil16t_lib.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)

报错原因:Cortex M0内核的芯片,调用Cortex M3内核芯片生成的Lib库,导致不兼容。

解决办法:重新生成Cortex M0内核的Lib库。或者更换为M3内核的芯片^_^

如:使用keil生成lib库时,选择芯片是stm32f103系列的Cortex M3内核芯片。调用lib库时,芯片使用的是stm32f030系列的Cortex M0内核芯片。则会报错。

解决办法1:将lib库生成时的芯片型号改为stm32f030系列芯片

解决办法2::在调用的时候,使用stm32f103系列芯片,就不会报错。

解决的关键是内核统一,跟ST/MM/GD等厂商型号没关系。

经验总结,如有错误,如有更准确的答案,欢迎评论区指出。共同进步……

报错:attributes are not compatible with the provided attributes相关推荐

  1. keil 使用lib报错:attributes are not compatible with the provided attributes

    现象: .\Objects\1_16Thermopile.axf: Error: L6366E: tpil16t_lib.o attributes are not compatible with th ...

  2. Minio上传报错: The Access Key Id you provided does not

    minio通过控制访问正常,通过代码上传就报错: ErrorResponse(code = InvalidAccessKeyId, message = The Access Key Id you pr ...

  3. centos7 升级openssh7.4之后 报错

    由于工作需要,有九台服务器需要对起openssh升级,在升级成功之后,无法登录,花了很多时间在网上找资料,具体解决方法如下. 由于新的openssh采用了新的算法,所以想要连接服务器,必须使用最新的s ...

  4. php 判断心跳包报错,第29问:MySQL 的复制心跳说它不想跳了

    问题 最近年末,你们的数据库常常跑批量大事务,会发现复制忽然断开,报错"心跳与本地信息不兼容": 会是什么缘由?php 实验 咱们先来复现一下,再进行分析.html 宽油,作一对主 ...

  5. 报错:RuntimeError: view size is not compatible with input tensor‘s size and stride (at least one dimen

    报错:RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimen ...

  6. Vue3报错:Extraneous non-props attributes (ref_key) were passed to component but could not be automatic

    Vue3报错:Extraneous non-props attributes (ref_key) were passed to component but could not be automatic ...

  7. PHP报错:Declaration of ... should be compatible with ... 的解决方法

    ​ 背景情况 今天把本地环境的PHP版本升级到了PHP7,之前一直用的是5.5,升级之后发现报了一个警告错误:Warning: Declaration of (类方法1) should be comp ...

  8. 视觉SLAM十四讲 报错 Could not find a configuration file for package “OpenCV“ that is compatible with reques

    视觉SLAM十四讲 报错 Could not find a configuration file for package "OpenCV" that is compatible w ...

  9. npm install报错:This version of npm is compatible with lockfileVersion@1, but package-lock.json was ge

    npm install报错:This version of npm is compatible with lockfileVersion@1, but package-lock.json was ge ...

最新文章

  1. python软件界面-python软件界面介绍(python软件介绍)
  2. 如何做好生产现场管理及信息化应用
  3. Python环境(基于Pycharm和官方python包)搭建顺序
  4. 单片机 c语言 定义i o,【51单片机】普通I/O口模拟SPI口C语言程序
  5. flask 上传excel 前端_flask-restful编写上传图片api
  6. Java Annotation(注解)使用教程
  7. python - PyDev统一编码
  8. VC、VS、QT界面预览快捷键小记
  9. 首次全面深度解密华为方舟编译器
  10. 共享经济开始崩溃,区块链能否再续共享经济神话?
  11. 知网文献nh、caj格式文件转成pdf
  12. shrinkwrap-resolver解析pom依赖
  13. php如何做拆弹,拆弹有多难?千万别被《拆弹专家2》给骗了,不可能遇到这种炸弹...
  14. 闲聊Robots协议
  15. 常用视频质量评价库以及下载地址
  16. python 股票指标库talib_【手把手教你】股市技术分析利器之TA-Lib(一)
  17. matlab实现nc文件批量转tif文件
  18. Apache Kudu 与 Impala Shell 的结合使用文档(创建表、删、改、查)
  19. 帝国CMSH5小游戏模板帝国CMS内核游戏整站源码
  20. ROL,ROR,SAR,SHR,SAL,SHL区别

热门文章

  1. 经典:全国老婆一览表
  2. kafka 创建topic,查看topic
  3. 【CJY学习笔记】Linux防火墙基本操作(基于centos7)
  4. 1.1 嵌入式系统概述
  5. 入门算法:小和问题 之归并排序思想 java语言
  6. 微软股价再创新高:投资者看好未来发展
  7. FLT_EPSILON定义在float.h 趋0最小
  8. 腾讯阿里是否开始走向衰落,用新互联网大脑模型分析
  9. Ansible纸上谈兵01:认识一下Ansible
  10. 引发流水线堵塞的原因