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

[CTF]: Compile-time configuration of components #10138

Open
1 of 3 tasks
jia200x opened this issue Oct 9, 2018 · 1 comment
Open
1 of 3 tasks

[CTF]: Compile-time configuration of components #10138

jia200x opened this issue Oct 9, 2018 · 1 comment
Labels
TF: Config Marks issues and PRs related to the work of the Configuration Task Force Type: tracking The issue tracks and organizes the sub-tasks of a larger effort

Comments

@jia200x
Copy link
Member

jia200x commented Oct 9, 2018

This issue keeps track of Compile-time configurations for the Configurations TF.

Motivation

Currently there are several compile-time configurations scattered throughout the code. With the current approach it is hard to know beforehand what can be configured and also there's no systematic way to retrieve these configurations and override them.

Additionally there's no encapsulation, in the sense that modules can freely access other modules' configuration.

From a software perspective, all RIOT modules are components. We believe that the build-time configuration should be the same for any RIOT component, without making any artificial distinctions. So, we would like to keep the same spirit as the current configuration macros.

Per-module configurations declaration

Expected outcomes

  1. Configurations and defaults defined per module.
  2. Configurations documented and grouped in Doxygen
  3. Override configurations via CFLAGS or extra header files.

Roadmap

Related PRs

#9825

@jia200x jia200x added TF: Config Marks issues and PRs related to the work of the Configuration Task Force Type: tracking The issue tracks and organizes the sub-tasks of a larger effort labels Oct 9, 2018
@jia200x jia200x added this to To do in Configurations TF via automation Oct 9, 2018
@jia200x jia200x moved this from To do to Trackers in Configurations TF Oct 9, 2018
@jia200x jia200x changed the title [CTF]: Build-time configuration of components [CTF]: Compile-time configuration of components Dec 6, 2018
@jia200x
Copy link
Member Author

jia200x commented Dec 6, 2018

I updated the title (to not mix it with build specific configurations like modules dependencies) and updated the roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TF: Config Marks issues and PRs related to the work of the Configuration Task Force Type: tracking The issue tracks and organizes the sub-tasks of a larger effort
Projects
Configurations TF
  
Trackers
Development

No branches or pull requests

2 participants