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

Templates with multiple targets #96

Open
ReinhardKeil opened this issue Oct 21, 2024 · 0 comments
Open

Templates with multiple targets #96

ReinhardKeil opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ReinhardKeil
Copy link
Collaborator

ReinhardKeil commented Oct 21, 2024

The pack https://github.com/VladimirUmek/NXP_FRDM-MCXN947_BSP/releases contains a template with two targets: "Device with RAM/ROM". This enables configurations with a Flash (ROM) and RAM target that can be easily selected by using the Manage Solution / Context Set dialog.

The template is registered here:
https://github.com/VladimirUmek/NXP_FRDM-MCXN947_BSP/blob/main/NXP.FRDM-MCXN947_BSP.pdsc#L1750

It effectively defines targets with:

  # List different hardware targets that are used to deploy the solution.
  target-types:
    - type: ROM
      variables:
        - LinkerScript: <script_for_ROM>

    - type: RAM
      variables:
        - LinkerScript:: <script_for_ROM>

In the moment, the VSCode extension cannot handle this type of templates. We should define how we extend it.

@ReinhardKeil ReinhardKeil added the enhancement New feature or request label Oct 21, 2024
@jkrech jkrech moved this to Backlog in CMSIS Solution Extension Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant