library.json specifies libCompatMode strict (#2111)

This PR is based on platformio's documentation. I will test it next week.

This PR instructs platformio to pay attention to both the `frameworks` AND `platforms` specification before trying to compile IRremoteESP8266.

I would've thought that platformio would do this check by default, but apparently not. By default it only checks `frameworks`. Source: https://docs.platformio.org/en/latest/manifests/library-json/fields/platforms.html

The documentation for libCompatMode can be found here: https://docs.platformio.org/en/latest/manifests/library-json/fields/build/libcompatmode.html#manifest-library-json-build-libcompatmode
This commit is contained in:
Rob Deutsch
2024-06-26 18:04:00 +10:00
committed by GitHub
parent 9785cb910d
commit dc0fd31706

View File

@@ -46,5 +46,6 @@
], ],
"exclude": [".github", "extras", "docs", "assets"], "exclude": [".github", "extras", "docs", "assets"],
"frameworks": "arduino", "frameworks": "arduino",
"libCompatMode": "strict",
"platforms": ["espressif8266", "espressif32"] "platforms": ["espressif8266", "espressif32"]
} }