manuelbl / ttn-esp32

The Things Network device library for ESP32 (ESP-IDF) and SX127x based devices
MIT License
309 stars 64 forks source link

use weak references for HAL functions that control low-speed pins #64

Closed ljakob closed 1 year ago

ljakob commented 1 year ago

allows control of this pins behind e.g. a I2C IO expander

manuelbl commented 1 year ago

Thanks for your contribution.

I assume you have actual hardware with an IO expander. Is it part of a bigger device?

ljakob commented 1 year ago

Thanks for merging. Yes I have, it's a custom DIY project with IO-expander (NRST-pin) and E32-900M30S-module that needs two inputs to switch between RX and TX. The weak-approach allows me to get rid of ugly patches.