Skip to content

unix: add build variants (v2) #5519

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

Merged
merged 5 commits into from
Jan 12, 2020
Merged

Conversation

dpgeorge
Copy link
Member

Updated version of #5253 to pass all CI tests.

jimmo added 5 commits January 12, 2020 10:34
This allows ports/variants to configure MICROPY_FORCE_32BIT after including
mkenv.mk, but before py.mk.
Invoking "make" will still build the standard "micropython" executable, but
other variants are now build using, eg, "make VARIANT=minimal".  This
follows how bare-metal ports specify a particular board, and allows running
any make target (eg clean, test) with any variant.

Convenience targets (eg "make coverage") are provided to retain the old
behaviour, at least for now.

See issue micropython#3043.
This will eventually become the "full featured" unix binary with more
features enabled, specifically useful for development and testing.
For consistency with mpy-cross, and other unix tools in general.
@dpgeorge dpgeorge merged commit 977b532 into micropython:master Jan 12, 2020
tannewt added a commit to tannewt/circuitpython that referenced this pull request Dec 7, 2021
…o-rp2040

Add New Board - Seeeduino XIAO RP2040
@dpgeorge dpgeorge deleted the unix-variants-v2 branch July 12, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants