2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 12:48:26 +08:00

firmware: version → ident

This commit is contained in:
Sebastien Bourdeauducq 2018-07-15 17:40:17 +08:00
parent b2695d03ed
commit 13984385a8
2 changed files with 4 additions and 4 deletions

View File

@ -66,8 +66,8 @@ fn startup() {
irq::set_ie(true);
clock::init();
info!("ARTIQ runtime starting...");
info!("software version {}", csr::CONFIG_IDENTIFIER_STR);
info!("gateware version {}", ident::read(&mut [0; 64]));
info!("software ident {}", csr::CONFIG_IDENTIFIER_STR);
info!("gateware ident {}", ident::read(&mut [0; 64]));
match config::read_str("log_level", |r| r.map(|s| s.parse())) {
Ok(Ok(log_level_filter)) => {

View File

@ -260,8 +260,8 @@ pub extern fn main() -> i32 {
uart_logger::ConsoleLogger::register();
info!("ARTIQ satellite manager starting...");
info!("software version {}", csr::CONFIG_IDENTIFIER_STR);
info!("gateware version {}", ident::read(&mut [0; 64]));
info!("software ident {}", csr::CONFIG_IDENTIFIER_STR);
info!("gateware ident {}", ident::read(&mut [0; 64]));
#[cfg(has_slave_fpga_cfg)]
board_artiq::slave_fpga::load().expect("cannot load RTM FPGA gateware");