lthiery / cmwx1zzabz-rs

Unofficial Rust Board Support Crate for Murata CMWX1ZZABZ
2 stars 0 forks source link

EN_TCXO is hardcoded to PA8 #1

Open jonas-schievink opened 5 years ago

jonas-schievink commented 5 years ago

https://github.com/lthiery/cmwx1zzabz-rs/blob/bcafb414f14de2d2aaa1c5e4ff0797b89d27ff8c/src/longfi_bindings.rs#L33

This is correct for the Catena 4610, but not for the B-L072Z-LRWAN1 discovery board, which uses PA12. A jumper can be used to always enable TCXO on that board, so this isn't much of an issue.

lthiery commented 5 years ago

Valid issue, but I’m not planning on doing anything about it in the immediate future. I can’t figure out what to do about it other than an enum that takes all the other possible pins. And the resulting match when using the pin would be annoying.