-
I have been trying to see the output of sys_log, like the ones in jefe (or my own I add), and I can't figure out where I am supposed to see them. I have noticed the commented out "monitor" lines related to ITM logging in openocd.gdb, and tried experimenting with them. I've gotten the error "SWO pin frequency not set" from OpenOCD. I also discovered "humility ITM", which gives the same error. I was also kind of expecting to find some kind of "humility log" that streams logs, like "adb logcat" does in the Android world. Any interest in something like that? Edited to add: I have switched to using semihosting and that worked as expected for the kernel and some messages I added to pong. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This will likely be fixed with #351. Thanks Bryan. |
Beta Was this translation helpful? Give feedback.
-
I had an old branch working on logging, but it didn't end up landing. At some point, yeah! |
Beta Was this translation helpful? Give feedback.
-
The fix for this (#351) has been integrated. Also, note that ring buffers are -- for a variety of reasons -- preferred to logging for indicating that code was executed. Ring buffers also enjoy Humility support via |
Beta Was this translation helpful? Give feedback.
The fix for this (#351) has been integrated. Also, note that ring buffers are -- for a variety of reasons -- preferred to logging for indicating that code was executed. Ring buffers also enjoy Humility support via
humliity ringbuf
.