Skip to content

Use -DSHIELD= to enable building of a shield #12102

@erwango

Description

@erwango

Is your enhancement proposal related to a problem? Please describe.
Current way of selecting a shield is to enable matching Kconfig symbol, cf

CONFIG_SHIELD_X_NUCLEO_IKS01A1=y

This is no more possible if were going to run DT before Kconfig .

Describe the solution you'd like
We need an alternate way to select a shield.
The only option that I can think of right now is to implement a new -DSHIELD= build option to enable selection and build of a shield.

Describe alternatives you've considered
NA

Additional context
Follow up of #10821

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions