forked from M-Labs/zynq-rs
experiments: setup_l2cache(), add bandwidth tester
This commit is contained in:
parent
ac89367f8f
commit
c86d8b2af2
@ -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,
|
||||||
|
setup_l2cache,
|
||||||
sdio::sd_card::SdCard,
|
sdio::sd_card::SdCard,
|
||||||
smoltcp::{
|
smoltcp::{
|
||||||
iface::{EthernetInterfaceBuilder, NeighborCache, Routes},
|
iface::{EthernetInterfaceBuilder, NeighborCache, Routes},
|
||||||
@ -82,6 +83,8 @@ pub fn main_core0() {
|
|||||||
clocks.cpu_2x(),
|
clocks.cpu_2x(),
|
||||||
clocks.cpu_1x()
|
clocks.cpu_1x()
|
||||||
);
|
);
|
||||||
|
info!("Setup L2Cache");
|
||||||
|
setup_l2cache();
|
||||||
|
|
||||||
// commented out due to OCM full
|
// commented out due to OCM full
|
||||||
// let sd = libboard_zynq::sdio::SDIO::sdio0(true);
|
// let sd = libboard_zynq::sdio::SDIO::sdio0(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user