Currently, when the user does tockloader listen all messages from all apps are sent to tockloader, without a way to differentiate one app from another or an app from the kernel. This can be cumbersome, especially when it comes to sending logging information to the process console.
CAmi307 has implemented a protocol here that adds a few bytes before and after each message to solve this issue, but the main tock code has developed so much it cannot be easily re-integrated. A CLI for this protocol using ratatui can be found in the tockloader-rs project
Your task is:
A lot of things have changed since Cami307 made her code. Use your own intuition as to what is useful, and if her approach is still viable or we need to change course. Her code seems to work with the microbit-v2, but not with STM, so keep that in mind also.
Currently, when the user does
tockloader listenall messages from all apps are sent to tockloader, without a way to differentiate one app from another or an app from the kernel. This can be cumbersome, especially when it comes to sending logging information to the process console.CAmi307 has implemented a protocol here that adds a few bytes before and after each message to solve this issue, but the main tock code has developed so much it cannot be easily re-integrated. A CLI for this protocol using ratatui can be found in the tockloader-rs project
Your task is:
A lot of things have changed since Cami307 made her code. Use your own intuition as to what is useful, and if her approach is still viable or we need to change course. Her code seems to work with the microbit-v2, but not with STM, so keep that in mind also.