Skip to content
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

laze-project.yml: build context tree by embassy arch, not rust target #170

Merged

Conversation

kaspar030
Copy link
Collaborator

@kaspar030 kaspar030 commented Mar 11, 2024

Previously, the laze contexts were stacked by architecture:

  • default -> riot-rs -> cortex-m -> thumbv6m-none-eabi -> nrf51 -> microbit
  • default -> riot-rs -> cortex-m -> thumbv6m-none-eabi -> rp2040 -> rpi-pico
  • default -> riot-rs -> cortex-m -> thumbv7m-none-eabi -> nrf52 -> nrf52832 -> nrf52dk

That only makes limited sense when looking at how we integrate embassy support, where e.g. the nrf51 & nrf52 have more in common than the nrf51 and the rp2040.

So this PR reorganizes this context tree like this:

  • default -> riot-rs -> nrf -> nrf51 -> microbit
  • default -> riot-rs -> nrf -> nrf52 -> nrf52832 -> nrf52dk
  • default -> riot-rs -> rp -> rp2040 -> rpi-pico

The rustc targets are now provided by modules that are "select"ed where appropriate.

laze-project.yml Show resolved Hide resolved
laze-project.yml Show resolved Hide resolved
@kaspar030 kaspar030 added this pull request to the merge queue Mar 12, 2024
Merged via the queue into future-proof-iot:main with commit 3d87b0c Mar 12, 2024
15 checks passed
@kaspar030 kaspar030 deleted the laze_refactor_nrf_contexts branch March 12, 2024 09:31
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