mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
modify xous log API crate with opcodes for console logging
This commit is contained in:
parent
7a8741922d
commit
af5b54aba2
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ pub enum Opcode {
|
||||||
/// A `xous::StringBuffer` containing this program's name
|
/// A `xous::StringBuffer` containing this program's name
|
||||||
ProgramName = 3,
|
ProgramName = 3,
|
||||||
|
|
||||||
|
/// Try to log console output to a USB serial port. Best-effort only; failures will not crash, will not be noted
|
||||||
|
TryHookUsbMirror = 4,
|
||||||
|
UnhookUsbMirror = 5,
|
||||||
|
|
||||||
/// A panic occurred, and a panic log is forthcoming
|
/// A panic occurred, and a panic log is forthcoming
|
||||||
PanicStarted = 1000,
|
PanicStarted = 1000,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue