From 9a8f8e2d7b623808b0c90c63f8bf452778840161 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 20 Jul 2020 19:51:09 +0800 Subject: [PATCH] szl: add startup banner --- src/szl/src/main.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/szl/src/main.rs b/src/szl/src/main.rs index 34fc7145..3f2cf754 100644 --- a/src/szl/src/main.rs +++ b/src/szl/src/main.rs @@ -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();