StuartsProjects / SX12XX-LoRa

Library for SX12XX LoRa devices
315 stars 68 forks source link

Any reason this isn't in the arduino/platformio package ecosystem? #68

Closed factoidforrest closed 1 year ago

factoidforrest commented 1 year ago

This library seems fantastic. Any reason it's not packaged up for easy use in those systems?

Using it as a zip is a little inconvenient and platformio is pushing people away from that.

StuartsProjects commented 1 year ago

I have not checked that its compatible with the Arduino Library manager.

I have been considering changing the library so it supports multiple SPI and Serial ports, but all the checking of examples across the 3 platforms is a significant amount of work, and not a priority task at the moment.

If the library works in platform IO then fine, but I wont be checking that it does.

factoidforrest commented 1 year ago

It does (I'm using it), and it would be trivially easy to add it to the registry. Simply running pio pkg publish will do the job, I think!

I wonder how difficult it would be to get that into a github action so it happens automatically. Let me know if you'd consider a PR for that. Here is a base script that gets PIO up and running. https://gist.github.com/marcovannoord/4275a25639427e13d6e74f17636bbd5f It's possible to set this up so that it publishes on a push to master, or when you create a new tag.

I would think increasing the number of people benefitting from this excellent library would be one of your chief goals!

StuartsProjects commented 1 year ago

Currently no plans to check library within platformio