Skip to content

Allow overriding EXTRA_BUILTIN_MODULES in mpconfigboard.h#854

Merged
tannewt merged 1 commit into
adafruit:masterfrom
python-ugame:extra-override
May 22, 2018
Merged

Allow overriding EXTRA_BUILTIN_MODULES in mpconfigboard.h#854
tannewt merged 1 commit into
adafruit:masterfrom
python-ugame:extra-override

Conversation

@deshipu
Copy link
Copy Markdown

@deshipu deshipu commented May 20, 2018

Some boards (like the uGame10) may want to have their own set of extra
modules. This change lets them override EXTRA_BUILTIN_MODULES in their
mpconfigboard.h and makes the ugame10 board do that.

@tannewt tannewt self-requested a review May 21, 2018 00:15
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this undef needed? My guess is there is somewhere we're including mpconfigboard.h directly when we should use py/mpconfig.h instead

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, it's not needed, It's left over from my previous attempt at this. I will remove it.

Some boards (like the uGame10) may want to have their own set of extra
modules. This change lets them override EXTRA_BUILTIN_MODULES in their
mpconfigboard.h and makes the ugame10 board do that.
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'm very excited for more gaming support in CircuitPython.

@tannewt tannewt merged commit 165b284 into adafruit:master May 22, 2018
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.

2 participants