新建工程时出现以下错误:

error: non-ASM statement in naked function is not supported

error: parameter references not allowed in naked functions

error: non-ASM statement in naked function is not supported

error: references not allowed in naked functions

这是由于新建工程时,keil默认的是version6编译器,而我们的固件库只支持version5

解决办法:将编译器修改为version5就好了。(如没有version5编译器需前往官网下载)

下载链接:Arm Compiler for EmbeddedGenerate code for running fast, compact, and energy-efficient applications on Arm.https://developer.arm.com/Tools%20and%20Software/Arm%20Compiler%20for%20Embedded

error: non-ASM statement in naked function is not supported相关推荐

  1. 最新版KEIL error: non-ASM statement in naked function is not supported或者 ‘__STATIC_INLINE‘

    最新的KEIL5版本使用的默认的版本6的编译器,而固件库还是支持版本5的编译器 所以下面重新选keil5的编译器,但是我这边只有version6的编译器怎么办呢 可以到如下 官网下载 右上角搜索Arm ...

  2. ../Libraries/core_cm3.c(445): error: non-ASM statement in naked function is not supported

    KEIL5版本更新了的缘故,使用了keil5默认的版本6的编译器,而固件库还是支持版本5的编译器 解决办法,修改成5版本就ok了

  3. main.c: In function ‘hello’: main.c:3:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ bef

    具体错误: main.c: In function 'hello': main.c:3:1: error: expected '=', ',', ';', 'asm' or 'attribute' b ...

  4. SSDT – Error SQL70001 This statement is not recognized in this context-摘自网络

    March 28, 2013 - arcanecode One of the most common errors I get asked about when using SQL Server Da ...

  5. Error while compiling statement: FAILED: LockException [Error 10280]

    beeline在创建数据库时碰见报错 Error: Error while compiling statement: FAILED: LockException [Error 10280]: Erro ...

  6. 解决:Error while compiling statement: FAILED: SemanticException [Error 10007]: Ambiguous column refere

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1.报错: Error while compiling statement: FAILED: Sem ...

  7. 【在虚拟环境下完美解决】1698: error: (-215:Assertion failed) empty() in function cv::CascadeClassifier

    问题描述 官方文档做的Demo发现遇到了错误提示如下: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifi ...

  8. hive sql报错:SQL 错误 [10004] [42000]: Error while compiling statement: FAILED: SemanticException [Error

    SQL 错误 [10004] [42000]: Error while compiling statement: FAILED: SemanticException [Error 10004]: Li ...

  9. SQL 错误 [40000] [42000]: Error while compiling statement: FAILED

    错误如下: SQL 错误 [40000] [42000]: Error while compiling statement: FAILED: SemanticException table is no ...

最新文章

  1. 华为鸿蒙系统源码_鸿蒙系统 IO 栈分析 | 解读鸿蒙源码
  2. 后盾网lavarel视频项目---页面post方式提交之后动态弹出错误信息
  3. Windows下使用Java API操作HDFS的常用方法
  4. WP7上Metro风格的程序栏图标汇总
  5. mysql 建索引_mysql数据库正确建立索引及使用
  6. PostBox使用小记
  7. 一步步编写操作系统 46 用c语言编写内核3
  8. Spring高级之注解@ComponentScan详解(超详细)
  9. 人工智能(AI)真正的价值究竟何在?
  10. 苹果首席设计官将离职;华为将从世界范围招揽天才少年;新版 Edge 更新 | 极客头条...
  11. 金三银四旗开得胜!javagui界面
  12. 现在工作和技术一般,想下班后充充电多学点东西。然而事实却相反,怎么让自己的学习更加有毅力?...
  13. IO负载高的来源定位
  14. 410.分割数组的最大值
  15. 函数计算机怎么算开根号,excel开根号公式怎么计算(详解excel开根号公式函数)...
  16. 12.1 hashlib--安全的哈希计算和签名库
  17. MybatisPlus查询条件和排序高级封装
  18. 【综述】近年来NLP在法律领域的相关研究工作
  19. 2015数据库年度盘点
  20. [软件工具][windows]pdf指定区域OCR识别重命名工具使用教程

热门文章

  1. ORACLE查询某一字段重复的数据
  2. python程序怎样在windows运行
  3. 大数据周会-本周学习内容总结06
  4. 如何把get请求改成post
  5. 实现banner模块
  6. 计算机导论——多媒体技术04
  7. 用Python实现URL Encoding和Decoding
  8. JSP_EL_JTEL
  9. iphone - - 怎么导出ipa文件
  10. xxljob 配置文件_XXL-JOB的基本用法