substitute all uses of semihosting and funnel with logging crate

This commit is contained in:
Conor Patrick
2020-08-23 14:36:29 +02:00
committed by Nicolas Stalder
parent 63470f239c
commit e78c6f49e8
+2
View File
@@ -10,6 +10,7 @@ pub enum Instruction {
GenerateAsymmetricKeyPair,
GetResponse,
ReadBinary,
WriteBinary,
Unknown(u8),
}
@@ -28,6 +29,7 @@ impl core::convert::From<u8> for Instruction {
0xcb => Instruction::GetData,
0xdb => Instruction::PutData,
0xb0 => Instruction::ReadBinary,
0xd0 => Instruction::WriteBinary,
ins => Instruction::Unknown(ins),
}
}