Task on core 1 crashes if USB based console output is used
Opened this issue · 5 comments
I tried running tasks on core 1 but they failed badly. Some experiments show that "emit" crashes if the USB console is used. If I redirect console output to the UART it works fine.
I apologize - I didn't initialize the console hooks for the first core 1 task started. Somehow I managed to not notice this until now, probably because in my testing I was always testing with the second core 1 task started for whatever reason. The fix is now in the main
and devel
branches.
Travis
What is strange about this is that I am very sure I tested this multiple times in the past, and yet I am having trouble finding whether this code had gotten removed at some point in the past...
It's annoying when that happens!
I think I figured out what happened ─ I previously had code that initialized peripherals on core 1, and it must have set up the console hooks for USB amongst other things, but when I removed this code as I had found it to cause issues, I forgot to add the console hooks for when core 1 was just started.
BTW, I'm making a new build, build 1.5.0.1, right now that will contain this fix.
Release 1.5.0.1, which fixes this issue, is now out.