Adam Greig

Results 321 comments of Adam Greig

> owned singletons & pac access where some register fields are unsafe and some are safe (according to the SVD attributes for each register/field) This is what we have for...

You're right, it's not consistent to say you don't need `unsafe` to change memory using `/proc/self/mem`, but that DMA does -- they're basically the same thing! A DMA peripheral is...

Yea, we already have `unsafe` direct pointers to the registers - this issue is mainly about removing the safe API. Just, if that was the main mode of interaction then...

Thanks for suggesting this! We discussed it at the end of today's meeting ([here](https://libera.irclog.whitequark.org/rust-embedded/2023-01-31#1675194291-1675195486;)) though didn't really come to any conclusions yet. I think one problem is that even if...

I don't think there's any general-purpose existing thing, because the RTL will be quite different for each chip. Some RTL generators like LiteX can output suitable metadata automatically, but if...

Yea, I'd really like to support SVF files, though I had been planning on a separate tool `svfdap`, using my [svf parser](https://github.com/adamgreig/svf/) plus [jtagdap](https://github.com/adamgreig/jtagdap/). I don't think it would need...

I'm not _sure_ if this is in scope for labrador-ldpc, though I agree it would be a useful thing to have in general. I've only really had to deal with...

I think the main problem will be right now the NOM and DENOM are u32 const generics, but you can't fit 1e12 in a u32, so DENOM would be out...

The error `undefined symbol: _critical_section_1_0_acquire` refers to the https://crates.io/crates/critical-section crate; you need to enable a critical-section implementation because rtt-target uses critical-section. Try enabling `critical-section-single-core` for cortex-m: ``` [dependencies] cortex-m =...

Just to add some more very commonly used embedded crates: the panic handlers (`panic-halt`, `panic-abort`, `panic-semihosting`, etc) would be nice to get to 1.0 as well.