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

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

Open
frankleonrose opened this issue Oct 1, 2019 · 1 comment
Open

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

frankleonrose opened this issue Oct 1, 2019 · 1 comment

Comments

@frankleonrose
Copy link

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)

@valeros
Copy link
Member

valeros commented Oct 3, 2019

Hi @frankleonrose ! I guess the problem here is that atmelsam has quite limited support for mbed framework at the moment. Something happened after v151 and atmelsam disappeared from the official page with supported hardware and we had to lock the mbed build script for atmelsam in a special branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants