Results 451 comments of Rahix

Not that I know of :/ We worked backwards from the files and guessed how things are supposed to fit together. If you want to take a stab at adding...

I think I found (at least one) culprit: https://github.com/Rahix/atdf2svd/issues/4

I've pushed some commits to `atfd2svd` which should now at least allow building _something_. But most of that is workarounds which means that the generated SVD files is missing some...

> ```rust > #[no_mangle] > pub extern "C" fn main() { > ``` First of all, this doesn't look right. You should be using the `attiny_hal::entry` macro like this: ```rust...

On that note, we should really add some examples of using the bare HALs like `atmega-hal` and `attiny-hal`...

Do you have the `rt` feature enabled for `attiny-hal`? Without it, the macro won't be included. You are right that you don't technically need it right now but that only...

About > About the examples: I would be willing to contribute examples for attiny-hal as my project progresses. I will also be doing similar things with an atmega chip once...

FWIW, other HALs have come up with a very similar API. For example: https://docs.rs/stm32f4xx-hal/0.11.1/stm32f4xx_hal/gpio/struct.Pin.html#method.with_floating_input

Well, the CS pin must be managed manually anyway so you can do weird stuff in any case... I don't think this changeset here would make it worse than it...

@haennes, giving me some feedback and testing this PR here is all I need. I just held off merging it because I wanted to hear from users first. Maybe you...