avr-hal icon indicating copy to clipboard operation
avr-hal copied to clipboard

Fix UART macro for special implementations in atmega-hal

Open Rahix opened this issue 2 years ago • 1 comments

Right now, atmega-hal contains two custom implementations of UsartOps for two MCUs where the default impl doesn't work (ATmega8, ATmega128):

https://github.com/Rahix/avr-hal/blob/7b3212216899d51a9ab3b63852264147ae642e84/mcu/atmega-hal/src/usart.rs#L116-L341

We should update the impl_usart_traditional!{} macro to support the slight changes which are needed for these two implementations.

Rahix avatar May 07 '23 21:05 Rahix

Ref #397 and #384.

Rahix avatar May 07 '23 21:05 Rahix