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

Road to 1.0

Open thejpster opened this issue 5 years ago • 2 comments

What do we need to do to put out a 1.0 release? One assumes we at least need an embedded-hal 1.0 (https://github.com/rust-embedded/embedded-hal/issues/177)

thejpster avatar Aug 22 '20 17:08 thejpster

I think something that should be done on the next breaking release is using the "sealed trait" pattern for *Pin traits.

I.e. having a private trait Sealed and requiring *Pin: Sealed. This would be better than (and should be done instead of) writing "DO NOT IMPLEMENT THIS TRAIT" in the docs.

Btw, why are internal macros such as uart_hal_macro and uart_pin_macro exposed in the API ?

kellda avatar Mar 22 '22 09:03 kellda

Happy to see a PR.

Macros I think are shared between tm4c123 and 129 and hence exported from tm4c common.

thejpster avatar Apr 04 '22 06:04 thejpster