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

Provide information for Debug tools and programmers #1831

Open
ReinhardKeil opened this issue Oct 29, 2024 · 3 comments
Open

Provide information for Debug tools and programmers #1831

ReinhardKeil opened this issue Oct 29, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ReinhardKeil
Copy link
Collaborator

ReinhardKeil commented Oct 29, 2024

The Problem To Be Solved

Debug tools and programmers require target information that is already present in the software packs (DFP, BSP). Can this be simplified by adding information i.e. to the cbuild-idx.yml file or the cbuild.yml files?

The packs contain:

  • Flash algorithms
  • Device parameters
  • Device name
  • Board parameters
  • Board name
  • Memory Information
  • Debug connect information

How can this information be effectively provided to Debug tools and programmers?
In the VSCode this could be obtained using features, but that method fails in CLI usage.

What needs to be extended and how?

Example cbuild-idx.yml information

build-idx:
  generated-by: csolution version 2.6.0
  description: USB Device examples
  cdefault: cdefault.yml
  csolution: USB_Device.csolution.yml
  tmpdir: tmp
  cprojects:
    - cproject: HID/HID.cproject.yml
      clayers:
        - clayer: HID/$Board-Layer$
    - cproject: MassStorage/MassStorage.cproject.yml
      clayers:
        - clayer: MassStorage/$Board-Layer$
    - cproject: VirtualCOM/VirtualCOM.cproject.yml
      clayers:
        - clayer: VirtualCOM/$Board-Layer$
  cbuilds:
    - cbuild: HID/HID.Debug+STM32U585AIIx.cbuild.yml
      project: HID
      configuration: .Debug+STM32U585AIIx
      clayers:
        - clayer: Board/B-U585I-IOT02A/Board.clayer.yml
        - clayer: Board/B-U585I-IOT02A/CubeMX/Board.cgen.yml

Example cbuild.yml information

build:
  generated-by: csolution version 2.6.0
  solution: ../USB_Device.csolution.yml
  project: HID.cproject.yml
  context: HID.Debug+STM32U585AIIx
  compiler: AC6
  board: STMicroelectronics::B-U585I-IOT02A:Rev.C
  board-pack: Keil::[email protected]
  device: STMicroelectronics::STM32U585AIIx
  device-pack: Keil::[email protected]
  processor:
    dsp: on
    endian: little
    fpu: sp
    trustzone: off
    core: Cortex-M33

Relates to:

@ReinhardKeil ReinhardKeil added the enhancement New feature or request label Oct 29, 2024
@ReinhardKeil
Copy link
Collaborator Author

This is the Proposal for Run+Debug Management in CMSIS-Toolbox.

Please provide feedback specifically on the questions.

@ReinhardKeil
Copy link
Collaborator Author

Related #1857

@ReinhardKeil
Copy link
Collaborator Author

Implementation is now covered under Experimental Features #1867.

Leaving this issue open to collect feedback on the proposal.

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
None yet
Development

No branches or pull requests

2 participants