mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
accommodate movement of the opcode api
This commit is contained in:
parent
fc8e7060a3
commit
385e4198f2
3 changed files with 4 additions and 1 deletions
|
|
@ -17,4 +17,5 @@ rkyv = { version = "0.8.8", default-features = false, features = [
|
||||||
[features]
|
[features]
|
||||||
std = ["derive-rkyv", "xous-names", "xous-ipc"]
|
std = ["derive-rkyv", "xous-names", "xous-ipc"]
|
||||||
derive-rkyv = ["rkyv"]
|
derive-rkyv = ["rkyv"]
|
||||||
|
pio = []
|
||||||
default = []
|
default = []
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ pub mod iox;
|
||||||
pub use iox::*;
|
pub use iox::*;
|
||||||
pub mod i2c;
|
pub mod i2c;
|
||||||
pub use i2c::*;
|
pub use i2c::*;
|
||||||
|
pub mod api;
|
||||||
|
pub use api::*;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
pub mod keyboard;
|
pub mod keyboard;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ pub enum SpimChannel {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(u32)]
|
#[repr(u32)]
|
||||||
#[derive(Copy, Clone, num_derive::FromPrimitive)]
|
#[derive(Copy, Clone, num_derive::FromPrimitive, Debug)]
|
||||||
pub enum PeriphId {
|
pub enum PeriphId {
|
||||||
Uart0 = 1 << 0,
|
Uart0 = 1 << 0,
|
||||||
Uart1 = 1 << 1,
|
Uart1 = 1 << 1,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue