Results 451 comments of Rahix

Here's the notification: #157 was merged :tada: Please rebase your work ontop of the new code-generation. You should be able to make out the new structure in `src/devices/mod.rs` from the...

> The patches add a lot of fixes and make things more ergonomically usable by properly turning things into arrays, adding proper enum values or fixing access (RW, RO, WO...

Slightly off-topic for this issue, but @adicarlo, you should be setting even more compiler tunes to get AVR programs to build properly: https://github.com/Rahix/avr-hal/blob/65b304ec974a13f27ebc2ced21aa462c4b81ce82/Cargo.toml#L1-L11

> An example could be in order, however, I am lacking any SPI slaves, so I cannot test this myself. SPI can be tested very easily by looping back MOSI...

Hey, there seem to be some compiler errors, as seen in CI. Can you take a look?

> I was wondering if it would make sense to re-export configuration structs and enums defined in spi from usart_spi? To be honest, I would prefer not to add such...

BTW, @armandas, if you want to pick up this work while @CoolSlimbo isn't around, feel free to open a new PR based on top of this one.

Closing this in favor of the follow-up #588. Thanks a lot @CoolSlimbo for your work here!

Paging @Patryk27 (sorry for always bugging you with these topics!) @Tronje, your best bet is building a minimal reproducer example that still triggers this compiler regression. You can do this...

Yes, this isn't supported yet. If anyone is interested in working on a "USART as SPI" driver and needs guidance on how to do this, feel free to ping me!