Skip to content

Add Zephyr port #10026

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 2 commits into from
Feb 5, 2025
Merged

Add Zephyr port #10026

merged 2 commits into from
Feb 5, 2025

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Feb 4, 2025

This port is meant to grow to encompass all existing boards. For now, it is a port while we transition over.

It is named zephyr-cp to differentiate it from the MicroPython zephyr port. They are separate implementations.

This port is meant to grow to encompass all existing boards. For
now, it is a port while we transition over.

It is named `zephyr-cp` to differentiate it from the MicroPython
`zephyr` port. They are separate implementations.
@tannewt tannewt marked this pull request as ready for review February 5, 2025 00:22
@tannewt tannewt requested a review from dhalbert February 5, 2025 00:23
@tannewt tannewt marked this pull request as draft February 5, 2025 17:56
@tannewt tannewt marked this pull request as ready for review February 5, 2025 19:47
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

This is stupendous work! (I started reviewing last night.)

I do not see anything to change. I was wondering about whether some of the commented-code in the networking files could be deleted (some things are implemented), but even if so, that can be done on a later pass.

We can get the stuff in the zephyr-cp README into the Building CircuitPython guide sooner or later.

I did not review all the ruff formatting changes in the inline doc or various .py files, which files were affected makes sense to me.

@tannewt
Copy link
Member Author

tannewt commented Feb 5, 2025

I'm continuing work on the networking stuff so the next PR will replace it all. Thanks for the review!

@tannewt tannewt merged commit 4ba872c into adafruit:main Feb 5, 2025
35 checks passed
jepler added a commit to jepler/circuitpython that referenced this pull request Feb 7, 2025
Recently in adafruit#10026 this script was altered so that sometimes
items are removed from `boards`. However, this could have side effects.
For instance, when a file like `shared/runtime/context_manager_helpers.c`
is modified, it doesn't match any per-port or per-board rule so
we execute `boards_to_build = all_board_ids`. But if the object
`all_board_ids` refers to has been modified by `boards.remove(board)`
in an earlier iteration, then we don't end up really building all boards.

Noticed during development of adafruit#10040.
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