PlatformIO Community

Please register a new library

Please add new library to the registry: GitHub - cybergibbons/DS2482_OneWire: A OneWire library using the DS2482 I2C->1-Wire bridge</ti.

This is to support DS2482 - a bridge from I2C to 1-Wire interface.

I think @ivankravets can do that.

1 Like

The library owner or someone else can publish the library using pio package publish β€” PlatformIO latest documentation command.

I have the same problem, the docs are not very useful. There should some concrete examples how to do, e.g. for a GitHub repository.

Could you check this docs Creating Library β€” PlatformIO latest documentation ?

In a case with GitHub - cybergibbons/DS2482_OneWire: A OneWire library using the DS2482 I2C->1-Wire bridge</ti, you just need to add library.json, declare manifest, and publish to the registry using pio package publish β€” PlatformIO latest documentation

I know how to prepare the library for publishing it, that is not my question.
The problem is your documentation about publishing libraries. After you changed the procedure it is absolut confusing.
what did you mean with pio package publish [<source directory, tar.gz or zip>] [OPTIONS] ?
I have following library at GitHub - sstaub/TickTwo: Ticker library for ESP and mbed based Arduino boards ,what is the command to publishing it?

These are optional arguments and flags. They also are documented. If you don’t specify a source of a library, the current working directory will be used.

The options are documented, but not the format of the <source directory, tar.gz or zip>
is the directory a path or what else, what must included in the zip or tar.gz file, the complete library … question over questions. I tried to get an answer for this for many month, no luck. Please give us concrete examples in the docs.