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

Fix interrupt executors waking up thread-mode executors on the first core #2377

Merged
merged 5 commits into from
Oct 22, 2024

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Oct 21, 2024

There is a clean-up commit in this PR so I recommend reviewing commit-by-commit. The actual fix is 5f2d16e

Closes #2369
Closes #2386

@bugadani bugadani force-pushed the esp32-core1-spi branch 2 times, most recently from 70f14bb to 4c49fd6 Compare October 21, 2024 13:37
@liebman
Copy link
Contributor

liebman commented Oct 21, 2024

No change for #2369

INFO - Starting!
INFO - init embassy
INFO - Starting SPI task
INFO - stuck after 0 after 0 seconds

If it was working it would not print the last line (it expects the task to update a counter every time it loops) - it never completes the first loop.

@bugadani
Copy link
Contributor Author

Thanks! This fix is still somethat that we need to do, but at least I can investigate further.

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding the test cases too!

@liebman
Copy link
Contributor

liebman commented Oct 22, 2024

This does indeed fix #2369 !

@bugadani bugadani added this pull request to the merge queue Oct 22, 2024
Merged via the queue into esp-rs:main with commit 632bbc6 Oct 22, 2024
28 checks passed
@bugadani bugadani deleted the esp32-core1-spi branch October 22, 2024 15:07
elenaf9 pushed a commit to elenaf9/esp-hal that referenced this pull request Oct 24, 2024
…core (esp-rs#2377)

* Clean up

* Add failing multi-core test

* Reset interrupts before main

* Changelog

* Add test case
kaspar030 pushed a commit to kaspar030/esp-hal that referenced this pull request Oct 24, 2024
…core (esp-rs#2377)

* Clean up

* Add failing multi-core test

* Reset interrupts before main

* Changelog

* Add test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants