Skip to content

Commit

Permalink
lib: remove stdout module
Browse files Browse the repository at this point in the history
users may use writeln! or write! on UART structs (embedded_io::Write) to print into stdout instead.

Signed-off-by: Zhouqi Jiang <[email protected]>
  • Loading branch information
luojia65 committed Jan 10, 2024
1 parent 7f59ce8 commit a91eb40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pub mod plic;
pub mod serial;
pub mod sha256;
pub mod spi;
pub mod stdout;
pub mod sysctl;
pub mod time;

Expand All @@ -32,7 +31,6 @@ pub mod prelude {
pub use crate::gpiohs::GpiohsExt as _k210_hal_gpiohs_GpiohsExt;
pub use crate::plic::PlicExt as _k210_hal_plic_PlicExt;
pub use crate::serial::SerialExt as _k210_hal_serial_SerialExt;
pub use crate::stdout::Write as _k210_hal_stdout_Write;
pub use crate::sysctl::SysctlExt as _k210_hal_sysctl_SysctlExt;
pub use crate::time::U32Ext as _k210_hal_time_U32Ext;
}
Expand Down
18 changes: 0 additions & 18 deletions src/stdout.rs

This file was deleted.

0 comments on commit a91eb40

Please sign in to comment.