utils icon indicating copy to clipboard operation
utils copied to clipboard

piolib: Please provide piolib-dev or similar Debian package for developing software that uses /dev/pio

Open jepler opened this issue 10 months ago • 6 comments

.. a file that would include the necessary files to develop /dev/pio-using software without vendoring or submoduling the code from here.

PS with my Adafruit hat on it'd be nice if the license was permissive like MIT, too.

jepler avatar Jan 25 '25 20:01 jepler

Recent changes to the piolib project have made installation of the library and headers possible. A proper package is in the pipeline.

pelwell avatar Apr 16 '25 10:04 pelwell

If Alpine Linux is an option, package is now part of the collection on Edge branch.

macmpi avatar Apr 18 '25 05:04 macmpi

@pelwell, I'm wondering about the licensing of the piolib files. My understanding is that while GPL-2.0 might be acceptable for header files, it seems to also apply to files containing implementation code.

I noticed here that piolib-dev is listed under the BSD-3-Clause license.

Could you clarify if my understanding is correct that the GPL-2.0 license would prevent linking piolib into closed-source projects?

LGPL licence should solve it. 😉

Gebhartj avatar Apr 28 '25 04:04 Gebhartj

It should always have been BSD-3-Clause - the GPL-2.0 references have been replaced.

pelwell avatar Apr 28 '25 19:04 pelwell

Phil Elwell:

It should always have been BSD-3-Clause - the GPL-2.0 references have been replaced.

@ladyada the relicensed piolib files means it's probably worth updating the vendored versions in https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_rp1pio, neopixel, & piomatter so that those overall projects can also be licensed BSD-3-Clause rather than GPL-2. I'd offer to do it but I don't have any hardware for testing.

jepler avatar Apr 29 '25 06:04 jepler

t0tes - @makermelissa when you're back this week plz add to your list :)

ladyada avatar Apr 29 '25 14:04 ladyada