Skip to content

Sync with CMSIS repo / allow use of CMSIS-DSP #5700

@bmcdonnell-ionx

Description

@bmcdonnell-ionx

Description

  • Type: Enhancement
  • Priority: Major | Minor (somewhere in this range)

Enhancement

Reason to enhance or problem with existing solution

There is no straightforward or maintainable way to utilize the parts of CMSIS which are not already included by mbed-os, e.g. CMSIS-DSP.

This is due to the subset of files chosen from the CMSIS repo, which are taken from different revisions of the CMSIS repo, organized in a different folder structure, and further customized within mbed-os. (In my working copy of mbed-os, I did git log --all --graph --decorate cmsis to investigate this. I'm not aware of those customizations being pushed upstream.)

Suggested enhancement

  • Most importantly, keep in sync with the CMSIS git repo. If necessary (due to organizational reasons or whatever), fork it, and maintain your own mbed branch.
  • Do not rearrange the file/folder structure of CMSIS in the mbed-os tree. Optionally remove some files/folders in the mbed-os CMSIS folder subtree, if necessary.
    • Or maybe even somehow pull all of CMSIS in as a sublibrary. Optionally utilize the pre-built library files provided by CMSIS. (This may be a separate later improvement.)

Pros

  • Easy to promptly integrate bugfixes and enhancements from upstream CMSIS.
  • Easy to use excluded parts of CMSIS; or the whole thing will be available.

Cons

  • Effort / up-front work to implement this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions