GithubHelp home page GithubHelp logo

Comments (12)

github0null avatar github0null commented on August 22, 2024

4.Cortex-Debug 的其他选项手动配置会方便些, 插件只会帮你设置好elf和svd的路径、芯片类型、cpu类型,其他选项不管;如果没有发现 cortex-debug 配置项,则会创建一个默认的,默认的是 jlink

其他功能会慢慢实现的

感谢支持

from eide.

fyyxxm avatar fyyxxm commented on August 22, 2024

1.14 导入keil工程,根本导入成功不了。
但是的确会在保存的文件夹内,新建一些文件。

from eide.

github0null avatar github0null commented on August 22, 2024

已经发了更新

因为修改了许多东西,所以有点小 bug

from eide.

fyyxxm avatar fyyxxm commented on August 22, 2024

刚才测了下.

  1. 实测 找不到.h文件。 试了F1 F4 H7,路径有无中文,带不带RTOS。都报错,说.h找不到···不同的.h头文件,试了几次。例如带RTOS时,找不到FREERTOS.H, 我在依赖里,把包含这个头文件的路径删掉,重新加载,还是不行。
    2.(非重点),如果keil里的文件是UTF-8格式的,包含中文,通过EIDE导入VScode里,会出现乱码。通过VSCODE设置文件格式为UTF-8或者GBK 也依然是乱码····

不要觉得我烦哈,我只是帮你测试下,提交问题。。。。。

from eide.

github0null avatar github0null commented on August 22, 2024
  1. 这个问题不够详细,我导入了 RT-Thread 里的模板工程 atk-explorer 导入完成直接编译和 keil 直接编译的效果一样,
    我自己的一些工程在发布前也试过了,没找到问题出在哪里,

2.这个情况在之前的更新里提到过,无BOM头的 UTF-8 很难识别,所以就算是 utf8 的也会再转换一遍,但是大部分keil工程默认都是GBK的,所以一般都是正常的,这个问题以后会解决的

很高兴你能提出意见,这会帮助我把这个工具做的更好(反正在家也很无聊),主要是我自己的工程太少太简陋了,有很多细节问题没办法在我的工程里重现

from eide.

fyyxxm avatar fyyxxm commented on August 22, 2024

找不到头文件的问题,是因为我用错编译器了。。。
现在编译就是这,该怎么设置呢。吧AXF转ELF关掉了,还是这
E:\git\first_case\f1\22\LL_NEW>& 'c:\Users\fyyxx.vscode\extensions\cl.eide-1.2.0\bin\ARM\ARM_Builder.exe' -b 'D:\Keil_v5' 'e:\git\first_case\f1\22\LL_NEW\out\LL_NEW.params'
& was unexpected at this time.

E:\git\first_case\f1\22\LL_NEW>& 'D:\Keil_v5\ARM\ARMCC\bin\fromelf.exe' --bin --output 'e:\git\first_case\f1\22\LL_NEW\out\LL_NEW.bin' 'e:\git\first_case\f1\22\LL_NEW\out\LL_NEW.axf'
& was unexpected at this time.

from eide.

github0null avatar github0null commented on August 22, 2024

终端是Powershell

from eide.

fyyxxm avatar fyyxxm commented on August 22, 2024

两个小问题:
项目依赖里的宏定义:最好默认加个__CC_ARM (仅限AC5,AC6不是这个宏定义)
因为加了这个,编辑文件的时候,就可以自动联想补全代码了,不加的话,都会被认为 未定义,所以很多系统函数不能自动联想和补全。 加不加,都不影响编译和结果。

还有个,编译选项的RAM和ROM layout,自动生成的和KEIL里的不一样,里面的值是一样的,但是默认勾选是不一样的!!!!虽然不影响编译,但是影响程序执行。 (STM32H743II实测)

上面两个问题,可改可不改,毕竟可以自己动手改,不改的话最好在教程里 说明下。

from eide.

github0null avatar github0null commented on August 22, 2024
  1. 可以在插件设置里自己加, release/Debug 的宏列表(设置有全局和仅工作区的),设置好之后切换一下模式或者重开一下项目就能完成添加

  2. 看了以下,你说的应该是 启动ROM 没有正确勾选, 这是包描述文件参数导致的,
    t
    上图 startup 字段 标记了这段ROM是不是默认的启动ROM,两个都选中了,但是启动ROM只允许有一个,所以插件里后面的选项覆盖了前面的,不知道 Keil 是怎么判断的,下次更新如果两个都选直接默认第一个就行了

from eide.

github0null avatar github0null commented on August 22, 2024

补充一下,导入时的编码问题,原来设了一个选项 AutoConvertFile, 你可以在导入之前关掉它,这样在导入时不会作任何编码转换,你可以试一下

from eide.

fyyxxm avatar fyyxxm commented on August 22, 2024

是的,但是RAM其实也错了,H743II EIDE默认里默认吧off chip里的RAM也全部勾选了,KEIL只是把on chip里的RAM勾选。
我说的RAM勾选是前面的default勾选,非后面的nolinit勾选

from eide.

github0null avatar github0null commented on August 22, 2024

确实是的,刚才没注意看RAM,RAM 和 ROM 一样描述文件里都默认选中了,我再改一下就行了

t

from eide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.