forked from M-Labs/zynq-rs
ps7_init: move from experiments to libboard_zynq
This commit is contained in:
parent
b129d3e0df
commit
c0e66a632c
@ -15,6 +15,7 @@ use libboard_zynq::{
|
|||||||
clocks::source::{ArmPll, ClockSource, IoPll},
|
clocks::source::{ArmPll, ClockSource, IoPll},
|
||||||
clocks::Clocks,
|
clocks::Clocks,
|
||||||
print, println,
|
print, println,
|
||||||
|
ps7_init,
|
||||||
sdio::sd_card::SdCard,
|
sdio::sd_card::SdCard,
|
||||||
smoltcp::{
|
smoltcp::{
|
||||||
self,
|
self,
|
||||||
@ -34,8 +35,6 @@ use libsupport_zynq::{
|
|||||||
};
|
};
|
||||||
use log::info;
|
use log::info;
|
||||||
|
|
||||||
mod ps7_init;
|
|
||||||
|
|
||||||
const HWADDR: [u8; 6] = [0, 0x23, 0xde, 0xea, 0xbe, 0xef];
|
const HWADDR: [u8; 6] = [0, 0x23, 0xde, 0xea, 0xbe, 0xef];
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
|
@ -21,3 +21,4 @@ pub mod time;
|
|||||||
pub mod timer;
|
pub mod timer;
|
||||||
pub mod sdio;
|
pub mod sdio;
|
||||||
pub mod logger;
|
pub mod logger;
|
||||||
|
pub mod ps7_init;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#![cfg(feature = "target_zc706")]
|
#![cfg(feature = "target_zc706")]
|
||||||
|
|
||||||
use libboard_zynq::println;
|
use crate::println;
|
||||||
|
|
||||||
mod zc706;
|
mod zc706;
|
||||||
// mod cora_z7_10;
|
// mod cora_z7_10;
|
Loading…
Reference in New Issue
Block a user