mirror of
https://github.com/crankyoldgit/IRremoteESP8266.git
synced 2026-01-12 00:05:10 +08:00
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:
@@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user