Comments (15)
reg52.h 由 Keil 提供,一般在 [keil 安装目录]\C51\INC
下找到 REG52.H, EIDE 会自动使用该目录作为内置的头文件目录,如果没找到, 可能是 Keil C51 的问题
点开 内置依赖->头文件列表 会有 内置的头文件目录 的位置
from eide.
你好,感谢回复。我看了一下,我这边头文件目录是空的,我的keil都是正常安装的,也能正常使用的。安装路径是 G:\Keil_v5\C51 ,配置的时候选择的也是G:\Keil_v5\C51\bin下的tools.ini。 请教一下,这个头文件目录能手动设置吗?
from eide.
1. 可能是 TOOLS.INI 选错了,在 TOOLS.INI 文件所在的目录下,会有一个 C51的文件夹,如下图
2. 头文件目录可以在 自定义依赖->头文件列表中添加
from eide.
您好,我尝试添加keil目录下的tools.ini,但是编译的时候报错说C51设置路径不正确。我用C51\bin目录下的tools.ini,手动添加了C51下的inc目录,可以编译成功,但是生成hex的时候出错哦,我看了一下,是用lib文件的目录有错。
from eide.
看起来不支持你这个版本的 Keil , 因为你这个版本的 Keil 安装目录的结构就和我的不同,肯定会出问题的,我的 keil 安装目录下没有 BIN 这个文件夹
from eide.
from eide.
下面是keil根目录下的tools.ini文件和c51/bin目录下的tools.ini文件,您看看有没有参考价值。
from eide.
你的TOOLS.INI位置不对。
你可以把bin目录下的TOOLS.INI 移动到 G:\keil_v5,移动的时候改一下名字,随便起,后缀别改就行,然后再eide中重新设置一下
from eide.
这个问题,后续我会改进的
from eide.
OK 照你说的,移动tools.ini后 目前就好了。 感谢啊
from eide.
另外,我有时候导入keil的工程,生成的工程文件这样的,然后在eide里面打开就没有反应。
{"folders":[{"path":"."}],"settings":{}}
from eide.
工程文件是..EIDE\EIDE.json,你发的是工作区文件,发一下截图
打开工程失败,没有什么提示吗,打开失败一般会有一个警告提示,
如果没有提示可以打开..EIDE\log\eide.log, 看看日志中有没有记录什么错误
from eide.
选择打开那个项目文件,没有任何反应和提示,我看了一下,也没有eide.log文件。我把整个目录上次您看一下吧。
19-1、LED闪烁.zip
下面是项目的路径
from eide.
这可能是上次更新后的一个小bug,你需要先关闭 AutoGenerateRTE_Components选项, 插件设置里有
from eide.
OK 关闭之后就正常了,多谢了!
from eide.
Related Issues (20)
- [bug] 芯片支持包添加失败 HOT 1
- [bug] The name of library is incorrect.
- [bug] 安装实用工具报错:Error : certificate has expired HOT 6
- [bug] 导出keil中xml缺失vendor和device内容 HOT 3
- 有没有办法设置外部终端为debugger console或者更新下debug console让其能自动补全 HOT 1
- [bug] cube生成的工程导入之后无法自动补全以及结构体定义跳转
- [bug] cube生成的工程导入之后无法进行结构体跳转以及自动补全
- [bug] 图标显示异常 HOT 1
- [bug] Cannot setup any utility tools, show "certificate has expired" HOT 3
- [bug] 内置Perl版本过低,会与LaTeX 需要的版本冲突 HOT 2
- [question] Add "c++17" selection HOT 1
- come to a lot of "no such file or directory" when building HOT 2
- [question] CMSIS Configuration Wizard 代码有一部分没有开源? HOT 4
- [bug] Compile error HOT 2
- Where to define Off-Chip XData Memory HOT 1
- [bug]调用STM32标准库中stm32f10x_flash.h的函数时,编译出错 HOT 1
- [bug] Error can't connect WCH Template HOT 3
- [bug] iar工程编译时搜索路径缺失,编译出错 HOT 2
- Cannot read properties of undefined (reading 'C51') HOT 2
- [question] 请允许对eide终端的自定义配置 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eide.