-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Lora modules seem to be getting more popular in circuit python boards (also the ability to expose esp32 boards that had these in the past is now a thing), and I'm looking to add a couple esp32 boards that have lora modules soldered on them that work with the adafruit rfm9x library.
I noticed recently that theres a new rp2040 feather with lora from adafruit.
Since the Adafruit Feather RP2040 with RFM95 is new and awesome it would be nice for documentation on how to use the board to have good pin names up front. This new feather uses MP_QSTR_RFM_, while the feather M0 uses MP_QSTR_RFM9X_.
When searching for "MP_QSTR_RFM" there are what seems like 3-4 naming variants on the pin names ranging from RFM to RFM9x to RFM95w to RFM69 (probably ok since that would be a different library too)
https://github.com/search?q=repo%3Aadafruit%2Fcircuitpython+MP_QSTR_RFM&type=code
The adafruit documentation for this library here https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/circuitpython-for-rfm9x-lora and here https://docs.circuitpython.org/projects/rfm9x/en/latest/ would be nice to reference more standard pin names. I assume one for the new feather rp2040 with rfm module may come out eventually as well.
This is an ask to start thinking about a standardized naming convention for built-in lora modules on circuit python boards so that the documentation can be more clear on what pins to use, especially now that it has expanded beyond the feather m0 into other adafruit boards. Not sure how to best handle backward compatibility, but it seems like this could benefit from a strategy going forward at least for new boards.