Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Access sequence $Bname$ contains also vendor prefix before 'Bname' #205

Open
2 of 13 tasks
RobertRostohar opened this issue Nov 14, 2024 · 2 comments
Open
2 of 13 tasks
Assignees
Labels
bug Something isn't working

Comments

@RobertRostohar
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Access sequence $Bname$ contains the board name but also the vendor (when defined).
Access sequence $Dname$ only contains the device name and not the vendor (expected).

Expected Behavior

$Bname$ should contain only the board name as specified in the documentation.

Access Sequences

  • $Bname$: Bname of the selected board as specified in the board: node.

Steps To Reproduce

csolution.yml

  target-types:
    - type: STM32H745I-DISCO
      board: STMicroelectronics::STM32H745I-DISCO
      device: STMicroelectronics::STM32H745XIHx

cproject.yml

      files:
        - file: test_$Bname$.c
        - file: test_$Dname$.c

cbuild generates cbuild.yml

      files:
        - file: test_STMicroelectronics::STM32H745I-DISCO.c
          category: other
        - file: test_STM32H745XIHx.c
          category: sourceC

Affected tools

  • cbuild
  • cbuild2cmake
  • cpackget
  • csolution
  • packchk
  • svdconv

Affected operating systems

  • Windows amd64
  • Windows arm64
  • Linux amd64
  • Linux arm64
  • MacOS amd64
  • MacOS arm64

Environment

cmsis-toolbox 2.6.1
Windows 11

@RobertRostohar RobertRostohar added the bug Something isn't working label Nov 14, 2024
@brondani brondani self-assigned this Nov 15, 2024
@brondani brondani moved this to Backlog in CMSIS-Toolbox 2.7.0 Nov 15, 2024
@ReinhardKeil
Copy link
Collaborator

Most likely duplicate of Open-CMSIS-Pack/devtools#1846

@jkrech
Copy link
Member

jkrech commented Nov 15, 2024

This just proofs that this expansion with vendor is not limited to the regions: node but probably to all nodes that support the expansion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

4 participants