summaryrefslogtreecommitdiff
path: root/examples/usercmodule/cexample/examplemodule.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-07-03 15:52:31 +1000
committerDamien George <damien@micropython.org>2024-07-23 16:02:59 +1000
commit9db16cfe31c70a75bfd8a8d93401ff7f6010b1ae (patch)
tree154b10037cc97296576750217fb6f79254cb0c87 /examples/usercmodule/cexample/examplemodule.c
parenteced9d86a709f3f267edc7bc08e52115d0c0c9df (diff)
rp2: Fix wakeup from WFE on core1.
If core1 executes `mp_wfe_or_timeout()` then it needs to receive an interrupt or a SEV to resume execution, but the soft timer interrupt only fires on core 0. This fix adds a SEV to the soft timer interrupt handler. This issue was masked by the issue fixed in the previous commit, as WFE previously wasn't suspending properly. Verified via the existing thread_sleep2 test. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'examples/usercmodule/cexample/examplemodule.c')
0 files changed, 0 insertions, 0 deletions