😶+😑=😐
github0null / eide Goto Github PK
View Code? Open in Web Editor NEWAn embedded development environment for mcs51/stm8/avr/cortex-m/riscv on VsCode.
Home Page: https://em-ide.com
License: MIT License
An embedded development environment for mcs51/stm8/avr/cortex-m/riscv on VsCode.
Home Page: https://em-ide.com
License: MIT License
😶+😑=😐
这个是我遇到的问题,项目是一个新项目,没有做任何改动
除此之外,EIDE好像并不会创建startup.a51
[ INFO ] Source file list:
WARNING Not found C51 Startup File! File must be named like this: xxx.A51
C File: c:\GitHub\8051fun\p00blink.\src\main.c
[ INFO ] --------------------Start Compile...--------------------
C51 COMPILER V9.59.0.0 - SN: K1FMC-BW3IIC
COPYRIGHT Copyright (C) 2012 - 2018 ARM Ltd and ARM Germany GmbH. All rights reserved.
C51 FATAL-ERROR -
ACTION: PARSING INVOKE-/#PRAGMA-LINE
LINE: c:\Keil_v5\C51\BIN\C51.exe c:\GitHub\8051fun\p00blink.\src\main.c SMALL OMF2 ROM(LARGE) OPTIMIZE(8,SPEED) REGFILE(c:\GitHub\8051fun\p00blink.\out\main.ORC) INCDIR(c:\Keil_v5\C51\INC;c:\GitHub\8051fun\p00blink.\dependence\build-in\STD;c:\GitHub\8051fun\p00blink.\dependence\build-in;c:\GitHub\8051fun\p00blink.\dependence) DEFINE(
ERROR: NON-NULL ARGUMENT EXPECTED
C51 TERMINATED.
ERROR 生成失败(build Failed) : Compile C File: c:\GitHub\8051fun\p00blink.\src\main.c Error
不同的编译器这个文件不一样的,希望可以针对单独的编译器设置不同的文件,不然切换编译器就找不到文件了
编译的时候提示如下:
[ INFO ] --------------------Start Compile...--------------------
Compile: main.c...
Error: C9555E: Failed to check out a license.LICENSE ERROR (R207(3): REGISTRY READ ERROR)
Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
http://www.keil.com/support/man/docs/license/license_management.htm
If you need further help, provide this complete error report to your supplier or [email protected].
ERROR 生成错误 : Unknown Error On: C:\Users\Shaowp.vscode\extensions\cl.eide-1.0.2\bin\ARM\ARM_BIN\ARM\ARMCC\bin\armcc.exe
openocd 下载时,能不能加一个 run to main 的选项,现在是需要手动复位的
可以调用sdcc等工具
你好, 我想在编译的时候,同时输出.s汇编文件, 请问需要设置哪里才可以做到.
目前可以在mac和linux上安装sdcc来编译c51,希望加入支持
你好。
EIDE的串口工具在点击打开时可以选择串口号。但是波特率都是固定的,不太灵活。
建议在选择打开串口号之后,增加一个串口波特率的设置,
可以设置为用户输入或者提供一个list,里面包含常用的波特率,如4800,9600,19200,115200,25600等,这样就比较方便了。
感谢
另外配置里的RAM和ROM的大小 也无法更改, 更改会单独成行.
这是个很好的项目,作为一个stm32的初学者,通过解决使用这个插件的过程中遇到的问题,基本上对工程文件的几乎每个部分都有了一定程度的了解。不过我使用的开发板有usb串口,相比起usb的串口,stlink的jtag接线实在是太麻烦了,不仅线多,而且还得外接电源。所以我希望能有一个支持usb串口下载的功能。
NICE! 1.13
现在个人认为可以考虑:
1.下载后可以自动复位的功能
2.下载路径,编译成功后自动加载
3.可选ARM Compiler v6编译器,现在用V6也很多了 (V6的配置和V5不同,所配置的东西也不一样)
4.自动生成Cortex-Debug调试配置,可选择Jlink openocd stlink(stutil)等其他的
还有log可以换鲜明一些的,感觉比较正式。
现在还有假期,没事的时候,可以研究研究。。。。。
const USER_GENERAL_CONFIG_T sUserConfigDefaultT =
{
{ 0 }, // 虚拟ID
"自定义字符段(16个汉字或32个字符)", // 自定义字符段
60, // 数据采集周期
0, // 预留
100000, // 粉尘仪 K 值
};
Error: #144: a value of type "char [46]" cannot be used to initialize an ent
这个项目非常赞,期待
1.12.2 版本 添加的头文件、源文件、库文件路径 无法删除点击后面的小红叉删除掉
可以请博主出个C++的模板,现在大部分都是c的,感觉开发效率太低了,很麻烦,改来改去的,容易出错
*** ERROR L257: UNKNOWN
ERROR 生成失败(build Failed) : Link Error
Hi,
Firstly, thanks for this cool plug in!
I have a very big project using the old format uvproj. So it seems I cannot import it into the plug-in 😕 Is it a big deal to transform a uvproj to uvprojx format? I took a look at the xml and it seems it's almost the same except packages ( that I don't use). What I have to change manually to be able to import it in Eide?
Regards,
Yann
按照教程导入KEIL项目
keil版本 529
编译的芯片 ST的F765ZIT6
安装完F7的pack包(Keil.STM32F7xx_DFP.2.12.0.pack)
未修改其他任何的设置
无法编译,提示如下错误
PS xxxxxx[以上为项目路径,省略]> & c:\Users\Administrator.vscode\extensions\cl.eide-1.10.1\bin\ARM\General_Builder_V6.exe -b D:\Keil_v5\ARM -d e:\xxxxxx[以上为项目路径,省略].EIDE -M c:\Users\Administrator.vscode\extensions\cl.eide-1.10.1\bin\ARM\arm.v5.model.json -p e:xxxxxx[以上为项目路径,省略]\out\arm_builder.params -o e:xxxxxx[以上为项目路径,省略]\out -m Normal-MULTHREAD
ERROR Init params failed !, 未能找到路径“xxxxxx[以上为项目路径,省略]\out\arm_builder.params”的一部分。
请问,这个插件支持断点调试功能吗?
在下载时,点击下载按钮之后,调用OpenOCD的命令错误,导致OpenOcd无法识别 .hex 文件的目录
D:\Environment\openocd-0.10.0\bin\openocd.exe -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "reset init" -c "program "d:\\WorkSpace\\EIDEProject\\BootLoader\\out\Release\\BootLoader.hex\"
指令修改之后是可以的
D:\Environment\openocd-0.10.0\bin\openocd.exe -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "reset init" -c "program "d:/WorkSpace/EIDEProject/BootLoader/out/AC5/BootLoader.hex\" verify reset exit"
Project里面的源码文件,显示的是完整路径,如果文件路径比较深,左侧窗口需要拉伸很宽才能看到源文件的文件名,是否可以增加一个选项只显示源文件文件名,不显示源文件的路径?
keil安装在 D:\Program Files (x86)\ 目录下,编译时会由于目录名中的空格出现找不到路径的问题,不知道这个问题能解决吗
编译配置不随动,还要手动改,而且RAM和ROM的size更改,只会在下面另加,而不会在需要修改的地方修改.
还有编译报错,keil中没问题, uint8_t 都不是识别,加头文件stdint.h也不行.
与keil相比生成的代码大小有一些差别?主要是什么原因?优化配置吗
PS C:\Users\Administrator\Desktop\F4\F1\USER\ICAPTURE> & 'c:\Users\Administrator.vscode\extensions\cl.eide-1.0.4\bin\ARM\ARM_Builder.exe' -b 'c:\Keil' 'c:\Users\Administrator\Desktop\F4\F1\USER\ICAPTURE.\out\ICAPTURE.params'
"c:\Users\MicroLin\Documents\STM32\vSCODE\LED_test.\src\Drivers#STM32F1xx_HAL_Driver\stm32f1xx_hal_rcc_ex.c", line 116: Error: #268: declaration may not appear after executable statement in block
FlagStatus pwrclkchanged = RESET;
^
c:\Users\MicroLin\Documents\STM32\vSCODE\LED_test.\src\Drivers#STM32F1xx_HAL_Driver\stm32f1xx_hal_rcc_ex.c: 0 warnings, 1 error
ERROR 生成错误 : Unknown Error On: c:\Keil_v5\ARM\ARMCC\bin\armcc.exe
在keil内编译没有问题。头文件加载不进来
The zoom of operation is empty。
配置完成后,编译C51,提示找不到 reg52.h,错误信息如下,请问是怎么回事?
C File: f:\C51\chaoshengbo\目标 1.\src\源组 1\main.c
[ INFO ] --------------------Start Compile...--------------------
C51 COMPILER V9.56.0.0 - SN: K1FMC-G68IKC
COPYRIGHT Copyright (C) 2012 - 2016 ARM Ltd and ARM Germany GmbH. All rights reserved.
*** WARNING C318 IN LINE 1 OF f:\C51\chaoshengbo\目标 1.\src\源组 1\main.c: can't open file 'reg52.h'
*** ERROR C202 IN LINE 2 OF f:\C51\chaoshengbo\目标 1.\src\源组 1\main.c: 'P1': undefined identifier
*** ERROR C202 IN LINE 17 OF f:\C51\chaoshengbo\目标 1.\src\源组 1\main.c: 'LED0': undefined identifier
*** ERROR C202 IN LINE 19 OF f:\C51\chaoshengbo\目标 1.\src\源组 1\main.c: 'LED0': undefined identifier
C51 COMPILATION COMPLETE. 1 WARNING(S), 3 ERROR(S)
ERROR 生成失败(build Failed) : Compile C File: f:\C51\chaoshengbo\目标 1.\src\源组 1\main.c Error
PS F:\C51\chaoshengbo\目标 1>
我把.lib库文件复制到项目源代码目录下,但是链接时还是没有把该.lib库文件加入链接。该.lib库文件的目录地址也已加入库目录列表中。不知道该如何操作?
E:\MyDevelop\TestC51\myc51>& 'c:\Users\Administrator.vscode\extensions\cl.eide-1.0.4\bin\C51\C51_Builder.exe' -b 'c:\Keil_v5' -s 'e:\MyDevelop\TestC51\myc51.\src' -i 'c:\Keil_v5\C51\INC;e:\MyDevelop\TestC51\myc51.\dependence\build-in\STD;e:\MyDevelop\TestC51\myc51.\dependence\build-in' -d 'e:\MyDevelop\TestC51\myc51.\out' -o '8' -t '0'
此时不应有 &。
问题:导入工程失败
提示: Error : ENOENT: no such file or directory, mkdir 'e:\Demo\Demo\demotst\Target 1\src_bsp_hal_/bsp_hal_delay'
尝试着导入了好多工程都没有成功都是报这个错误~
(作者加油啊,我之前也做了个keil vs工程互转的小脚本 用起来没你这个这么方便(主要是不会做vs插件~),望楼主加油把这个项目做好,是广大嵌入式开发者的福音啊!)
我找了很久没找到怎么把一个工程导出成模板。
每次创建新工程只能用默认的工程模板,然后走一遍以下流程:
我想也许可以增设一个“导出工程为模板”按钮在OPERATION栏里面,这样方便用户使用自己的模板。
安装完成后,编译时显示如下错误:
E:\STM32WS\Template\EIDE\Demo>& 'c:\Users\Administrator.vscode\extensions\cl.eide-1.0.4\bin\ARM\ARM_Builder.exe' -b 'd:\keil\MDK526' 'e:\STM32WS\Template\EIDE\Demo.\out\Demo.params'o.params'
此时不应有 &。
keil中可以编译,导入keil工程后在自定义依赖中也看到了所需依赖,但是编译不通过,找不到头文件。。。
Compile: stm32f10x_it.c...
"c:\Users\Wu_Wi\Desktop\233\Target 1.\src\User\stm32f10x_it.c", line 25: Error: #5: cannot open source input file "stm32f10x_it.h": No such file or directory
#include "stm32f10x_it.h"
^
c:\Users\Wu_Wi\Desktop\233\Target 1.\src\User\stm32f10x_it.c: 0 warnings, 1 error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.