Closed per1234 closed 2 years ago
library.json is PlatformIO's native library manifest file but Arduino's library.properties is also supported by PlatformIO:
library.json
library.properties
https://docs.platformio.org/en/latest/librarymanager/creating.html#creating-library
The library.json file was missing the required version field:
version
https://docs.platformio.org/en/latest/librarymanager/config.html#version
Although it could be added, experience with other libraries (https://github.com/arduino-libraries/NTPClient/issues/152) indicates that it is not really realistic to expect two manifest files to be properly maintained.
Since the Arduino development software and the Arduino Library Manager require library.properties, if there is to be only one then it must be library.properties that is kept and library.json that is removed.
library.json
is PlatformIO's native library manifest file but Arduino'slibrary.properties
is also supported by PlatformIO:https://docs.platformio.org/en/latest/librarymanager/creating.html#creating-library
The
library.json
file was missing the requiredversion
field:https://docs.platformio.org/en/latest/librarymanager/config.html#version
Although it could be added, experience with other libraries (https://github.com/arduino-libraries/NTPClient/issues/152) indicates that it is not really realistic to expect two manifest files to be properly maintained.
Since the Arduino development software and the Arduino Library Manager require
library.properties
, if there is to be only one then it must belibrary.properties
that is kept andlibrary.json
that is removed.