Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Jan 25, 2022

This subcommand has been broken for a while, since libraries also use the CPU flag. This commit fixes this.

Previously, libraries were usable for most Cortex-M cores. But with the addition of the CPU field, I've limited it to three popular cores: the Cortex-M0 (microbit), Cortex-M0+ (atsamd21), and Cortex-M4 (atsamd21, nrf52, and many others).

In the future we might consider also building libraries for the current OS/arch so that libraries like musl are already precompiled.


@QuLogic this PR might be relevant to you.

This subcommand has been broken for a while, since libraries also use
the CPU flag. This commit fixes this.

Previously, libraries were usable for most Cortex-M cores. But with the
addition of the CPU field, I've limited it to three popular cores: the
Cortex-M0 (microbit), Cortex-M0+ (atsamd21), and Cortex-M4 (atsamd21,
nrf52, and many others).

In the future we might consider also building libraries for the current
OS/arch so that libraries like musl are already precompiled.
@aykevl aykevl mentioned this pull request Jan 25, 2022
@deadprogram
Copy link
Member

OK, seems like a worthwhile fix to pull in before a release. Now merging.

@deadprogram deadprogram merged commit 3883550 into dev Jan 25, 2022
@deadprogram deadprogram deleted the fix-build-library branch January 25, 2022 23:27
@QuLogic
Copy link
Contributor

QuLogic commented Feb 3, 2022

Thanks for the heads up.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants