当前位置: 首页 > news >正文

问题专题 编译问题

问题1 

关键字 汇编语言 注释 识别 编译器  A1167E: Invalid line start

Article ID: KA002247
Applies To: Arm Compiler 5, Keil MDK
Confidentiality: Customer Non-confidential

Information in this knowledgebase article applies to:

  • Keil MDK 5

  • NXP example projects

SYMPTOM

I have selected one of the NXP example projects, offered by the Pack Installer of Keil MDK.

Building this project results in a list of errors messages like:

... error: A1167E: Invalid line start
... error: A1163E: Unknown opcode MIMXRT1062 , expecting opcode or Macro
CAUSE

Some default tool settings have been changed with Keil MDK 5.30, which causes an incompatibility to several NXP packs, offering, i.e. examples projects.

Those now contain a mixture of assembly source files using GNU Assembler syntax (e.g. startup_MIMXRT1062.s) and Arm syntax (e.g. irq_cm4f.s).

RESOLUTION

With MDK 5.30 (and later):

  • configure your project for the Assembler Optionarmclang (Autoselect)

With an earlier version than MDK 5.30:

  • select the option Assemble by using ArmClang V6

  • configure Misc Controls to -masm=auto

MORE INFORMATION
  • Refer to Pack Installer in the µVision User's Guide.

  • Refer to Arm Compiler Reference Guide in the Compiler Reference Guide.

SEE ALSO
  • Refer to SWPACK: NXP target selected - startup code missing

注意:


http://www.mrgr.cn/news/49552.html

相关文章:

  • 【Java数据结构】二叉树
  • ZED相机的使用
  • 基于Arduino的红外遥控智能小车实现方法
  • C++STL(2)
  • Gin框架教程01:创建一个简单的 Gin 应用
  • 新媒体运营基本步骤
  • EditPlus安装使用
  • R语言绘制聚类热图
  • shell错误修改
  • Xilinx远程固件升级(一)——QuickBoot方案
  • 伯努利分布(Bernoulli distribution)的两次成功之间间隔次数的分布
  • git error: You have not concluded your merge (MERGE_HEAD exists).
  • Lumerical脚本语言——材料数据库(Material database)
  • javaScript if else factory function
  • 利用弹性盒子完成移动端布局(第二次实验作业)
  • 带你了解linux:学习第十六课 linux 之 Ftp Sftp
  • python之selenium接管打开的谷歌浏览器窗口——隐藏爬虫特征,跳过登陆弹窗验证
  • 监听下载上传进度
  • [STM32] 简单介绍 (一)
  • 现代数字信号处理I-P3 MVUE学习笔记