Skip to content

CSolution RPC: GetComponentsTree returns inconsistent options for same aggregate #39

Description

@arneschmid

vscode-cmsis-solution 1.66

GetComponentsTree returns different data for the same aggregate in consecutive calls with identical params.

csolution-rpc-log.txt

Request (both calls):

{"method":"GetComponentsTree","params":{"context":"AlgorithmTest.DebugRec+AppKit-E8-U85","all":false}}

Call id 11 includes options:

{
  "id":"PyTorch::Machine Learning:ExecuTorch:Kernel Utils",
  "name":"Kernel Utils",
  "options":{"layer":"C:/etc/git/examples/ModelNova/RockPaperScissors/AppKit-E8_USB/ai_layer/ai_layer.clayer.yml"},
  "selectedCount":1
}

Call id 17 omits options:

{
  "id":"PyTorch::Machine Learning:ExecuTorch:Kernel Utils",
  "name":"Kernel Utils",
  "selectedCount":1
}

Layer info disappears when switching from cproject.yml to clayer.yml, causing the components to be unselectable.

This can be reproduced using the ModelNova solution https://github.com/Arm-Examples/ModelNova

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions