This release adds the ability to send exceptions to tasks with signal
in the task
module, which can be done within an interrupt handler, and using this adds an "attention" key, mapped to Control-T, which takes a (currently single-character) command even when the console is not being read and acts on it; currently the only "attention" key command is z
, which sends an exception to the main task (with the general goal being to return control to the REPL after allowing cleanup to take place). Additionally main-task
in the task
module has been changed so it always refers to the main task of the first core on the RP2040, whereas previously it would refer to the initial core of the second core when executed within the second core. Last but not least, a fix has been made to a bug where the console would be practically unusable if the second core was booted on the RP2040.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.