ARMmbed / mbed-semtech-lora-rf-drivers

Semtech's LoRa RF drivers for mbed OS
Other
31 stars 25 forks source link

Checking for pins being NC before writing #11

Closed hasnainvirk closed 6 years ago

hasnainvirk commented 6 years ago

NXP Hal provides a write API on DigitalOut::write() that asserts if pin is NC and we try to perform an operation on it. This behaviour is not consistent among various Hals in Mbed-OS. However, we now check the pin ourselves in the driver just like 1276.