add zynq-rt

This commit is contained in:
2025-02-20 22:55:58 +01:00
parent 5044425a9a
commit 21d618172b
11 changed files with 463 additions and 8 deletions

View File

@ -2,11 +2,19 @@
#![no_main]
use core::panic::PanicInfo;
use cortex_r_a::asm::nop;
use cortex_r_a_rt as _;
/// Entry point (not called like a normal main function)
#[no_mangle]
pub extern "C" fn _start() -> ! {
loop {}
pub extern "C" fn kmain() -> ! {
main();
}
pub fn main() -> ! {
loop {
nop();
}
}
/// Panic handler