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

Tracker: Kconfig: Model features provided by CPU and Board #14148

Closed
jia200x opened this issue May 26, 2020 · 2 comments · Fixed by #14541
Closed

Tracker: Kconfig: Model features provided by CPU and Board #14148

jia200x opened this issue May 26, 2020 · 2 comments · Fixed by #14541
Assignees
Labels
Area: boards Area: Board ports Area: cpu Area: CPU/MCU ports Area: Kconfig Area: Kconfig integration 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 May 26, 2020

Description

It was decided during the Virtual Maintainers Assembly 2020.05 to continue with the next phases of the Kconfig migration. This means that Kconfig will be used to model all module’s configurations and dependencies in the build system.

The first milestone is to model all features provided by CPUs and boards. Also explicitly declare and document all the possible features that can be provided and used.

This milestone doesn’t interfere with the current Kconfig integration nor the build system, so it can be performed directly on the master branch. In order to keep the features in sync in the Makefile.features and the Kconfig files, a static check will be added, which will be run for every PR.

What needs to be done

  • Declare Feature symbols: Analog to the current build system, features like HAS_PERIPH_SPI, HAS_PERIPH_GPIO or HAS_RIOTBOOT have to be declared. Check the Annex for the full list of features
  • Declare CPUs and boards common symbols: Each CPU and module should declare common symbols to track the hardware in compile time. See "Modelling CPU" and "Modelling boards" for more information.
  • Select the provided features by CPUs and boards: Each CPU and Board should select the supported feature symbols.

#13404 can be used as a reference.

Tracker

Also check the GitHub project.

@jia200x jia200x added the Type: tracking The issue tracks and organizes the sub-tasks of a larger effort label May 26, 2020
@leandrolanzieri leandrolanzieri added the TF: Config Marks issues and PRs related to the work of the Configuration Task Force label May 26, 2020
@miri64 miri64 added Area: Kconfig Area: Kconfig integration Area: boards Area: Board ports Area: cpu Area: CPU/MCU ports labels Jul 6, 2020
@aabadie
Copy link
Contributor

aabadie commented Jul 15, 2020

I edited this issue with #14525

@leandrolanzieri
Copy link
Contributor

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: cpu Area: CPU/MCU ports Area: Kconfig Area: Kconfig integration 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
None yet
Development

Successfully merging a pull request may close this issue.

4 participants