use libcortex_a9::sync_channel; pub static mut KERNEL_BUFFER: [u8; 16384] = [0; 16384]; pub fn main(mut sc_tx: sync_channel::Sender, mut sc_rx: sync_channel::Receiver) { for i in sc_rx { sc_tx.send(*i * *i); } loop {} }