adacore_zynqmp

Macro entry

Source
macro_rules! entry {
    ($path:path) => { ... };
}
Expand description

Defines the entry point of the binary.

ยงExample

#![no_std]
#![no_main]

use adacore_zynqmp::{entry, soft_reset};

entry!(main);

fn main() {}

#[panic_handler]
fn panic(_panic: &core::panic::PanicInfo<'_>) -> ! {
    soft_reset();
}