😶+😑=😐
github0null / keil-assistant Goto Github PK
View Code? Open in Web Editor NEW此插件已不再更新,如有需要,请下载源码自行编译后使用
License: MIT License
此插件已不再更新,如有需要,请下载源码自行编译后使用
License: MIT License
😶+😑=😐
在x:/Users/user/AppData/Local/Arm中的头文件不能自动添加到c_cpp_properties.json文件中
This is an awesome plugin of vscode and it indeed help me configure my projects, while I think it will be better if the debug properity is added into this system.
At last, thanks for your working!:smile:
release V1.7.0
click build or rebuild button work properly
shortcut key 'f7' and 'ctrl+alt+f7' doesn't work, it shows warning message "Not found any active target!"
thank you
工程在keil里编译通过,但是在VS里用插件打开会有波浪线
源文件在c_cpp_properties.json里的 includePath中,但还是报 无法打开源文件
keil-assistant.log
`[info] Log at : 2021/1/5|13:24:48|GMT+0800
[SyntaxError: Unexpected token / in JSON at position 1239
at JSON.parse ()
at F.updateCppProperties (c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:10911)
at F. (c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:12641)
at Generator.next ()
at c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:4542
at new Promise ()
at r (c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:4287)
at F.load (c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:11372)
at w. (c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:8799)
at Generator.next ()
at a (c:\Users\XXXXX.vscode\extensions\cl.keil-assistant-1.7.0\dist\extension.js:1:4344)
at processTicksAndRejections (internal/process/task_queues.js:94:5)]
[info] Log at : 2021/1/5|13:25:00|GMT+0800
[info] Log at : 2021/1/5|13:25:27|GMT+0800
`
keil 有多个Project Targets的时候VSCode全局宏定义只固定生效第一个
我在keil里面可以building和load,但是在VScode里面出现可以bulit,但是无法load的情况,报错信息:
Load "..\OBJ\LED.axf"
Erase Failed!Error: Flash Download failed - "Cortex-M3"
Flash Load finished at 20:08:14
这个是什么原因捏
在我添加某个工程时,错误的将ARM工程识别为C51工程。
我的工程路径下有部分文件命名包含“C51”文字
Thanks for this - looks very good so far.
The -z option rebuilds all the targets in the project not just the current active target. I tried doing it myself but the Keil Uvision Project panel will not refresh when I run the modified extension.
Also I cannot get the F7 key to build I have to press the button in the Keil Uvision Project panel, but the Control+Alt+F7 command works from the keyboard shortcut.
工程文件在路径/prj下,打开工程文件后,只能显示prj文件夹内的文件,请教无法显示prj同等级路径下的代码文件夹是啥原因?
使用VScode打开MDK-ARM时可以自动加载出上次打开的工程,打开上一层目录时不行。生成的.vscode默认在MDK-ARM里面,可不可以识别当前打开的目录然后放在当前目录下呢
github 太卡的,也可以在论坛上交流
点击build后,看到默认使用-j0 去编译,有些片子的flash比较紧张,默认优化等级会导致固件太大,无法下载进flash
open project failed !, msg: EISDIR: illegal operation on a directory, watch 'z:\F\Desktop\FLASH_CRC_example_for_GD32F103\Project\MDK-ARM\Project.uvproj'
主机 win10
虚拟机 win7 32bit
ATT
如题,内联汇编代码高亮显示不正常,无代码补全。
我是同时需要C51 和ARM cortex,请问是需要安装这两个吗?还是安装EIDE或者keil-assistant 的其中一个就好了
还是关于目录的问题,既必须open mdk-arm目录才能正确使用
我看过改workspace的方案,但是
之前从没用过workspace,都是直接开的folder,然后Projects!插件也全部定义的根目录,.vscode也全部在跟目录
全部转化出workspace挺麻烦的,Projects插件也得调
可以加一个feature默认从选定目录的MDK-ARM子目录加载吗?
在国内,很少有人把KEIL文件编码设置为UTF8,一般都是GB系列的中文编码
推荐增加一个配置项,让用户选择默认打开KEIL工程时的编码
问题是这样,Nordic的工程在SDK里面,单独使用一个例程时复制sdk里面的组件源文件非常繁琐,希望添加一个功能按照keil的文件夹方式组织一个新的源码目录,主要是复制c文件和h文件,
目前.vscode文件夹会建在.uvprojx所在目录,以后只有右键打开这个目录才能看到工程,但这个目录下没有源码就没法Ctrl+P。
多半情况源码在更上层的目录上,个人也更倾向直接右键打开工程根目录开始工作,只有这样git等插件才会工作,源码也可以都看到。
.uvprojx文件可以通过指定位置方式记录在配置文件中,但最好是相对位置
生成的c_cpp_properties.json文件includePath也最好是相对位置,因为每个人工程放的位置不一样,多人协作有些问题
个人建议.vscode新建在工程根目录下
Hi.
When you open a project, it opens an empty project. There are no files.
Hi, I really like your project. My issue is when I write code on vscode, it doesn't update default library used in Keil (stdint.h etc). How can I solve it? Thanks!
Activating extension 'cl.keil-assistant' failed: Cannot find module 'c:\Users\Desktop\test_keil assistant\keil-assistant\dist\extension.js'
Require stack:
win10
Keil MDK support also C166 Target... Have you planned to implement it ?
P.S.: C166 works also with uVision 5
Thanks
把工程文件放入指定文件夹PROJECT(非工程根目录),虽然可以自动生成c_cpp_properties.json并配置路径,但不起作用
PS E:\keil_project\freertos_f407ve> ls
目录: E:\keil_project\freertos_f407ve
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2021/6/11 21:39 CMSIS
d----- 2021/6/11 20:55 FreeRTOS
d----- 2021/6/11 21:13 FWLIB
d----- 2021/6/12 12:19 OUTPUT
d----- 2021/6/12 12:10 PROJECT
d----- 2021/6/11 21:28 STARTUP
d----- 2021/6/11 22:43 USER
PS E:\keil_project\freertos_f407ve>
表现如下:
1.加载工程后,不跳转工作区,直接打开任意.c文件,比如main.c,提示找不到头文件,F12也无法跳转
2.跳转到工作区,也只显示project文件夹下内容,其他上层目录比如USER等不显示
3.手动在工作区打开根文件freertos_f407ve,无法自动加载PROJECT文件夹下的.vscode,导致头文件找不到
4.手动将.vscode(c_cpp_properties.json)拷贝一份,到根目录下,才可以
考虑将来工程配置更新后(PROJECT/.vscode/c_cpp_properties.json),仍需手动拷贝的麻烦
你好,我在VS Code打开我的工作文件夹,但是由于项目文件(.uvprojx)是在当前目录的子文件夹下,所以没法自动识别,需要手动打开,每次重新打开VS Code都需如此,是否可以增加自动检索当前工作空间下(包含子文件夹)的项目文件的功能,谢谢!
写51单片机程序
sbit 引脚定义后 sbit led = P2^0;
P2^0报错 红色下换线 这个要怎么设置呢
C:\Keil_C51_v956\UV4 -b c:\Users\Administrator\Desktop\test\test.uvproj -j0 -t test -o c:\Users\Administrator\Desktop\test.vscode\uv4.log
'C:\Keil_C51_v956\UV4' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
终端将被任务重用,按任意键关闭。
It would be extremely convenient if one could use Keil Assistant to manage and compile multiple projects from within a multi-project workspace. File extension being *.uvmpw
keil-assistant works greatly on my PC for a long time.
Today when I opened a copy of a project and use hotkey like usual, I get a info from right bottom corner saying "Not found any active target". It works fine if use mouse to click buttons. Anyone met same problems?
我工作电脑keil在c目录,家庭电脑keil在d目录。为保证c_cpp_properties.json 在两台电脑上都能使用,避免每次改动,我通过在两台机器上定义环境变量KEIL_HOME来解决这个问题。但发现每次修改后都会被插件重置为本机的绝对路径。
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.