forked from M-Labs/nac3
szl: add startup banner
This commit is contained in:
parent
c3201565c4
commit
9a8f8e2d7b
|
@ -13,7 +13,8 @@ use libcortex_a9::{
|
|||
asm::{dsb, isb},
|
||||
};
|
||||
use libboard_zynq::{
|
||||
self as zynq, clocks::Clocks, clocks::source::{ClockSource, ArmPll, IoPll},
|
||||
self as zynq, println,
|
||||
clocks::Clocks, clocks::source::{ClockSource, ArmPll, IoPll},
|
||||
logger,
|
||||
timer::GlobalTimer,
|
||||
};
|
||||
|
@ -35,6 +36,16 @@ pub fn main_core0() {
|
|||
GlobalTimer::start();
|
||||
logger::init().unwrap();
|
||||
log::set_max_level(log::LevelFilter::Debug);
|
||||
println!(r#"
|
||||
|
||||
__________ __
|
||||
/ ___/__ / / /
|
||||
\__ \ / / / /
|
||||
___/ / / /__/ /___
|
||||
/____/ /____/_____/
|
||||
|
||||
(C) 2020 M-Labs
|
||||
"#);
|
||||
info!("Simple Zynq Loader starting...");
|
||||
|
||||
enable_fpu();
|
||||
|
|
Loading…
Reference in New Issue