Skip to content

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

Open
@jia200x

Description

@jia200x

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    TF: ConfigMarks issues and PRs related to the work of the Configuration Task ForceType: trackingThe issue tracks and organizes the sub-tasks of a larger effort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions