Johnathan Van Why

Results 110 comments of Johnathan Van Why

`unsafe` in Rust exists for the purpose of providing memory safety. "Only trusted crates depend on this crate" is *not* a valid reason to make a function safe. A function...

> > Note that libtock-rs today only even allows one outstanding callback > > Why is that limitation in place? That's a pretty crippling limitation for a lot of applications...

I'm not familiar with Xtensa, but as far as I can tell (from some quick searching): 1. It's a reasonably-popular 32-bit embedded architecture 2. `rustc` has support for it so...

ADC and LED are stable capsules, and changing this call is a breaking change, so wouldn't this require a version bump to 3.0? Or is this okay because "TRD 104...

> That said, @jrvanwhy, how important is it that we make this change? I might advocate for just removing the language from TRD104 over going through the effort of a...

> That said, @jrvanwhy, how important is it that we make this change? I might advocate for just removing the language from TRD104 over going through the effort of a...

At the moment, I am working on test infrastructure in OpenTitan that will enable us to test things like this automatically, I haven't begun work on the I2C driver itself....

> @jrvanwhy I tried wrapping my head around the license checker, and why it does not recognize the `requirements.txt` file as having a comment-syntax starting with a pound sign (which...

EDIT: There is a [summary](https://github.com/tock/tock/pull/3622#issuecomment-1690461207) below so you don't have to read all this. I'm thinking through what the conditional compilation option would look like. I'll use the current state...

EDIT: There is a [summary](https://github.com/tock/tock/pull/3622#issuecomment-1690461207) below so you don't have to read all this. Just came up with some more ideas. ## Idea 4: Procedural macro Add a new procedural...