Open BlueAndi opened 9 months ago
You might be able to solve that warning by adding a platformio.ini to your project that specifies pololu/PushButton as a requirement. Do you know if there's anything we could add to this library that makes PlatformIO work better?
PlatformIO recommends using a library.json file (details: https://docs.platformio.org/en/stable/manifests/library-json/index.html#library-json ) which can be additional available in the repository. So you can keep the Arduino libaray.properties in parallel.
The PlatformIO team confirmed that in case both files are available, PIO will use the library.json instead (see https://community.platformio.org/t/library-json-or-library-properties-which-one-takes-precedence/9063/4 )
Inside the library.json you can specify exactly the requirements for the dependencies: https://docs.platformio.org/en/stable/manifests/library-json/fields/dependencies.html
The library depends on the Pushbutton libraray, but because there are several around in PlatformIO, the PIO libraray manager complains: