Skip to content

Cannot define custom board - no way to specify variant #14

@frankleonrose

Description

@frankleonrose

Issue described here: https://community.platformio.org/t/custom-target-for-mbed-atmelsam/9795

Fundamentally, variants_remap.json is a fixed platform file and does not support custom boards.

I propose adding a line to mbed.py allowing one to override the variant name derived from $BOARD and variants_remap.json.

variant = env.BoardConfig().get("build.variant", variant)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions