accommodate movement of the opcode api

This commit is contained in:
bunnie 2025-02-20 20:39:28 +08:00
parent fc8e7060a3
commit 385e4198f2
3 changed files with 4 additions and 1 deletions

View file

@ -17,4 +17,5 @@ rkyv = { version = "0.8.8", default-features = false, features = [
[features]
std = ["derive-rkyv", "xous-names", "xous-ipc"]
derive-rkyv = ["rkyv"]
pio = []
default = []

View file

@ -8,6 +8,8 @@ pub mod iox;
pub use iox::*;
pub mod i2c;
pub use i2c::*;
pub mod api;
pub use api::*;
#[cfg(feature = "std")]
pub mod keyboard;

View file

@ -25,7 +25,7 @@ pub enum SpimChannel {
}
#[repr(u32)]
#[derive(Copy, Clone, num_derive::FromPrimitive)]
#[derive(Copy, Clone, num_derive::FromPrimitive, Debug)]
pub enum PeriphId {
Uart0 = 1 << 0,
Uart1 = 1 << 1,