David Lattimore
David Lattimore
Create `proj/hps_accel/src/main.c` with the following contents: ```cc #include #include "base.h" #include "riscv.h" __attribute__((optimize("align-functions=32"))) int check_post_cfu_instruction( int input) { register int output; int tmp; asm volatile( // Some padding. The alignment...
The IoPin trait - added in #29, seems like it would be impractical to implement in a system with multiple input / output pin types. The STM32 HALs that I'm...
### Problem I was just using flamegraph to profile a clean `cargo build` and observed that more than 4% of time was being spent parsing rustup configuration files. For a...
### What crate(s) in this repo are involved in the problem? tokio-console, console-subscriber ### What is the issue? I see there have been false positives in the past, but since...
For a flash chip I'm using, the time to do a 64KB block erase is significantly faster than a whole series of sector erase commands. For 1MB, this is about...
The function UnlockedFlash::write (and write_native) let you write to arbitrary memory locations, bypassing Rust's ownership checks, but are currently not marked as unsafe. I recently made some changes to some...