-
Notifications
You must be signed in to change notification settings - Fork 56
log buffer overflow on nrf52832 #69
Comments
This does happen spuriously sometimes when there's a lot of devices around (which we should definitely fix), do you get no serial output at all before this happens? |
Well lost of devices are definitely around. GDB:
openocd:
serial:
|
Yeah then the buffer just gets too full due to the many devices. I meant to fix this yesterday but didn't get to it, so if you want to fix this please go ahead. The panic happens here: rubble/demos/demo-utils/src/logging.rs Lines 66 to 70 in ec7377e
When the queue runs out of space we should instead set a flag on the |
At the moment I am still learning a lot every time I read/write rust code. So my fixing might take a while. |
No problem, take your time! Let me know if you have any questions. |
Can we close this ? |
Yep, should be fixed! |
I get a buffer overflow when I try to run the rubble-demo on a nrf52832.
panicked at 'log buffer overflow: failed to grant 4 Bytes (0 available)', rubble-demo/src/logger.rs:70:21
I tried to add
--features="log"
and--features="rubble/log"
during build, did not make any difference.To "port" the demo form nrf528100 to the nrf52832 I simply replaced nrf528100 with nrf52832.
Any ideas?
The text was updated successfully, but these errors were encountered: