xilinx eth in own folder. found another bug/challenge with dma

This commit is contained in:
mohr committed 2024-08-26 12:03:31 +02:00
1 parent 8497fe754c
commit ee06c79bf4
9 files changed
+163 -233

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ fn panic(panic: &PanicInfo<'_>) -> ! {
_ = writeln!(crate::fsrc::sif::Stderr {},"");
_ = write!(crate::fsrc::sif::Stderr {},"in task \"");
unsafe {
//osal::get_task_name is implemented safely in C, so we trust it
let task_name = core::ffi::CStr::from_ptr(osal::get_task_name());
//TODO this breaks all the time...
let task_name = core::ffi::CStr::from_ptr(osal::get_task_name());
let task_name_utf8 = core::str::from_utf8(task_name.to_bytes());
match task_name_utf8 {
Ok(string) => {