Skip to content

examples/rp add multicore_multiprio example#5656

Open
orukusaki wants to merge 4 commits intoembassy-rs:mainfrom
orukusaki:custom-executor-example2
Open

examples/rp add multicore_multiprio example#5656
orukusaki wants to merge 4 commits intoembassy-rs:mainfrom
orukusaki:custom-executor-example2

Conversation

@orukusaki
Copy link
Contributor

Adds an example to demonstrate using the new Multicore Executors added in #5409

@sourcebox
Copy link
Contributor

As all examples share the same Cargo.toml either all of them have to be updated or this one has to go into a separate subdirectory so it can have a separate configuration.

The main question to be answered is probably whether the user should always use the custom executors to avoid any possible issues.

@orukusaki
Copy link
Contributor Author

I see what you mean. Another approach might be to copy what was done for mcxa5xx/src/bin/power-deepsleep-big-jump.rs etc and put cfg flags in the example

@orukusaki orukusaki force-pushed the custom-executor-example2 branch from 7d4c980 to dcbe85f Compare March 12, 2026 22:43
@sourcebox
Copy link
Contributor

When we discussed it on Matrix, @lulf suggested using a subdirectory, @jamesmunns pointed me to the MCXA example with the cfg flags.

@Dirbaio: what's your opinion on this?

@orukusaki
Copy link
Contributor Author

This way seems more simple to me. I think it would be good to have the custom executors be the default, there's no reason to not use them. That would require updating all the existing examples though

@sourcebox
Copy link
Contributor

Updating all examples is a bit of work, needs to be done also for the RP235x, I guess. So we should be sure to go that route before doing that.

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