Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Keil error report cannot open source input file & quot;core_cmInstr.h" how to solve it

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "Keil error reporting cannot open source input file" core_cmInstr.h "how to solve". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Preface

A few days ago, I applied for a uFun development board. I just got it yesterday. When I burned the Demo program, I encountered a problem, that is, Keil opened the project, compiled, reported a lot of errors cannot open source input file "core_cmInstr.h, and then searched some information, and finally solved this small problem. Here is the solution.

There are two Keil project files in the Demo program folder, one is corresponding to Keil4, the other is Keil5, it can be said that uFun is very thoughtful.

Compilation error, cannot open source input file "core_cmInstr.h, can not find this header file, 38 Error is the same problem.

From the point of view of the file name, the header file should be a kernel-related file, so I searched the file locally on my computer and finally found it in the installation directory of Keil. Mine is in the folder E:\ Keil_v5\ ARM\ Pack\ ARM\ CMSIS\ 4.3.0\ CMSIS\ Include:

Knowing where the file is, let's just manually specify the header file path:

Well, the download finally succeeded. Open the serial port assistant with a baud rate of 115200. You can see some LOG started by the program.

"Keil error cannot open source input file" core_cmInstr.h "how to solve" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report