experiments: mod ps7_init only for target_zc706

This commit is contained in:
Astro 2020-04-10 20:39:53 +02:00
parent 4b346f5c55
commit c3502888f2

View File

@ -1,3 +1,5 @@
#![cfg(feature = "target_zc706")]
use libboard_zynq::println; use libboard_zynq::println;
mod zc706; mod zc706;
@ -5,8 +7,8 @@ mod zc706;
#[cfg(feature = "target_zc706")] #[cfg(feature = "target_zc706")]
use zc706 as target; use zc706 as target;
#[cfg(feature = "target_cora_z7_10")] // #[cfg(feature = "target_cora_z7_10")]
use cora_z7_10 as target; // use cora_z7_10 as target;
pub fn report_differences() { pub fn report_differences() {
for (i, op) in target::INIT_DATA.iter().enumerate() { for (i, op) in target::INIT_DATA.iter().enumerate() {