8000 enable CIRCUITPY_BLEIO_HCI on non-nRF boards where it will fit by dhalbert · Pull Request #3560 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

enable CIRCUITPY_BLEIO_HCI on non-nRF boards where it will fit #3560

New issue
< 8000 p class="text-center mb-4"> 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 4 commits into from
Oct 16, 2020

Conversation

dhalbert
Copy link
Collaborator

Boards with plenty of flash have room for the HCI version of _bleio. Previously this was enabled only for Metro M4 Airlift Lite, but since most any board can use an Airlift breakout, add it to all where it will fit. It is on by default for CIRCUITPY_FULL_BUILD.

CIRCUITPY_BLEIO_HCI is not enabled on SAMD21 boards due to size, and not on nRF since they have native BLE.

The added size is about 21.3kB.

I'll do this as a draft first to see what fails due to size.

@dhalbert dhalbert marked this pull request as ready for review October 16, 2020 01:48
@dhalbert dhalbert requested a review from tannewt October 16, 2020 01:48
@dhalbert
Copy link
Collaborator Author

This is ready for review. Everything passes. I had to make some minor adjustments to makefiles to get the SRC_C values correct.

@arturo182 This build does not need nvm. You might want to try this.

Copy link
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! Thanks @dhalbert.

@tannewt tannewt merged commit 6e355ec into adafruit:main Oct 16, 2020
@jerryneedell
Copy link
Collaborator

Should bleio_hci be built for the grand central_m4? I just built 6.0.0-rc0 and do not see it.

@dhalbert
Copy link
Collaborator Author
dhalbert commented Oct 16, 2020

Should bleio_hci be built for the grand central_m4? I just built 6.0.0-rc0 and do not see it.

It should be. Do you mean import _bleio does not work? I tested with plain Metro M4 but not Grand Central.

@dhalbert dhalbert deleted the pervasive-bleio-hci branch October 16, 2020 20:27
@jerryneedell
Copy link
Collaborator

never mind -- I forgot to look for the _ --- sorry for the false alarm

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.

3 participants
0