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

Reduce size of DFP packs with a superset SVD file? #1833

Open
ReinhardKeil opened this issue Oct 29, 2024 · 1 comment
Open

Reduce size of DFP packs with a superset SVD file? #1833

ReinhardKeil opened this issue Oct 29, 2024 · 1 comment
Labels
discussion Indicates an issue being in discussion enhancement New feature or request

Comments

@ReinhardKeil
Copy link
Collaborator

ReinhardKeil commented Oct 29, 2024

The Problem To Be Solved

System Description Files (SVD) files provide information about the device peripherals. The DFP (device family pack) information contains SVD files. For DFPs that frame a large device family, today each device may contain a different SVD file. However as it is a device family the difference is mostly in number of peripherals. Frequently a super-set device exists.

What are the best ways to create a super-set SVD file:

  • Would it be feasible to use a C preprocessor to extract only the information required?

  • How can we ensure backwards compatibility for the large set of tools that are supporting todays format?

    • Do we extend cpackget?
@ReinhardKeil ReinhardKeil added the enhancement New feature or request label Oct 29, 2024
@ReinhardKeil ReinhardKeil changed the title Reduce size of DFP packs Reduce size of DFP packs with a superset SVD file? Oct 29, 2024
@jkrech
Copy link
Member

jkrech commented Oct 29, 2024

See PR from Tarek here: Open-CMSIS-Pack/svd-spec#13

There is two size aspects:
a) size of zipped pack archive file itself
b) size after extraction on disk
-> generate SVD file targeted to the selected/used device

@jkrech jkrech added the discussion Indicates an issue being in discussion label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Indicates an issue being in discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants