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

Link project build configuration and .rteconfig components variants #94

Open
sergio-soar-es opened this issue Jun 26, 2020 · 2 comments

Comments

@sergio-soar-es
Copy link

sergio-soar-es commented Jun 26, 2020

Hi guys,

There is one use case we would love to have on the CMSIS-Packs plugin (not sure if it's possible).
In our projects, we sometimes use different variants of the same component. For example, we may choose a low power variant of the Bluetooth Stack.

Before CMSIS-Packs, we would just create 2 build configurations: one would link to the the FULL library and the other one would link to the low power version of the library.

Now, with CMSIS-Packs, this is no longer possible, because the RTE Components (.rteconfig file) are not linked to build configurations.

Are there any plans to add support for this?

Thank you.

@edriouk
Copy link
Contributor

edriouk commented Jun 29, 2020

Hi Sergio,
we considered possibility to have separate/shared RTE configurations for each CDT build configuration from the very beginning.
We have decided then to use single configuration due to complexity reasons:

  1. Eiting multiple configurations in a single editor or synchronizing several editors is difficult. How would you imagine such editor (with selection validation)?
  2. Synchronization with CDT. Accessing some information or setting values is not always possible via CDT public API. Some tricks are already used to do that.

Therefore we do not see possibility to support multiple configurations in the observable future.

@sergio-soar-es
Copy link
Author

Thanks, @edriouk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants