Skip to content

[bug] Can not import Keil Project #509

@he-johnson

Description

@he-johnson

What are you doing?
I want to import a Keil project. The *.uvprojx file is in a sub-directory.

Describe the bug
While the Import operation complete, the source files outside the sub directory which contain the *.uvprojx file, can not be load into the EIDE project.

To Reproduce
do the import steps.

Expected behavior
load all the file descripted in the *.uvprojx.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 10
  • EIDE Version 3.26.5
  • VSCode Version 1.90.0

Additional context
the import log:
[Info] [2026/03/23 16:25:08 GMT+0800] Embedded IDE launch begin
[Info] [2026/03/23 16:25:08 GMT+0800] Checking .NET runtime ...
[Info] [2026/03/23 16:25:08 GMT+0800] Exec cmd: 'dotnet --list-runtimes'
Microsoft.NETCore.App 6.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
[Info] [2026/03/23 16:25:08 GMT+0800] .NET runtime: 'Microsoft.NETCore.App 6.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]' found !
[Info] [2026/03/23 16:25:09 GMT+0800] reinstall jinja2
[Info] [2026/03/23 16:25:10 GMT+0800] builtin pkg patch done.
[Info] [2026/03/23 16:25:12 GMT+0800] Embedded IDE launch done
[Info] [2026/03/23 16:25:12 GMT+0800] Active extension: 'ms-vscode.cpptools'
[Info] [2026/03/23 16:25:15 GMT+0800] Updating Compiler Database
[Info] [2026/03/23 16:25:16 GMT+0800] start generating compiler database ...
[Info] [2026/03/23 16:25:16 GMT+0800] Updating Compiler Database
[Info] [2026/03/23 16:25:17 GMT+0800] start generating compiler database ...
[Warn] [2026/03/23 16:25:17 GMT+0800] Fail to exec "unify_builder -p d:\src\keil\SC2006A\SC2006_SDK_V2.2.7_20260309\project\SC2006\Demo\build\SC2006_Demo_release\builder.params --rebuild --only-dump-compilerdb", code=3762504530
[Info] [2026/03/23 16:25:19 GMT+0800] Source Map Database Path: d:\src\keil\SC2006A\SC2006_SDK_V2.2.7_20260309\project\SC2006\Demo\build\SC2006_Demo_release\ref.json
[Info] [2026/03/23 16:25:19 GMT+0800] Compiler Database Path: d:\src\keil\SC2006A\SC2006_SDK_V2.2.7_20260309\project\SC2006\Demo\build\SC2006_Demo_release\compile_commands.json
[Warn] [2026/03/23 16:25:32 GMT+0800] [Keil RTE Import] dependence 'Device\ARM\ARMCM0\Source\ARM\ARMCM0_ac6.sct' is not a source file !
[Warn] [2026/03/23 16:25:32 GMT+0800] [Keil RTE Import] No such file 'd:/src/keil/SC2006A/SC2006_SDK_V2.2.7_20260309/project/SC2006/Demo/RTE/Device/ARMCM0/startup_ARMCM0.c'
[Warn] [2026/03/23 16:25:32 GMT+0800] [Keil RTE Import] No such file 'd:/src/keil/SC2006A/SC2006_SDK_V2.2.7_20260309/project/SC2006/Demo/RTE/Device/ARMCM0/system_ARMCM0.c'
[Info] [2026/03/23 16:25:34 GMT+0800] Updating Compiler Database
[Info] [2026/03/23 16:25:35 GMT+0800] start generating compiler database ...
[Info] [2026/03/23 16:25:35 GMT+0800] Source Map Database Path: d:\src\keil\SC2006A\SC2006_SDK_V2.2.7_20260309\project\SC2006\Demo\build\SC2006_Demo_release\ref.json
[Info] [2026/03/23 16:25:35 GMT+0800] Compiler Database Path: d:\src\keil\SC2006A\SC2006_SDK_V2.2.7_20260309\project\SC2006\Demo\build\SC2006_Demo_release\compile_commands.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions