Scripts can not run:
Error: assertion “false” failed: file “/root/bp5-main/src/usb_rx.c”, line 109, function: rx_fifo_add
FW version: main branch @ e2b9811 (Sep 19 2025 14:20:31)
I started with a format flash and reflashing the FW. The issue appeared regardless.
I also tried with a firmware from eariler this year (f935018) the issue is similar. The difference is just in the line number (f935018: usb_rx.c, line 134)
To reproduce:
attach to computer
create script file with example content and save it
I removed the tutorial command which was just an alias of the script command with specific options. Having two version resulted in nether being well maintained/documented. I’m considering a rework of the CLI flags so that a tutorial like behavior is the default. I need to think on this a bit.
Doing a refresh of the macro command as well, will update those docs now.
As you may recall, you moved from built-in queues to ones that did not take a lock, with the presumption that it would only be added to from Core 0, and only drained from Core 1.
Ensuring this remains true is why that assertion was put into the code. Otherwise, will have those rare/random queue lockups again.
I hope that assertion remains, or the queue is modified to use a normal queue structure again?