ARM-software / vscode-cmsis-csolution

Extension support for VS Code CMSIS Project Extension
https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution
Other
23 stars 5 forks source link

Issue importing a project which had scatter file #29

Closed Frisc98 closed 1 year ago

Frisc98 commented 1 year ago

Type: Bug Report

Describe the bug

image

To Reproduce Steps to reproduce the behavior: -Create a new project in Keil uVision and tick _"Use memory Layout from Target Dialog" in linker tab when selecting "Options for Target". -Compile the project so *.sct file gets generated

Additional context I'm trying to build it using arm-none-eabi version 12.2.1, not using AC5/6

mcgordonite commented 1 year ago

Hi @Frisc98, we're planning to upgrade the μVision to Csolution import in the next few weeks. This will change how scatter files are processed slightly:

  1. The new importer will not reference the scatter file that got generated by μVision
  2. The new importer will generate a new scatter file in the project folder _.sct based on the memory regions defined in uvprojx.
  3. The cproject will reference this newly generated scatter file.

It's worth noting that the import doesn't convert an Arm Compiler project to a GCC project.

Frisc98 commented 1 year ago

Any news on this?

mcgordonite commented 1 year ago

Scatter file support should be present in the latest release. Let us know if you still have issues.