Jan Niehusmann

Results 281 comments of Jan Niehusmann

Would it be another option to do a semver bump for defmt-decoder only when the wire format changes? That way, binaries could support multiple wire format versions. Not as nice...

I think this decision should not be made with only the individual registers in mind. You are of course right that on most (all?) microcontrollers, there are registers which are...

> If it [is safe to obtain a singleton](https://docs.rs/rp2040-pac/latest/src/rp2040_pac/lib.rs.html#1679), and it is safe to write to a register using it, but that write performs undefined behaviour in certain scenarios (per...

> Could you link where is described that UB is referring to the abstract machine? Sorry, I don't have a quote at hand, and I'm not sure if it's explicitly...

Interesting. Can you tell us what board you are running, and at what clock speed? If you say 0.2 works, which exact 0.2 version did you try? v0.2.1? Besides some...

Yes, as I understand it that should (in theory) be fine unless you overclock the rp2040 significantly. With the rp2040 running at 125MHz, with PICO_FLASH_SPI_CLKDIV = 2 as v0.3.0 uses,...

Yes, correctly diagnosing this seems difficult. One approach could be loading a test firmware directly into RAM, and then trying to access flash from that firmware. But I wonder if...

@9names: After closer checking, even if `cargo semver-checks` doesn't report any issues, I'm convinced that this contains breaking changes: In fact the "Add IsEnum constraint for FieldWriters (fix variant safety)"...

> Sounds like a plan. We'll need to deal with the breakage sooner or later, but cutting a release now before doing that is a good idea. That would be...

I don't think this is currently supported. It also looks like the documentation is not correct. https://docs.rs/rp2040-hal/latest/rp2040_hal/dma/index.html contains the sentence: "This API tries to provide three types of buffers: Single...