Skip to content

Commit dc0fd31

Browse files
authored
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
1 parent 9785cb9 commit dc0fd31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@
4646
],
4747
"exclude": [".github", "extras", "docs", "assets"],
4848
"frameworks": "arduino",
49+
"libCompatMode": "strict",
4950
"platforms": ["espressif8266", "espressif32"]
5051
}

0 commit comments

Comments
 (0)