platforms

Optional | Type: String or Array

A list with compatible development platforms. The available platform name are defined in Development Platforms section.

Example

"platforms": ["atmelavr", "espressif8266"]

If the library is compatible with the all platforms, then do not declare this field or use * symbol:

"platforms": "*"

Note

PlatformIO does not check platforms for compatibility in default mode. See Compatibility Mode for details. If you need a strict checking for compatible platforms for a library, please set libCompatMode to strict.