experiments: setup_l2cache(), add bandwidth tester

This commit is contained in:
Astro 2020-06-22 02:06:11 +02:00
parent ac89367f8f
commit c86d8b2af2

View File

@ -15,6 +15,7 @@ use libboard_zynq::{
clocks::source::{ArmPll, ClockSource, IoPll},
clocks::Clocks,
print, println,
setup_l2cache,
sdio::sd_card::SdCard,
smoltcp::{
iface::{EthernetInterfaceBuilder, NeighborCache, Routes},
@ -82,6 +83,8 @@ pub fn main_core0() {
clocks.cpu_2x(),
clocks.cpu_1x()
);
info!("Setup L2Cache");
setup_l2cache();
// commented out due to OCM full
// let sd = libboard_zynq::sdio::SDIO::sdio0(true);