From dd288912af038c0eccdb060852338ceeb2e77ac7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 28 Jun 2020 17:47:33 +0800 Subject: [PATCH] fix experiments build for Cora --- experiments/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/experiments/src/main.rs b/experiments/src/main.rs index 3eabf33..7143a34 100644 --- a/experiments/src/main.rs +++ b/experiments/src/main.rs @@ -15,7 +15,6 @@ use libboard_zynq::{ clocks::source::{ArmPll, ClockSource, IoPll}, clocks::Clocks, print, println, - ps7_init, sdio::sd_card::SdCard, smoltcp::{ self, @@ -25,6 +24,8 @@ use libboard_zynq::{ }, time::Milliseconds, }; +#[cfg(feature = "target_zc706")] +use libboard_zynq::ps7_init; use libcortex_a9::{ mutex::Mutex, sync_channel::{self, sync_channel},