06-01-2020, 06:53 PM
Hi @danielt: I'm almost done documenting my wasp-os experiment on Mynewt, please have a look...
https://lupyuen.github.io/pinetime-rust-...icropython
I'm stuck with a multitasking conflict between wasp-os and Mynewt... wasp-os runs the REPL loop forever, scheduling its own tasks. But Mynewt needs to run the Event Loop to handle NimBLE Bluetooth packets.
Any idea which part of wasp-os I should modify to feed the Mynewt Event Loop?
Alternatively I could start another Mynewt task to run wasp-os, but that would consume extra memory (for the stack). Plus extra overheads for task switching. Thank you so much :-)
https://lupyuen.github.io/pinetime-rust-...icropython
I'm stuck with a multitasking conflict between wasp-os and Mynewt... wasp-os runs the REPL loop forever, scheduling its own tasks. But Mynewt needs to run the Event Loop to handle NimBLE Bluetooth packets.
Any idea which part of wasp-os I should modify to feed the Mynewt Event Loop?
Alternatively I could start another Mynewt task to run wasp-os, but that would consume extra memory (for the stack). Plus extra overheads for task switching. Thank you so much :-)